mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Support section icons
This commit is contained in:
parent
c40be2bcd7
commit
fddb7ab0e4
@ -13,6 +13,7 @@
|
|||||||
</h1>
|
</h1>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<h1>
|
<h1>
|
||||||
|
{{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
||||||
{{ .Title | markdownify }}
|
{{ .Title | markdownify }}
|
||||||
<span class="rss-link">
|
<span class="rss-link">
|
||||||
{{ with .OutputFormats.Get "rss" }}
|
{{ with .OutputFormats.Get "rss" }}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<div class="post">
|
<div class="post">
|
||||||
<h2 class="post-title">
|
<h2 class="post-title">
|
||||||
|
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
||||||
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user