hugo-theme-relearn/exampleSite/layouts/releasenotes/views/article.html

23 lines
816 B
HTML
Raw Normal View History

2024-09-14 23:23:35 +00:00
<article class="default">
<header class="headline">
{{- partial "content-header.html" . }}
</header>
2024-09-14 23:23:35 +00:00
{{ partial "heading-pre.html" . }}{{ partial "heading.html" . }}{{ partial "heading-post.html" . }}
2024-09-18 18:36:42 +00:00
{{- $page := .}}
2024-09-29 21:54:17 +00:00
{{- $path := replace .Path "introduction/releasenotes" "introduction/changelog" }}
2024-09-18 18:36:42 +00:00
{{- with or
(.GetPage $path)
(.GetPage (strings.TrimRight "/" $path))
}}
See the {{ partial "partials/shortcodes/link.html" (dict "page" $page "url" .Path "content" "changelog of this version") }} for a detailed list of changes.
<hr>
{{- end }}
2024-09-14 23:23:35 +00:00
2024-09-29 21:54:17 +00:00
{{ partial "partials/shortcodes/include.html" (dict "page" . "file" "introduction/releasenotes/legend") | .RenderString }}
2024-09-14 23:23:35 +00:00
{{ partial "article-content.html" . }}
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>