From 556926af6f2c9e1edfb12e5d32773355db2a10f2 Mon Sep 17 00:00:00 2001 From: vahidzee Date: Tue, 28 Sep 2021 03:25:23 +0330 Subject: [PATCH] Update: v0.1.5 --- action.yml | 7 ++++++- webifier/__version__.py | 2 +- webifier/jekyll/_includes/footer.html | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 6118981..b20dcff 100644 --- a/action.yml +++ b/action.yml @@ -22,6 +22,11 @@ inputs: located in the root of your repository. default: 'index.yml' required: false + templates_dir: + description: > + Base directory to lookup custom jinja2 templates in (default: "."). + default: "." + required: false runs: using: "composite" @@ -31,7 +36,7 @@ runs: python-version: 3.8 - run: pip install webifier shell: bash - - run: webify --repo_full_name "${{ inputs.repo }}" --baseurl "${{ inputs.baseurl }}" --index ${{ inputs.index }} --output="." + - run: webify --repo_full_name "${{ inputs.repo }}" --baseurl "${{ inputs.baseurl }}" --index ${{ inputs.index }} --output="." --templates-dir="${{ inputs.templates_dir }}" shell: bash diff --git a/webifier/__version__.py b/webifier/__version__.py index 1642ac4..e8cc56f 100644 --- a/webifier/__version__.py +++ b/webifier/__version__.py @@ -1 +1 @@ -__version__ = 'v0.1.4' +__version__ = 'v0.1.5' diff --git a/webifier/jekyll/_includes/footer.html b/webifier/jekyll/_includes/footer.html index 23a2621..3a5fb5c 100644 --- a/webifier/jekyll/_includes/footer.html +++ b/webifier/jekyll/_includes/footer.html @@ -24,6 +24,6 @@ {% else %} {{ site.data.index.footer }} {% endif %} - © Powered by Webifier + © Powered by Webifier \ No newline at end of file