diff --git a/src/common/config/public/ClientConfig.ts b/src/common/config/public/ClientConfig.ts
index 23a81336..a88879c8 100644
--- a/src/common/config/public/ClientConfig.ts
+++ b/src/common/config/public/ClientConfig.ts
@@ -1056,6 +1056,25 @@ export class ClientGalleryConfig {
description: $localize`Pigallery2 uses Bootstrap 5.3 (https://getbootstrap.com/docs/5.3) for design (css, layout). In dark mode it sets 'data-bs-theme="dark"' to the to take advantage bootstrap's color modes. For theming, read more at: https://getbootstrap.com/docs/5.3/customize/color-modes/`
})
Themes: ThemesConfig = new ThemesConfig();
+ @ConfigProperty({
+ tags: {
+ name: $localize`Inline blog starts open`,
+ priority: ConfigPriority.advanced,
+ githubIssue: 711
+ },
+ description: $localize`Makes inline blog (*.md files content) to be auto open.`
+ })
+ InlineBlogStartsOpen: boolean = false;
+
+ @ConfigProperty({
+ tags: {
+ name: $localize`Top blog starts open`,
+ priority: ConfigPriority.advanced,
+ githubIssue: 711
+ },
+ description: $localize`Makes inline blog (*.md files content) to be auto open.`
+ })
+ TopBlogStartsOpen: boolean = false;
}
@SubConfigClass({tags: {client: true}, softReadonly: true})
diff --git a/src/frontend/app/ui/gallery/gallery.component.ts b/src/frontend/app/ui/gallery/gallery.component.ts
index 0bb62861..2ae046f1 100644
--- a/src/frontend/app/ui/gallery/gallery.component.ts
+++ b/src/frontend/app/ui/gallery/gallery.component.ts
@@ -32,7 +32,7 @@ export class GalleryComponent implements OnInit, OnDestroy {
public showSearchBar = false;
public showShare = false;
public showRandomPhotoBuilder = false;
- public blogOpen = false;
+ public blogOpen = Config.Gallery.TopBlogStartsOpen;
config = Config;
public isPhotoWithLocation = false;
diff --git a/src/frontend/app/ui/gallery/grid/grid.gallery.component.html b/src/frontend/app/ui/gallery/grid/grid.gallery.component.html
index 718b991b..e2fe23a2 100644
--- a/src/frontend/app/ui/gallery/grid/grid.gallery.component.html
+++ b/src/frontend/app/ui/gallery/grid/grid.gallery.component.html
@@ -19,7 +19,7 @@