Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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: .
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
9 changes: 7 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 16 additions & 0 deletions sass/_extra.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Loading