mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-27 16:15:32 +00:00
- featured image: Enable focal point to be set by user in front matter - pages: Featured image responsively transforms to split view on XL monitors - pages: Refactor page title, metadata, and image into one reusable module - archetypes: Migrate to folder approach and update image options - post widget: Refactor detailed layout to use featured image - accessibility: Add alt tag to header and featured image - accessibility: Improve text contrast based on Lighthouse audit - publication: Entirely deprecate old `image` front matter option - docs: Remove header image option (was never a documented feature) - project widget: Add `noopener` to external links See #708 Fix #728 Fix #704 Fix #705 See #718
42 lines
941 B
HTML
42 lines
941 B
HTML
{{ partial "header.html" . }}
|
|
{{ partial "navbar.html" . }}
|
|
|
|
<article class="article" itemscope itemtype="http://schema.org/Article">
|
|
|
|
{{ partial "page_header.html" . }}
|
|
|
|
<div class="article-container">
|
|
|
|
<div class="article-style" itemprop="articleBody">
|
|
{{ .Content }}
|
|
</div>
|
|
|
|
{{ partial "tags.html" . }}
|
|
|
|
{{ $related := .Site.RegularPages.Related . | first 5 }}
|
|
{{ with $related }}
|
|
<div class="article-widget">
|
|
<div class="hr-light"></div>
|
|
<h3>{{ i18n "related" }}</h3>
|
|
<ul>
|
|
{{ range . }}
|
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
{{ end }}
|
|
|
|
{{ if .Site.Params.section_pager }}
|
|
<div class="article-widget">
|
|
{{ partial "section_pager.html" . }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
{{ partial "comments.html" . }}
|
|
|
|
</div>
|
|
</article>
|
|
|
|
{{ partial "footer_container.html" . }}
|
|
{{ partial "footer.html" . }}
|