Skip to content

Commit

Permalink
adding footer?
Browse files Browse the repository at this point in the history
  • Loading branch information
gkuling committed Jan 29, 2025
1 parent 2e9e0ae commit 2cd4156
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 42 deletions.
File renamed without changes.
68 changes: 26 additions & 42 deletions _layouts/minimal.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,50 +81,34 @@
{% endcapture %}
{% if footer_custom != "" or site.last_edit_timestamp or site.gh_edit_link %}
<hr>
<footer>
<p xmlns:cc="http://creativecommons.org/ns#" >
This work is licensed under
<a href="https://creativecommons.org/licenses/by-nc/4.0/?ref=chooser-v1"
target="_blank" rel="license noopener noreferrer"
style="display:inline-block;">CC BY-NC 4.0<img
style="height:22px!important;margin-left:3px;vertical-align:text-bottom;"
src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1"
alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;"
src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1"
alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;"
src="https://mirrors.creativecommons.org/presskit/icons/nc.svg?ref=chooser-v1"
alt="">
</a>
</p>
</footer>
<!-- <footer>-->
<!-- {% if site.back_to_top %}-->
<!-- <p><a href="#top" id="back-to-top">{{ site.back_to_top_text }}</a></p>-->
<!-- {% endif %}-->
<footer>
{% if site.back_to_top %}
<p><a href="#top" id="back-to-top">{{ site.back_to_top_text }}</a></p>
{% endif %}

<!-- {{ footer_custom }}-->
{{ footer_custom }}

<!-- {% if site.last_edit_timestamp or site.gh_edit_link %}-->
<!-- <div class="d-flex mt-2">-->
<!-- {% if site.last_edit_timestamp and site.last_edit_time_format and page.last_modified_date %}-->
<!-- <p class="text-small text-grey-dk-000 mb-0 mr-2">-->
<!-- Page last modified: <span class="d-inline-block">{{ page.last_modified_date | date: site.last_edit_time_format }}</span>.-->
<!-- </p>-->
<!-- {% endif %}-->
<!-- {% if-->
<!-- site.gh_edit_link and-->
<!-- site.gh_edit_link_text and-->
<!-- site.gh_edit_repository and-->
<!-- site.gh_edit_branch and-->
<!-- site.gh_edit_view_mode-->
<!-- %}-->
<!-- <p class="text-small text-grey-dk-000 mb-0">-->
<!-- <a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}{% if site.gh_edit_source %}/{{ site.gh_edit_source }}{% endif %}{% if page.collection and site.collections_dir %}/{{ site.collections_dir }}{% endif %}/{{ page.path }}" id="edit-this-page">{{ site.gh_edit_link_text }}</a>-->
<!-- </p>-->
<!-- {% endif %}-->
<!-- </div>-->
<!-- {% endif %}-->
<!-- </footer>-->
{% if site.last_edit_timestamp or site.gh_edit_link %}
<div class="d-flex mt-2">
{% if site.last_edit_timestamp and site.last_edit_time_format and page.last_modified_date %}
<p class="text-small text-grey-dk-000 mb-0 mr-2">
Page last modified: <span class="d-inline-block">{{ page.last_modified_date | date: site.last_edit_time_format }}</span>.
</p>
{% endif %}
{% if
site.gh_edit_link and
site.gh_edit_link_text and
site.gh_edit_repository and
site.gh_edit_branch and
site.gh_edit_view_mode
%}
<p class="text-small text-grey-dk-000 mb-0">
<a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}{% if site.gh_edit_source %}/{{ site.gh_edit_source }}{% endif %}{% if page.collection and site.collections_dir %}/{{ site.collections_dir }}{% endif %}/{{ page.path }}" id="edit-this-page">{{ site.gh_edit_link_text }}</a>
</p>
{% endif %}
</div>
{% endif %}
</footer>
{% endif %}

</div>
Expand Down

0 comments on commit 2cd4156

Please sign in to comment.