mirror of https://github.com/jlelse/GoBlog
19 lines
607 B
Plaintext
19 lines
607 B
Plaintext
{{ define "title" }}
|
|
<title>{{ with .Blog.BlogStats.Title }}{{ mdtitle . }} - {{ end }}{{ mdtitle .Blog.Title }}</title>
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
|
<main>
|
|
{{ with .Blog.BlogStats.Title }}<h1>{{ mdtitle . }}</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 }} |