more meta tag improvements and refined some page layouts

This commit is contained in:
James Tombleson 2022-10-19 06:46:00 -07:00
parent 1b363725fd
commit 9b26b0aa5d
7 changed files with 31 additions and 10 deletions

View File

@ -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>

View File

@ -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>

View File

@ -5,4 +5,4 @@
<link rel="icon" href="{{ .Site.BaseURL }}favicon.svg">
<link rel="mask-icon" href="{{ .Site.BaseURL }}favicon.svg" color="#000000">
<link rel="apple-touch-icon" href="{{ .Site.BaseURL }}apple-touch-icon.svg">
<link rel="apple-touch-icon" href="{{ .Site.BaseURL }}apple-touch-icon.svg">

View File

@ -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">

View File

@ -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>

View File

@ -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>

View File

@ -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>