diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d489b50..8bafe33 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,6 @@ version: 2 updates: - - package-ecosystem: "npm" + - package-ecosystem: npm directory: /assets/ schedule: interval: weekly diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38edd2b..8111efc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: pull_request: workflow_dispatch: schedule: - - cron: "0 7 * * *" + - cron: '0 7 * * *' jobs: build: @@ -15,16 +15,11 @@ jobs: - name: 📥 Check-out uses: actions/checkout@v4 - name: 🧰 Install Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v3 with: hugo-version: '0.123.4' - extended: true - name: 🧰 Install dart-sass-embedded - run: | - curl -LJO https://github.com/sass/dart-sass-embedded/releases/download/1.56.2/sass_embedded-1.56.2-linux-x64.tar.gz; - echo "9e4f455f7b8619959d7878af2862383be58392eb963a14ff87cc512c03701e2a sass_embedded-1.56.2-linux-x64.tar.gz" | sha256sum -c; - tar -xvf sass_embedded-1.56.2-linux-x64.tar.gz; - echo "$GITHUB_WORKSPACE/sass_embedded/" >> $GITHUB_PATH + run: sudo snap install dart-sass - name: 🧰 Install Node uses: actions/setup-node@v4 with: @@ -55,7 +50,7 @@ jobs: uses: lycheeverse/lychee-action@v1 with: lycheeVersion: '0.13.0' - args: --require-https --verbose --no-progress --base public/ --cache --max-cache-age 1d --exclude https://twitter.com/H1iReimer/ --exclude heinrich@reimer.family --accept 999 --max-retries 10 --max-redirects 10 public/ + args: --require-https --verbose --no-progress --max-concurrency 2 --base public/ --cache --max-cache-age 1d --exclude https://twitter.com/H1iReimer/ --exclude heinrich@reimer.family --accept 999 --max-retries 10 --max-redirects 10 public/ fail: true - name: 📤 Upload public pages uses: actions/upload-artifact@v4 @@ -106,14 +101,14 @@ jobs: id: get-version run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//} - name: 📥 Download public pages - uses: actions/download-artifact@master + uses: actions/download-artifact@v4 with: name: public-pages path: public/ - name: 🗜️ Create public pages archive run: zip -r public.zip public/ - name: 🚀 Create GitHub release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: Release ${{ steps.get-version.outputs.tag }} draft: false diff --git a/assets/package.json b/assets/package.json index 21f2100..8ced90f 100644 --- a/assets/package.json +++ b/assets/package.json @@ -1,7 +1,7 @@ { "license": "SEE LICENSE IN ../LICENSE", "dependencies": { - "@fortawesome/fontawesome-free": "^6.5.1", + "@fortawesome/fontawesome-free": "^6.5.2", "academicons": "^1.9.2", "normalize-scss": "^8.0.0" } diff --git a/assets/yarn.lock b/assets/yarn.lock index 5ba577a..d34fb1b 100644 --- a/assets/yarn.lock +++ b/assets/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@fortawesome/fontawesome-free@^6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-6.5.1.tgz#55cc8410abf1003b726324661ce5b0d1c10de258" - integrity sha512-CNy5vSwN3fsUStPRLX7fUYojyuzoEMSXPl7zSLJ8TgtRfjv24LOnOWKT2zYwaHZCJGkdyRnTmstR0P+Ah503Gw== +"@fortawesome/fontawesome-free@^6.5.2": + version "6.5.2" + resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-6.5.2.tgz#310fe90cb5a8dee9698833171b98e7835404293d" + integrity sha512-hRILoInAx8GNT5IMkrtIt9blOdrqHOnPBH+k70aWUAqPZPgopb9G5EQJFpaBx/S8zp2fC+mPW349Bziuk1o28Q== academicons@^1.9.2: version "1.9.2" diff --git a/layouts/partials/site/styles.html b/layouts/partials/site/styles.html index b22e02b..e18aed2 100644 --- a/layouts/partials/site/styles.html +++ b/layouts/partials/site/styles.html @@ -1,7 +1,6 @@ -{{- $options := dict "transpiler" "dartsass" "outputStyle" "compressed" -}} -{{- with resources.Get "/css/main.scss" | resources.ToCSS $options -}} - -{{- end -}} +{{ $options := dict "transpiler" "dartsass" "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction) }} +{{ $style := resources.Get "/css/main.scss" | resources.ToCSS $options | resources.Fingerprint }} + {{/* Publish fonts. */}} {{- range $fontsPathPrefix := slice "/node_modules/@fortawesome/fontawesome-free/webfonts/" "/node_modules/academicons/fonts/" -}} diff --git a/layouts/shortcodes/cv/publications.gohtml b/layouts/shortcodes/cv/publications.gohtml index 0c2b539..82bb2e9 100644 --- a/layouts/shortcodes/cv/publications.gohtml +++ b/layouts/shortcodes/cv/publications.gohtml @@ -101,6 +101,7 @@ {{- $publisher = replace $publisher "Association for Computational Linguistics" "ACL" -}} {{- $publisher = replace $publisher "CEUR Workshop Proceedings" "CEUR.ws" -}} {{- $publisher = replace $publisher "National Institute of Standards and Technology (NIST)" "NIST" -}} + {{- $publisher = replace $publisher "International Joint Conferences on Artificial Intelligence Organization" "IJCAI" -}} {{- $links := index . "a" -}} {{- $linksPaper := where $links "-class" "paper" -}} {{- $linkPaper := "" -}} @@ -158,6 +159,9 @@ {{- with strings.FindRESubmatch "Working Notes Papers of the (CLEF [0-9]{4}) Evaluation Labs" $booktitle 1 -}} {{- $booktitle = index (index . 0) 1 -}} {{- end -}} + {{- with strings.FindRESubmatch "Lernen. Wissen. Daten. Analysen. – (LWDA [0-9]{4})" $booktitle 1 -}} + {{- $booktitle = index (index . 0) 1 -}} + {{- end -}} {{- $series := "" -}} {{- with where $spans "-class" "series" -}} {{- $series = index (index . 0) "#text" -}}