Revert "Restore the year of first publication in footer"
This reverts commit 338eddb454
.
This commit is contained in:
parent
1b47c95cf6
commit
88aa81dfe5
2 changed files with 2 additions and 18 deletions
|
@ -1,8 +1,5 @@
|
||||||
# License data
|
# License data
|
||||||
|
|
||||||
# The year you first published your website, format: YYYY
|
|
||||||
first_publication_year: # e.g., 2021
|
|
||||||
|
|
||||||
license:
|
license:
|
||||||
name: CC BY 4.0
|
name: CC BY 4.0
|
||||||
link: "https://creativecommons.org/licenses/by/4.0/"
|
link: "https://creativecommons.org/licenses/by/4.0/"
|
||||||
|
|
|
@ -6,26 +6,13 @@
|
||||||
<div class="d-flex justify-content-between align-items-center">
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
<div class="footer-left">
|
<div class="footer-left">
|
||||||
<p class="mb-0">
|
<p class="mb-0">
|
||||||
©
|
© {{ 'now' | date: "%Y" }}
|
||||||
<!-- years range -->
|
|
||||||
{% assign this_year = "now" | date: "%Y" | plus: 0 %}
|
|
||||||
{% assign years_range = this_year %}
|
|
||||||
{% if site.data.rights.first_publication_year < this_year
|
|
||||||
and site.data.rights.first_publication_year %}
|
|
||||||
{{ site.data.rights.first_publication_year }} -
|
|
||||||
{% endif %}
|
|
||||||
{{ this_year }}
|
|
||||||
<!-- copyright owner -->
|
|
||||||
<a href="{{ site.social.links[0] }}">{{ site.social.name }}</a>.
|
<a href="{{ site.social.links[0] }}">{{ site.social.name }}</a>.
|
||||||
<!-- copyright statement -->
|
|
||||||
{% if site.data.rights.brief %}
|
{% if site.data.rights.brief %}
|
||||||
<span data-toggle="tooltip" data-placement="top"
|
<span data-toggle="tooltip" data-placement="top"
|
||||||
title="{{ site.data.rights.verbose }}">
|
title="{{ site.data.rights.verbose }}">{{ site.data.rights.brief }}</span>
|
||||||
{{ site.data.rights.brief }}
|
|
||||||
</span>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer-right">
|
<div class="footer-right">
|
||||||
|
|
Loading…
Reference in a new issue