From 39c5c410ac3d40acf2372f902efb6d88a3a01c8b Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 6 Sep 2021 03:44:44 +0100 Subject: [PATCH] Theme: Add 'file_version_query' Liquid filter Fixes https://github.com/qunitjs/jekyll-theme-amethyst/issues/4. --- _config.yml | 5 ++++- _layouts/wrapper.html | 2 +- lib/jekyll-theme-amethyst.rb | 39 ++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 lib/jekyll-theme-amethyst.rb diff --git a/_config.yml b/_config.yml index fbc4cd2..08f22b6 100644 --- a/_config.yml +++ b/_config.yml @@ -21,14 +21,17 @@ lang: en timezone: UTC # Files that will not be converted or published exclude: - # Exclude repo docs from site output and search index + # Exclude internal repo files from site output - docs + - lib # Avoid the following on GitHub CI: # > Error: could not read file # > vendor/jekyll/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb: # > Invalid date '<%= Time.now.strftime('%Y-%m-%d %H:%M:%S %z') %>': # > Document does not have a valid date in the YAML front matter. - vendor +plugins: + - jekyll-theme-amethyst # Theme settings diff --git a/_layouts/wrapper.html b/_layouts/wrapper.html index 3ef58f1..8e6a6b5 100644 --- a/_layouts/wrapper.html +++ b/_layouts/wrapper.html @@ -3,7 +3,7 @@ - + {% include opengraph.html -%}