mirror of https://github.com/jlelse/GoBlog
19 lines
604 B
Plaintext
19 lines
604 B
Plaintext
{{ define "title" }}
|
|
<title>{{ with .Blog.BlogStats.Title }}{{ mdtext . }} - {{ end }}{{ mdtext .Blog.Title }}</title>
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
|
<main>
|
|
{{ with .Blog.BlogStats.Title }}<h1>{{ mdtext . }}</h1>{{ end }}
|
|
{{ with .Blog.BlogStats.Description }}{{ md . }}{{ end }}
|
|
<p id="loading" data-table="{{.Data.TableUrl}}">{{ string .Blog.Lang "loading" }}</p>
|
|
<script defer src="{{ asset "js/blogstats.js" }}"></script>
|
|
</main>
|
|
{{ if .CommentsEnabled }}
|
|
{{ include "interactions" . }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ define "blogstats" }}
|
|
{{ template "base" . }}
|
|
{{ end }} |