Skip to content
Merged
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
8 changes: 8 additions & 0 deletions themes/delphi/assets/css/pages/_blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,12 @@ $blog-list-date-width: 5em;
width: 100%;
height: 100%;
}
}

.blog-license {
margin-top: 2em;

.inline-svg-icon {
padding: 0;
}
}
2 changes: 2 additions & 0 deletions themes/delphi/layouts/_default/taxonomy.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{ define "main" }}
<div class="uk-container">
<!-- Page that displays after clicking on a post's tag -->
<h1>Tagged "{{ .Data.Term }}"</h1>
{{range .Pages}}
Expand All @@ -21,4 +22,5 @@ <h2>
</div>
</article>
{{ end }}
</div>
{{ end }}
12 changes: 6 additions & 6 deletions themes/delphi/layouts/_default/terms.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{{ define "main" }}
<!-- Shows all of the site's tags -->
<div class="uk-container">
<h1>Tags</h1>
<ul>
{{ range .Data.Terms.Alphabetical }}
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> {{ .Count }}</li>
{{ end }}
</ul>
<h1>Tags</h1>
<ul>
{{ range .Data.Terms.Alphabetical }}
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> {{ .Count }}</li>
{{ end }}
</ul>
</div>
{{end}}
1 change: 1 addition & 0 deletions themes/delphi/layouts/blog/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ <h1>{{ .Title }}</h1>
{{ end }}
</div>
{{ end }}
{{ partial "blog/license.html" . }}
<hr />
{{ partial "blog/latestblogs.html" . }}
</div>
Expand Down
7 changes: 7 additions & 0 deletions themes/delphi/layouts/partials/blog/license.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div class="blog-license">
&#169; <span id="js-current-year">{{ now.Format "2006" }}</span> Delphi group authors.
Text and figures released under <a href="https://creativecommons.org/licenses/by/4.0">
CC BY 4.0 {{ partial "font-awesome.html" "brands/creative-commons"}} {{ partial "font-awesome.html" "brands/creative-commons-by"}}
</a>;
code under the <a href="https://opensource.org/licenses/MIT">MIT license</a>.
</div>