diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b1139c8..f59e0fd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,13 +19,13 @@ jobs: sudo apt-get update && sudo apt-get install -y wget git - run: | wget -q -O - \ - "https://github.com/getzola/zola/releases/download/v0.21.0/zola-v0.21.0-x86_64-unknown-linux-gnu.tar.gz" \ + "https://github.com/getzola/zola/releases/download/v0.22.1/zola-v0.22.1-x86_64-unknown-linux-gnu.tar.gz" \ | sudo tar xzf - -C /usr/local/bin - run: npm install - run: npm run abridge - name: 'Build only' - uses: shalzz/zola-deploy-action@v0.21.0 + uses: shalzz/zola-deploy-action@v0.22.1 env: BUILD_DIR: . GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -46,12 +46,12 @@ jobs: sudo apt-get update && sudo apt-get install -y wget git - run: | wget -q -O - \ - "https://github.com/getzola/zola/releases/download/v0.21.0/zola-v0.21.0-x86_64-unknown-linux-gnu.tar.gz" \ + "https://github.com/getzola/zola/releases/download/v0.22.1/zola-v0.22.1-x86_64-unknown-linux-gnu.tar.gz" \ | sudo tar xzf - -C /usr/local/bin - run: npm install - run: npm run abridge - name: 'Build and deploy' - uses: shalzz/zola-deploy-action@v0.21.0 + uses: shalzz/zola-deploy-action@v0.22.1 env: PAGES_BRANCH: gh-pages BUILD_DIR: . diff --git a/README.md b/README.md index a975d19..10f806c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ The blog is made with [Zola] and based on the [Abridge theme] that is included as a Git [submodule][git-submodule]. You will need: - * The `zola` binary v0.19.1 or higher + * The `zola` binary v0.22 or higher Run `zola serve` in order to serve the website and automatically render it when files change. diff --git a/config.toml b/config.toml index d6c67d4..9bc42ce 100644 --- a/config.toml +++ b/config.toml @@ -33,14 +33,19 @@ include_content = true # include rendered content of page/section in index # truncate_content_length = 100 # Truncate at nth character. May be useful if index is getting too large. [markdown] -highlight_code = true -highlight_theme = "css" render_emoji = false external_links_target_blank = true # rel="noopener" external_links_no_follow = false # rel="nofollow" external_links_no_referrer = false # rel="noreferrer" smart_punctuation = false # `...` to `…`, `"quote"` to `“curly”` etc +[markdown.highlighting] +# theme = "material-theme-lighter" +# theme = "snazzy-light" +# theme = "github-light" +theme = "one-light" + + [extra] ############################################################################### ### Layout & Format diff --git a/sass/_extra.scss b/sass/_extra.scss index fc771fa..e77b83e 100644 --- a/sass/_extra.scss +++ b/sass/_extra.scss @@ -52,3 +52,19 @@ pre { pre code[data-lang]::before { display: none; } + +.giallo-l { + display: inline-block; + min-height: 1lh; + width: 100%; +} + +.giallo-ln { + display: inline-block; + user-select: none; + margin-right: 0.4em; + padding: 0.4em; + min-width: 3ch; + text-align: right; + opacity: 0.8; +} \ No newline at end of file