switch to new theme due to old theme not liking newer versions. New theme seems kick-arse, however
This commit is contained in:
parent
1909ea34ea
commit
e3ac8b96f5
531 changed files with 147790 additions and 66 deletions
18
themes/story/layouts/_default/single.html
Normal file
18
themes/story/layouts/_default/single.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{{ define "title" }}{{ cond (eq .Site.Params.titlecase true) (.Title | title | markdownify) (.Title | markdownify) }}{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
<article class="center bg-white br-3 pv1 ph4 lh-copy f5 nested-links mw7">
|
||||
{{ .Content }}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
||||
{{ define "social" }}
|
||||
<meta property="og:title" content="{{ cond (eq .Site.Params.titlecase true) (.Title | title | markdownify) (.Title | markdownify) }}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:image" content="{{ default "img/default-header-img.jpg" .Params.image | absURL }}" />
|
||||
<meta property="og:description" content="{{ .Description | markdownify }}" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
<meta property="og:site_name" content="{{ cond (eq .Site.Params.titlecase true) (.Title | title | markdownify) (.Title | markdownify) }}" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:site" content="@{{ .Site.Params.twitter }}" />
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue