more meta tag improvements and refined some page layouts
This commit is contained in:
parent
1b363725fd
commit
9b26b0aa5d
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
{{ partial "header.html"}}
|
||||
{{ partial "header.meta.html" .}}
|
||||
{{ partial "script.menu.html"}}
|
||||
{{ partial "script.menu.html" }}
|
||||
<title>{{ .Title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -11,9 +11,7 @@
|
||||
{{ partial "hero.html" . }}
|
||||
<div class="container">
|
||||
<br>
|
||||
Recipes
|
||||
<div class="columns">
|
||||
|
||||
<div class="column">
|
||||
<img src="{{ .Site.BaseURL }}{{.File.Dir}}thumbnail.png" alt="Missing thumbnail :(" />
|
||||
</div>
|
||||
|
@ -5,10 +5,10 @@
|
||||
<meta name="og:description" content="{{ .Site.Title }}">
|
||||
<meta name="og:title" content="{{ .Title }}">
|
||||
<meta name="og:url" content="{{ .Permalink }}">
|
||||
<meta name="og:image" content="{{ .Site.BaseURL }}meta-thumb.png">
|
||||
<meta name="og:image" content="{{ .Permalink }}thumbnail.png">
|
||||
|
||||
<meta name="twitter:card" charset="summary_large_image">
|
||||
<meta name="twitter:title" content="{{ .Title }}">
|
||||
<meta name="twitter:description" content="{{ .Site.Title }}">
|
||||
<meta name="twitter:url" content="{{ .Permalink }}">
|
||||
<meta name="twitter:image" content="{{ .Site.BaseURL }}meta-thumb.png">
|
||||
<meta name="twitter:image" content="{{ .Permalink }}thumbnail.png">
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<div id="navbarBasicExample" class="navbar-menu">
|
||||
<div class="navbar-start">
|
||||
<a class="navbar-item" href="{{ .Site.BaseURL }}recipies">Recipes</a>
|
||||
<a class="navbar-item" href="{{ .Site.BaseURL }}recipes">Recipes</a>
|
||||
<a class="navbar-item" href="{{ .Site.BaseURL }}tags">Tags</a>
|
||||
<a class="navbar-item" href="{{ .Site.BaseURL }}categories">Categories</a>
|
||||
<a class="navbar-item" href="{{ .Site.BaseURL }}recipies/index.xml">RSS Feed</a>
|
||||
|
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Page.Language | default " en" }}">
|
||||
<head>
|
||||
{{ partial "header.html"}}
|
||||
{{ partial "header.meta.html" . }}
|
||||
{{ partial "script.menu.html" }}
|
||||
<title>{{ .Title }}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{ partial "navbar" . }}
|
||||
{{ partial "hero.html" . }}
|
||||
<div class="container">
|
||||
<br>
|
||||
|
||||
<div class="buttons">
|
||||
{{ range .Data.Pages }}
|
||||
<button class="button">
|
||||
<a href="{{.RelPermalink}}">{{ .Title }}</a>
|
||||
</button>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
@ -1,10 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Page.Language | default " en" }}">
|
||||
|
||||
<head>
|
||||
{{ partial "header.html"}}
|
||||
{{ partial "header.meta.html" .}}
|
||||
{{ partial "script.menu.html"}}
|
||||
{{ partial "header.meta.html" . }}
|
||||
{{ partial "script.menu.html" }}
|
||||
<title>{{ .Title }}</title>
|
||||
</head>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user