Skip to content

Commit

Permalink
Test of a different approach
Browse files Browse the repository at this point in the history
  • Loading branch information
VerzatileDev committed Dec 20, 2023
1 parent 6d24711 commit 44af944
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ plugins:
# Optional. The default date format, used if none is specified in the tag.
last-modified-at:
date-format: '%d/%m/%Y'
file: _includes/last_modified_at.html
2 changes: 1 addition & 1 deletion _includes/components/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% endif %}

<div>
<p>Last Modified: {{ page.last_modified_at | date: '%A, %d %B %Y %R:%S' }}</p>

</div>

<p>
Expand Down
4 changes: 4 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
{% endif %}
</main>
{% include components/footer.html %}
<!-- Add the last modified date here -->
<footer>
<p>Last Modified: {% last_modified_at %}</p>
</footer>
</div>
</div>
{% if site.search_enabled != false %}
Expand Down

0 comments on commit 44af944

Please sign in to comment.