Files
hugo/layouts/phdthesis/single.html
T

35 lines
770 B
HTML

{{ 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 }}