Rework Notes page: balanced two columns, filter, bibliography section, drop prev/next links
This commit is contained in:
1 parent
0699938cd5
commit
2490e8bbb1
10 files changed
+364
-30
No files matched your search
@@ -0,0 +1,34 @@
|
||||
{{ define "content" -}}
|
||||
<article class="post">
|
||||
<!-- post-header -->
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ .Title | title }}</h1>
|
||||
</header>
|
||||
|
||||
<!-- TOC -->
|
||||
{{- partial "post/toc.html" . -}}
|
||||
|
||||
<!-- Content -->
|
||||
<div class="post-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
<!-- Backlinks -->
|
||||
{{ partial "backlinks" . }}
|
||||
|
||||
<footer class="post-footer">
|
||||
{{ with .Params.tags -}}
|
||||
<div class="post-tags">
|
||||
{{ range . -}}
|
||||
<a href="{{ "tags" | relLangURL }}/{{ . | urlize }}/">{{ . }}</a>
|
||||
{{ end -}}
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
||||
<!-- Post Pagination -->
|
||||
</footer>
|
||||
</article>
|
||||
<div id="comments">
|
||||
{{ partial "comments.html" $ }}
|
||||
</div>
|
||||
{{- end }}
|
||||
Reference in new issue
Block a user