diff --git a/.github/workflows/pelican-test.yaml b/.github/workflows/pelican-test.yaml new file mode 100644 index 0000000..4264ff5 --- /dev/null +++ b/.github/workflows/pelican-test.yaml @@ -0,0 +1,28 @@ +name: Pelican test +on: + - push + - pull_request +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: + - 3.6 + - 3.7 + - 3.8 + - 3.9 + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + submodules: true + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + pip install tox tox-gh-actions + - name: Test with tox + run: tox diff --git a/README.md b/README.md index e899b08..354dd2b 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ The minimalist [Pelican](http://blog.getpelican.com/) theme. - Open Graph - Rich Snippets (JSON-LD) - Related Posts (via [plugin](https://github.com/getpelican/pelican-plugins/tree/master/related_posts) or AddThis) +- Series (via [plugin](https://github.com/pelican-plugins/series)) - Minute read (via [plugin](https://github.com/getpelican/pelican-plugins/tree/master/post_stats)) - [Multiple Code Highlight Styles](https://github.com/alexandrevicenzi/Flex/wiki/Code-Highlight) - [Translation Support](https://github.com/alexandrevicenzi/Flex/wiki/Translations) @@ -41,6 +42,7 @@ The minimalist [Pelican](http://blog.getpelican.com/) theme. - [I18N Sub-sites](https://github.com/getpelican/pelican-plugins/tree/master/i18n_subsites) - [Minute read](https://github.com/getpelican/pelican-plugins/tree/master/post_stats) - [Related Posts](https://github.com/getpelican/pelican-plugins/tree/master/related_posts) +- [Series](https://github.com/pelican-plugins/series) - [Representative image](https://github.com/getpelican/pelican-plugins/tree/master/representative_image) - [Neighbors](https://github.com/getpelican/pelican-plugins/tree/master/neighbors) - [Pelican Search](https://github.com/pelican-plugins/search) diff --git a/templates/article.html b/templates/article.html index 44d3fe1..e7ccd8e 100644 --- a/templates/article.html +++ b/templates/article.html @@ -83,6 +83,29 @@ {% endif %} + {% if article.series %} + + {% endif %} + {% if GOOGLE_ADSENSE and GOOGLE_ADSENSE.ads.article_bottom %}