site/templates/blogpost.html

26 lines
738 B
HTML
Raw Normal View History

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