Skip to content

Commit

Permalink
Make copyright notice year updatable on each rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
pvzhelnov committed Feb 3, 2024
1 parent 88a38fe commit bccf595
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ tiktok_username: the_trash_scientist

# Footer
footer_left: "Website template Carte Noire made with <i class=\"fa fa-heart\"></i> by <a href=\"https://twitter.com/_JacobTomlinson\">Jacob Tomlinson</a>—Licensed under <a href=\"https://raw.githubusercontent.com/jacobtomlinson/carte-noire/gh-pages/LICENSE\">GPL v3</a>."
footer_right: "<i class=\"fas fa-graduation-cap\"></i> <a href=\"https://doi.org/10.31222/osf.io/y2nrb\">Methods</a> | &lt;/&gt; on <a href=\"https://github.com/drzhelnov/zheln.github.io\">GitHub</a> &nbsp;<i class=\"fa fa-github-alt\"></i><br />&copy; <a href=\"https://zheln.com\">Zheln</a>, 2020&ndash;2023 | <i class=\"far fa-heart\"></i> <a href=\"https://github.com/sponsors/drzhelnov\">Support</a>"
footer_right:
pre_copy: "<i class=\"fas fa-graduation-cap\"></i> <a href=\"https://doi.org/10.31222/osf.io/y2nrb\">Methods</a> | &lt;/&gt; on <a href=\"https://github.com/drzhelnov/zheln.github.io\">GitHub</a> &nbsp;<i class=\"fa fa-github-alt\"></i><br />"
post_copy: " | <i class=\"far fa-heart\"></i> <a href=\"https://github.com/sponsors/drzhelnov\">Support</a>"

# Build settings
markdown: kramdown
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ site.footer_left }}
</div>
<div class="col-md-6" id="footer_right">
{{ site.footer_right }}
{{ site.footer_right.pre_copy }}&copy; <a href="{{ site.url }}">{{ site.title }}</a>, 2020&ndash;{{ site.time | date: '%y' }}{{ site.footer_right.post_copy }}
</div>
</div>

Expand Down

0 comments on commit bccf595

Please sign in to comment.