Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added author to the article and an h-card to the footer #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions layouts/partials/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{{ if .Title }}
<header class="article-header">
<h1 class="article-title p-name" itemprop="name">{{ .Title }}</h1>
<a class="u-author">/</a>
</header>
{{ end }}
<div class="article-meta">
Expand Down
6 changes: 3 additions & 3 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
&copy; {{ now.Format "2006"}} {{ or .Site.Author.name .Site.Title }}
<div id="footer-info" class="inner h-card">
<span rel="license"> &copy; {{ now.Format "2006"}}</span> <span class="p-name"> {{ or .Site.Author.name .Site.Title }}</span>
<br />
Powered by <a href="https://gohugo.io" target="_blank">Hugo</a> with theme <a href="https://github.com/carsonip/hugo-theme-minos" target="_blank">Minos</a>
<a class="u-uid url" href="{{ .Site.BaseURL }} target="_blank">href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> with theme <a href="https://github.com/carsonip/hugo-theme-minos" target="_blank">Minos</a>
</div>
</div>
{{ template "_internal/google_analytics_async.html" . }}
Expand Down