Skip to content

Commit

Permalink
Add support for copyright footer
Browse files Browse the repository at this point in the history
  • Loading branch information
questionlp committed Dec 29, 2023
1 parent 4330a75 commit 8fde413
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ title: Your awesome title
author:
name: GitHub User
email: your-email@domain.com
description: > # this means to ignore newlines until "show_excerpts:"
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "/minima-plex"

show_excerpts: true # set to true to show excerpts on the homepage
copyright: All rights reserved.

favicon: "/assets/images/favicon.png"
favicon_svg: "/assets/images/favicon.svg"
Expand Down
6 changes: 6 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
{%- include social.html -%}
</div>

{%- if site.copyright %}
<div class="copyright">
<p>{{ site.copyright | markdownify }}</p>
</div>
{%- endif %}

</div>

</footer>
5 changes: 5 additions & 0 deletions _sass/minima-plex/custom-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ div.post-tags {
font-size: 95%;
padding: 1.5rem 0 0;
}

.site-footer .copyright {
font-size: 90%;
margin-top: 1rem;
}
2 changes: 1 addition & 1 deletion minima-plex.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "minima-plex"
spec.version = "0.3.2"
spec.version = "0.3.3"
spec.authors = ["Linh Pham", "Joel Glovier"]
spec.email = ["dev@wwdt.me", "jglovier@github.com"]

Expand Down

0 comments on commit 8fde413

Please sign in to comment.