Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the last updated date underneath the edit button #397

Merged
merged 2 commits into from
May 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h1 class="post-title-main">{{ page.title }}</h1>
{% endif %}

<div class="row">
<div class="col-md-10 col-sm-8">
<div class="col-md-9 col-sm-8">
{% unless page.toc == false %}
{% if page.tocheaders %}
{% include toc.html headers=page.tocheaders %}
Expand All @@ -48,7 +48,7 @@ <h1 class="post-title-main">{{ page.title }}</h1>
{% endunless %}
</div>

<div class="col-md-2 col-sm-4">
<div class="col-md-3 col-sm-4">
{% unless page.editme == false %}
{% if page.github_editme_path %}
{% comment %}
Expand All @@ -66,6 +66,9 @@ <h1 class="post-title-main">{{ page.title }}</h1>
<a target="_blank" rel="noopener" href="{{site.github_editme_path}}{{page.path}}" class="btn btn-default githubEditButton" role="button"><i class="fab fa-github fa-lg"></i> Edit me</a>
</div>
{% endif %}
<div class="text-right">
<small>Updated {{ page.last_modified_at | date: '%d %b %y' -}}</small>
fsimonis marked this conversation as resolved.
Show resolved Hide resolved
</div>
{% endunless %}
</div>
</div>
Expand Down
Loading