mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
parent
6ce4cdad32
commit
f0cddf7e42
@ -1,6 +1,9 @@
|
||||
{{ define "main" }}
|
||||
<div class="post-title">
|
||||
<h1>{{ .Title | markdownify }}</h1>
|
||||
<h1>
|
||||
{{ .Title | markdownify }}
|
||||
{{ if .Draft }}{{ partial "icon.html" "edit" }}{{ end }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
{{ partial "post-metadata.html" . }}
|
||||
|
@ -2,6 +2,7 @@
|
||||
<h2 class="post-title">
|
||||
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
||||
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||
{{ if .Draft }}{{ partial "icon.html" "edit" }}{{ end }}
|
||||
</h2>
|
||||
|
||||
{{ partial "post-metadata.html" . }}
|
||||
|
Loading…
Reference in New Issue
Block a user