35 lines
912 B
HTML
35 lines
912 B
HTML
{{ define "main" }}
|
|
<article class="h-entry article">
|
|
<a class="u-url" href="{{ .Permalink }}">
|
|
<h1 class="p-name">{{ .Title }}</h1>
|
|
{{ if .Date }}
|
|
<div>
|
|
<time class="dt-published" datetime="{{ .Date }}">{{ .Date.Format "Jan 2, 2006" }}</time>
|
|
</div>
|
|
{{ end }}
|
|
</a>
|
|
<div class="e-content">
|
|
{{ .Content }}
|
|
</div>
|
|
</article>
|
|
{{ end }}
|
|
|
|
{{ define "title" }}
|
|
{{ .Title }} | {{ .Site.Title }}
|
|
{{ end }}
|
|
|
|
{{ define "opengraph" }}
|
|
<!-- Opengraph tags -->
|
|
<meta property="og:url" content="{{ .Permalink }}">
|
|
<meta property="og:title" content="{{ .Title }}">
|
|
{{ if .Date }}
|
|
<meta property="og:type" content="article">
|
|
{{ end }}
|
|
<meta property="og:description" content="{{ .Summary }}">
|
|
<meta name="author" property="og:author" content="Ariadne Conill">
|
|
|
|
<!-- Twitter tags -->
|
|
<meta name="twitter:card" content="summary">
|
|
<meta name="twitter:site" content="@ariadneconill">
|
|
{{ end }}
|