Inline the submodule of themes/hermit with a git-subtree
Add 'themes/hermit/' from commit '56843f347a642324970ba30d58f23c64e037bb7c'
git-subtree-dir: themes/hermit
git-subtree-mainline: 7844fa5501c271b1b2b5ece2cb19f3202cd6e5ad
git-subtree-split: 56843f347a
This commit is contained in:
11
themes/hermit/layouts/partials/related-posts.html
Normal file
11
themes/hermit/layouts/partials/related-posts.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{- $related := .Site.RegularPages.Related . | first 5 }}
|
||||
{{ with $related }}
|
||||
<div class="related-posts thin">
|
||||
<h2>{{ i18n "seeAlso" }}</h2>
|
||||
<ul>
|
||||
{{ range . }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end -}}
|
||||
Reference in New Issue
Block a user