main
parent
5aabd4606e
commit
0ceee8ebd5
|
@ -10,6 +10,8 @@
|
||||||
<link rel="alternate" type="application/rss+xml" href="/index.xml">
|
<link rel="alternate" type="application/rss+xml" href="/index.xml">
|
||||||
<link rel="alternate" type="application/atom+xml" href="/atom.xml">
|
<link rel="alternate" type="application/atom+xml" href="/atom.xml">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
{{ block "opengraph" . }}
|
||||||
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav id="sidebar">
|
<nav id="sidebar">
|
||||||
|
|
|
@ -18,3 +18,17 @@
|
||||||
{{ define "title" }}
|
{{ define "title" }}
|
||||||
{{ .Title }} | {{ .Site.Title }}
|
{{ .Title }} | {{ .Site.Title }}
|
||||||
{{ end }}
|
{{ 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 }}">
|
||||||
|
|
||||||
|
<!-- Twitter tags -->
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:creator" content="@ariadneconill">
|
||||||
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue