site/templates/blogpost.html

26 lines
738 B
HTML

{{ define "title" }}
<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 }}" />
<meta property="og:site_name" content="{{ trans "blog" "title" }}" />
<!-- Description -->
<meta name="description" content="{{ .Title }} - {{ trans "blog" "title" }}" />
<meta name="author" content="{{ trans "header" "name" }}">
{{ end }}
{{ define "content" }}
{{ .BodyHTML }}
<hr />
{{ end }}