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/"
languageCode = "en-us"
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"
paginate = 5
@ -10,7 +10,6 @@ paginate = 5
[params]
subtitle = "A theme with no CSS and only basic layouts"
builtWith = "Built with [Hugo](https://gohugo.io/)"
homepageSectionTitle = "What's New"
mainSections = [ "posts" ]

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -7,24 +7,3 @@
div.author-card-content {
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 {
max-width: 60px;
padding: 0.5em;
@ -25,22 +6,3 @@ img.u-photo {
.glyph {
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;
}