add term
This commit is contained in:
.github/workflows
config.tomlcontent
blog
2024-03-31-blog.md2024-04-01-layout.md2024-04-09-ai.md2024-04-10-yui.md2024-04-11-world.md2024-04-12-setting.md
card
novel
layouts
static
@ -8,6 +8,7 @@
|
||||
{{ range .Data.Pages.Reverse }}
|
||||
<li class="blog-list-first">
|
||||
<a href="{{.Permalink}}">{{.Title}}</a> <span class="blog-date">{{ .Date.Local.Format "2006-01-02" }}</span>
|
||||
{{ with .Params.tags }}{{ range . }}<button class="tag"><a href="/tags/{{ . }}/">{{ . }}</a>{{ end }}</button>{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
@ -15,6 +16,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer" . }}
|
||||
{{ partial "footer" . }}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -5,11 +5,17 @@
|
||||
<article>
|
||||
<div class="content">
|
||||
{{ if ne .Lastmod .Date }}<div class="post-time-date">{{ .Lastmod.Format "2006-01-02" }}</div>{{ end }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!--
|
||||
{{ $s := path.Dir (.Permalink | relURL) }}
|
||||
{{ $o := index (split $s "/") 1 }}
|
||||
<div class="pager"><a href="{{ printf "/%s" $o }}">{{ $o }}</a></div>
|
||||
-->
|
||||
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user