From 9a0019f8871b75a3141371098a52dc137870ec79 Mon Sep 17 00:00:00 2001 From: Maxime <12089026+mcbloch@users.noreply.github.com> Date: Thu, 25 Apr 2024 12:25:26 +0200 Subject: [PATCH] try adding last modified date --- Gemfile | 1 + _config.yml | 5 ++++- _includes/header_custom.html | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 _includes/header_custom.html diff --git a/Gemfile b/Gemfile index c48ce70..89cf139 100644 --- a/Gemfile +++ b/Gemfile @@ -3,3 +3,4 @@ source 'https://rubygems.org' gem "github-pages" gem "just-the-docs" gem "jekyll-readme-index" +gem "jekyll-last-modified-at" \ No newline at end of file diff --git a/_config.yml b/_config.yml index b9ed7b4..19bfda0 100644 --- a/_config.yml +++ b/_config.yml @@ -7,4 +7,7 @@ gh_edit_link: true # show or hide edit this page link gh_edit_link_text: "Edit this page on GitHub." gh_edit_repository: "https://github.com/12urenloop/docs.12urenloop" # the github URL for your repo gh_edit_branch: "master" # the branch that your docs is served from -gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately \ No newline at end of file +gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately + +plugins: + - jekyll-last-modified-at diff --git a/_includes/header_custom.html b/_includes/header_custom.html new file mode 100644 index 0000000..a511aa7 --- /dev/null +++ b/_includes/header_custom.html @@ -0,0 +1 @@ +{% last_modified_at %} \ No newline at end of file