xesite/templates/blogpost.html

27 lines
783 B
HTML
Raw Normal View History

{{ define "title" }}
2018-10-31 23:10:04 +00:00
<title>{{ .Title }} - {{ trans "header" "name" }}</title>
<!-- Twitter -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@theprincessxena" />
<meta name="twitter:title" content="{{ .Title }}" />
<meta name="twitter:description" content="Posted on {{ .Date }}" />
<!-- Facebook -->
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ .Title }}" />
2018-10-31 23:10:04 +00:00
<meta property="og:site_name" content="{{ trans "blog" "title" }}" />
<!-- Description -->
2018-10-31 23:10:04 +00:00
<meta name="description" content="{{ .Title }} - {{ trans "blog" "title" }}" />
<meta name="author" content="{{ trans "header" "name" }}">
{{ end }}
{{ define "content" }}
{{ .BodyHTML }}
<hr />
2018-10-31 23:10:04 +00:00
<i>{{ trans "blog" "disclaimer" .Date }}</i>
{{ end }}