Skip to content

Commit

Permalink
keep timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
shensquared committed Jun 23, 2023
1 parent 639110d commit 0305f28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ back_to_top: true
back_to_top_text: "Back to top"
nav_next_prev: true

last_edit_timestamp: true
gh_edit_link: false # show or hide edit this page link
gh_edit_link_text: "Edit this page on GitHub"
gh_edit_repository: "https://github.com/shensquared/gradML"
Expand Down
3 changes: 3 additions & 0 deletions _includes/components/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
<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> | This page was last updated on {% last_modified_at %}
</p>
{% else %}
<p class="text-small text-grey-dk-000 mb-0">This page was last updated on {% last_modified_at %}
</p>
{% endif %}
</div>
{% endif %}
Expand Down

0 comments on commit 0305f28

Please sign in to comment.