mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 16:05:31 -04:00
global header/navbar on all pages like a grown-up website (#17)
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
<footer>
|
||||
<div id="copyright">Posts licensed under <a class="no-underline" href="https://creativecommons.org/licenses/by/4.0/" title="Creative Commons Attribution 4.0 International" target="_blank" rel="noopener noreferrer nofollow">CC-BY-4.0</a>, <a class="no-underline" href="{{ .Site.Params.wayback }}" title="View Old Versions on Wayback Machine" id="wayback" target="_blank" rel="noopener noreferrer nofollow">{{ .Site.Params.copyrightFirstYear }} –</a> {{ now.Format "2006" }}.</div>
|
||||
<div id="panda"><a class="no-underline" href="https://nationalzoo.si.edu/webcams/panda-cam" title="Live Panda Party!!!11" target="_blank" rel="noopener noreferrer nofollow"><span>🐼</span></a></div>
|
||||
<div id="poweredby"><a class="no-underline" href="https://gohugo.io/" title="Powered by Hugo" id="hugo" target="_blank" rel="noopener noreferrer nofollow">Powered by Hugo.</a> <a class="no-underline" href="{{ .Site.Params.gitRepo }}" title="View Source on GitHub" id="source" target="_blank" rel="noopener noreferrer">View source.</a></div>
|
||||
</footer>
|
@@ -1,14 +0,0 @@
|
||||
<header>
|
||||
<nav>
|
||||
<a class="no-underline" href="{{ .Site.BaseURL }}" id="logo" title="{{ .Site.Title }}" aria-label="{{ .Site.Title }}">
|
||||
{{ partial "logo.html" . }}
|
||||
<span id="name">{{ .Site.Title }}</span>
|
||||
</a>
|
||||
<ul>
|
||||
<li><a class="no-underline" href="{{ .Site.BaseURL }}" title="Home">🏠</a></li>
|
||||
<li><a class="no-underline" href="{{ "notes/" | absURL }}" title="Notes">📝</a></li>
|
||||
<li><a class="no-underline" href="https://github.com/{{ .Site.Author.github }}" title="GitHub" target="_blank" rel="me noopener noreferrer">👨‍💻</a></li>
|
||||
<li><a class="no-underline" href="mailto:jake@jarv.is" title="Email Me">💌</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
@@ -1,3 +1,8 @@
|
||||
<footer>
|
||||
<div id="copyright">Content licensed under <a class="no-underline" href="https://creativecommons.org/licenses/by/4.0/" title="Creative Commons Attribution 4.0 International" target="_blank" rel="noopener noreferrer nofollow">CC-BY-4.0</a>, <a class="no-underline" href="{{ .Site.Params.wayback }}" title="View Old Versions on Wayback Machine" id="wayback" target="_blank" rel="noopener noreferrer nofollow">{{ .Site.Params.copyrightFirstYear }} –</a> {{ now.Format "2006" }}.</div>
|
||||
<div id="panda"><a class="no-underline" href="https://nationalzoo.si.edu/webcams/panda-cam" title="Live Panda Party!!!11" target="_blank" rel="noopener noreferrer nofollow"><span>🐼</span></a></div>
|
||||
<div id="poweredby"><a class="no-underline" href="https://gohugo.io/" title="Powered by Hugo" id="hugo" target="_blank" rel="noopener noreferrer nofollow">Powered by Hugo.</a> <a class="no-underline" href="{{ .Site.Params.gitRepo }}" title="View Source on GitHub" id="source" target="_blank" rel="noopener noreferrer">View source.</a></div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@@ -34,4 +34,18 @@
|
||||
{{ partial "schema-person.html" . }}
|
||||
{{ end }}
|
||||
</head>
|
||||
<body id="{{ .Type }}">
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<a class="no-underline" href="{{ .Site.BaseURL }}" id="logo" rel="me author" title="{{ .Site.Title }}" aria-label="{{ .Site.Title }}">
|
||||
{{ partial "logo.html" . }}
|
||||
<h1 id="name">{{ .Site.Title }}</h1>
|
||||
</a>
|
||||
<ul>
|
||||
<li><a class="no-underline" href="{{ .Site.BaseURL }}" title="Home">🏠</a></li>
|
||||
<li><a class="no-underline" href="{{ "notes/" | absURL }}" title="Notes">📝</a></li>
|
||||
<li><a class="no-underline" href="https://github.com/{{ .Site.Author.github }}" title="GitHub" target="_blank" rel="me noopener noreferrer">👨‍💻</a></li>
|
||||
<li><a class="no-underline" href="mailto:jake@jarv.is" title="Email Me">💌</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
@@ -29,9 +29,17 @@
|
||||
"image": {
|
||||
"@type": "ImageObject",
|
||||
"url": {{ "me_large.jpg" | absURL }},
|
||||
"width": "1000",
|
||||
"height": "1000"
|
||||
}
|
||||
"width": "1200",
|
||||
"height": "1200"
|
||||
},
|
||||
"sameAs": [
|
||||
{{ .Site.BaseURL }},
|
||||
{{ printf "%s%s" "https://github.com/" .Site.Author.github }},
|
||||
{{ printf "%s%s" "https://twitter.com/" .Site.Author.twitter }},
|
||||
{{ printf "%s%s" "https://www.facebook.com/" .Site.Author.facebook }},
|
||||
{{ printf "%s%s%s" "https://www.linkedin.com/in/" .Site.Author.linkedin "/" }},
|
||||
{{ printf "%s%s" "https://" .Site.Author.mastodon }}
|
||||
]
|
||||
},
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
|
@@ -9,15 +9,16 @@
|
||||
"image": {
|
||||
"@type": "ImageObject",
|
||||
"url": {{ "me_large.jpg" | absURL }},
|
||||
"width": "1000",
|
||||
"height": "1000"
|
||||
"width": "1200",
|
||||
"height": "1200"
|
||||
},
|
||||
"sameAs": [
|
||||
{{ .Site.BaseURL }},
|
||||
"https://github.com/{{ .Site.Author.github }}",
|
||||
"https://twitter.com/{{ .Site.Author.twitter }}",
|
||||
"https://www.facebook.com/{{ .Site.Author.facebook }}",
|
||||
"https://www.linkedin.com/in/{{ .Site.Author.linkedin }}/"
|
||||
{{ printf "%s%s" "https://github.com/" .Site.Author.github }},
|
||||
{{ printf "%s%s" "https://twitter.com/" .Site.Author.twitter }},
|
||||
{{ printf "%s%s" "https://www.facebook.com/" .Site.Author.facebook }},
|
||||
{{ printf "%s%s%s" "https://www.linkedin.com/in/" .Site.Author.linkedin "/" }},
|
||||
{{ printf "%s%s" "https://" .Site.Author.mastodon }}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user