diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 755aac5..392b2d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,16 @@ name: Build Eleventy on: push: + paths-ignore: + - '/maintenance/**' + - '/README.md' branches: - main workflow_dispatch: + pull_request: + paths-ignore: + - '/maintenance/**' + - '/README.md' permissions: contents: write @@ -34,4 +41,4 @@ jobs: uses: peaceiris/actions-gh-pages@v4 with: publish_dir: ./docs - github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index b6ba6f5..90cdf33 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,19 @@ [![Build Eleventy](https://github.com/adrianvic/adrianvic.github.io/actions/workflows/build.yml/badge.svg)](https://github.com/adrianvic/adrianvic.github.io/actions/workflows/build.yml) [![pages-build-deployment](https://github.com/adrianvic/adrianvic.github.io/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/adrianvic/adrianvic.github.io/actions/workflows/pages/pages-build-deployment) -My personal website/blog. +My personal static website/blog built with Eleventy. + + + +## Interesting features + - Multiple pages + - Text support + - Interactive + +## Features that are not interesting at all + - Localization support with global/page string table + - Reusable elements with Eleventy's macros + - Responsive design for computers, medium sized devices and smartphones + - Functional without JavaScript + - Robust blog functionality with support for linking post translations with a common internal ID + - Some elements have hints while hovering, they update the text of a hint bar on the website header diff --git a/misc/misc.11tydata.js b/misc/misc.11tydata.js index 26b8826..dec5ff3 100644 --- a/misc/misc.11tydata.js +++ b/misc/misc.11tydata.js @@ -24,10 +24,8 @@ module.exports = { return {}; } }, - - permalink: data => { return `/${data.langKey}/misc/${data.page.fileSlug}/`; }, tags: "misc" -}; \ No newline at end of file +};