Compare commits

..

No commits in common. "ba844bf59a34a28d6dc557cb361327231c1d5bfb" and "ab951ced605e6f5cb0e424733745ff9078b787ef" have entirely different histories.

8 changed files with 6 additions and 69 deletions

View File

@ -1,7 +1,7 @@
baseURL = "http://example.org/" baseURL = "http://example.org/"
languageCode = "en-us" languageCode = "en-us"
title = "Semantic IndieWeb Theme" title = "Semantic IndieWeb Theme"
copyright = "Copyright © 2019, Copyright Owner Name" copyright = "Copyright © 2019, Copyright Owner Name | Built with [Hugo](https://gohugo.io/)"
theme = "semantic-indieweb" theme = "semantic-indieweb"
paginate = 5 paginate = 5
@ -10,7 +10,6 @@ paginate = 5
[params] [params]
subtitle = "A theme with no CSS and only basic layouts" subtitle = "A theme with no CSS and only basic layouts"
builtWith = "Built with [Hugo](https://gohugo.io/)"
homepageSectionTitle = "What's New" homepageSectionTitle = "What's New"
mainSections = [ "posts" ] mainSections = [ "posts" ]

View File

@ -23,7 +23,7 @@
<!-- Code that all your templates share, like a header --> <!-- Code that all your templates share, like a header -->
{{ partial "header.html" . }} {{ partial "header.html" . }}
{{- end }} {{- end }}
<nav class="site-menu"> <nav>
{{ block "site-menu" . -}} {{ block "site-menu" . -}}
{{ partial "site-menu.html" . }} {{ partial "site-menu.html" . }}
{{- end }} {{- end }}

View File

@ -1,6 +1,3 @@
{{ with .Site.Copyright }} {{ with .Site.Copyright }}
<p class="copyright">{{ . | markdownify }}</p> <p class="copyright">{{ . | markdownify }}</p>
{{ end }}
{{ with .Site.Params.BuiltWith }}
<p class="built-with">{{ . | markdownify }}</p>
{{ end }} {{ end }}

View File

@ -1,6 +1,6 @@
<hgroup class="site-header"> <hgroup>
<h1>{{.Site.Title}}</h1> <h1>{{.Site.Title}}</h1>
{{- if .Site.Params.Subtitle }} {{- if .Site.Params.Subtitle }}
<h2>{{.Site.Params.Subtitle}}</h2> <h2 class="subtitle">{{.Site.Params.Subtitle}}</h2>
{{- end }} {{- end }}
</hgroup> </hgroup>

View File

@ -1,4 +1,4 @@
<nav class="paginator"> <nav>
<ul> <ul>
<li> <li>
{{if .HasPrev}} {{if .HasPrev}}

View File

@ -1,5 +1,5 @@
{{ if not .Params.Menu }} {{ if not .Params.Menu }}
<nav class="paginator"> <nav>
<ul> <ul>
<li> <li>
{{ if .NextInSection }} {{ if .NextInSection }}

View File

@ -7,24 +7,3 @@
div.author-card-content { div.author-card-content {
flex-grow: 1; flex-grow: 1;
} }
nav.site-menu ul {
display:flex;
flex-wrap: wrap;
justify-content: left;
list-style-type: none;
margin: 0;
padding: 0;
}
nav.site-menu ul li {
padding: 0.5em 0.5em 0.5em 0.5em;
}
nav.paginator ul {
display: flex;
justify-content: space-between;
list-style-type: none;
padding-inline-start: 1em;
padding-inline-end: 1em;
}

View File

@ -1,22 +1,3 @@
/* Styles for site header */
hgroup.site-header {
border-top: double;
border-bottom: thin solid;
margin-bottom: 0.5em;
}
hgroup.site-header h1 {
margin: 0;
}
hgroup.site-header h2 {
font-weight: normal;
font-size: 1em;
font-style: italic;
padding-left: 0.5em;
margin: 0;
}
img.u-photo { img.u-photo {
max-width: 60px; max-width: 60px;
padding: 0.5em; padding: 0.5em;
@ -24,23 +5,4 @@ img.u-photo {
.glyph { .glyph {
font-size: 1.25em; font-size: 1.25em;
}
nav.site-menu {
border-top: thin solid;
border-bottom: double;
}
/* Styles for site footer */
p.copyright {
border-top: thin solid;
font-size: 0.8em;
text-align: center;
margin: 0;
}
p.built-with {
text-align: center;
font-size: 0.8em;
margin: 0;
} }