-
+
+ {{ if $show_breadcrumb }} + {{ partial "components/breadcrumb" $current_page }} + {{ end }} +
-
- {{ if $show_breadcrumb }} - {{ partial "components/breadcrumb" $current_page }} - {{ end }} -
+ {{/* Cover image */}} + {{ $cover_image := partial "functions/get_featured_image.html" . }} + {{ if $cover_image }} +
+ {{ $alt := (.Params.image.caption | default "") | plainify }} + {{ $cover_image = $cover_image.Fit "1800x310 webp" }} + {{$alt}} + {{ with (.Params.image.alt_text | default .Params.image.caption) }} + {{ . | markdownify | emojify }} + {{ end }} +
+ {{end}} - {{/* Cover image */}} - {{ $cover_image := partial "functions/get_featured_image.html" . }} - {{ if $cover_image }} -
- {{ $alt := (.Params.image.caption | default "") | plainify }} - {{ $cover_image = $cover_image.Fit "1800x310 webp" }} - {{$alt}} - {{ with (.Params.image.alt_text | default .Params.image.caption) }} - {{ . | markdownify | emojify }} - {{ end }} -
- {{end}} +
+ {{/* Fallback to filename as title (useful for default Obsidian note structure) */}} +

{{ cond (ne .File nil) (.Title | default (title .File.ContentBaseName)) .Title }}

-
- {{/* Fallback to filename as title (useful for default Obsidian note structure) */}} -

{{ cond (ne .File nil) (.Title | default (title .File.ContentBaseName)) .Title }}

+
-
- - {{/* Only auto-list page children if _index has no content (or if it isn't a .File?) */}} - {{ if and (not .Content) (gt (len $.Page.Pages) 0) }} - + {{/* Only auto-list page children if _index has no content (or if it isn't a .File?) */}} + {{ if and (not .Content) (gt (len $.Page.Pages) 0) }} + + {{end}} - {{ .Content }} + {{ .Content }} -
+
- {{ partial "components/feedback" . }} + {{ partial "components/feedback" . }} - {{ partial "tags.html" . }} + {{ partial "tags.html" . }} - {{/* Show next/previous pages by default. */}} - {{ if ne .Params.pager false }} -
- {{ partial "components/pager" . }} -
- {{ end }} + {{/* Show next/previous pages by default. */}} + {{ if ne .Params.pager false }} +
+ {{ partial "components/pager" . }}
+ {{ end }} +
-
+ {{ partial "page_related" . }} + {{ partial "site_footer" . }}