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

@ -11,9 +11,7 @@
{{ partial "hero.html" . }} {{ partial "hero.html" . }}
<div class="container"> <div class="container">
<br> <br>
Recipes
<div class="columns"> <div class="columns">
<div class="column"> <div class="column">
<img src="{{ .Site.BaseURL }}{{.File.Dir}}thumbnail.png" alt="Missing thumbnail :(" /> <img src="{{ .Site.BaseURL }}{{.File.Dir}}thumbnail.png" alt="Missing thumbnail :(" />
</div> </div>

View File

@ -5,10 +5,10 @@
<meta name="og:description" content="{{ .Site.Title }}"> <meta name="og:description" content="{{ .Site.Title }}">
<meta name="og:title" content="{{ .Title }}"> <meta name="og:title" content="{{ .Title }}">
<meta name="og:url" content="{{ .Permalink }}"> <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:card" charset="summary_large_image">
<meta name="twitter:title" content="{{ .Title }}"> <meta name="twitter:title" content="{{ .Title }}">
<meta name="twitter:description" content="{{ .Site.Title }}"> <meta name="twitter:description" content="{{ .Site.Title }}">
<meta name="twitter:url" content="{{ .Permalink }}"> <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 id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start"> <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 }}tags">Tags</a>
<a class="navbar-item" href="{{ .Site.BaseURL }}categories">Categories</a> <a class="navbar-item" href="{{ .Site.BaseURL }}categories">Categories</a>
<a class="navbar-item" href="{{ .Site.BaseURL }}recipies/index.xml">RSS Feed</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,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ .Page.Language | default " en" }}"> <html lang="{{ .Page.Language | default " en" }}">
<head> <head>
{{ partial "header.html"}} {{ partial "header.html"}}
{{ partial "header.meta.html" . }} {{ partial "header.meta.html" . }}