Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion _layouts/about.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,5 @@ layout: default
</div>
</div>

<div class="homepage-footer">© All right reserved. Last updated on {{ site.repository_last_updated_at | date: '%B %-d, %Y' }}</div>
<div class="homepage-footer">© All right reserved. Last updated on {{ site.repository_last_updated_at | date: '%B %-d, %Y' }}.</div>
</div>
6 changes: 6 additions & 0 deletions test/repository_last_updated_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ def test_exposes_head_committer_timestamp_to_liquid
assert_equal '2026-07-13T12:35:52+08:00', site.config['repository_last_updated_at']
end

def test_homepage_footer_terminates_repository_update_date_with_period
layout = File.read(File.expand_path('../_layouts/about.liquid', __dir__))

assert_includes layout, "{{ site.repository_last_updated_at | date: '%B %-d, %Y' }}.</div>"
end

private

def git(*arguments, env: {})
Expand Down
Loading