Skip to content

Commit

Permalink
Add updated date to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyMcCormick committed Jul 30, 2024
1 parent d261b7f commit 51f53f1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: sudo apt-get install -y ruby-full build-essential zlib1g-dev

- name: Install required Ruby gems
run: sudo gem install bundler jekyll jekyll-theme-cayman
run: sudo gem install bundler jekyll jekyll-theme-cayman jekyll-last-modified-at

- name: Build the schema browser site
run: jekyll build
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ init:
echo >&2 "For more information, visit: https://jekyllrb.com/docs/installation"; \
exit 1; \
}
gem install -q --silent --no-verbose jekyll bundler jekyll-theme-cayman
gem install -q --silent --no-verbose jekyll bundler jekyll-theme-cayman jekyll-last-modified-at

# Run the web server and watch for changes
run:
Expand Down
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
theme: jekyll-theme-cayman
plugins:
- jekyll-last-modified-at
last-modified-at:
date-format: '%B %d, %Y'

data_dir: ./yml
layouts_dir: _layouts
Expand Down
8 changes: 6 additions & 2 deletions browser/_includes/_footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<hr/>
<span class="site-footer-owner">
<!--<span class="site-footer-owner">-->
<p>
<a href="{{ site.repository_url }}">{{ site.repository_name }}</a> is maintained by
<a href="{{ site.owner_url }}">{{ site.owner_name }}</a>.
</span>
</p>
<!--</span>-->
<p><b>Updated:</b> {% last_modified_at %}</p>

0 comments on commit 51f53f1

Please sign in to comment.