Skip to content

Commit

Permalink
Use modified hugo-theme-blist-satre to support baseurl
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Apr 25, 2024
1 parent 6ed2d05 commit 68bf2d6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "themes/blist"]
path = themes/blist
url = https://github.com/apvarun/blist-hugo-theme.git
url = https://github.com/manics/hugo-theme-blist-satre.git
2 changes: 1 addition & 1 deletion content/en/blog/satre-videos.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "SATRE videos"
date: 2024-01-01
description: "Videos created by SATRE"
tags: ["videos"]
thumbnail: /satre_logo_dark_final-1020x675.png
thumbnail: satre_logo_dark_final-1020x675.png
---

## Introduction to the SATRE Project
Expand Down
4 changes: 2 additions & 2 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ DefaultContentLanguageInSubdir = true
[languages.en.params]
introTitle = "Standard Architecture for Trusted Research Environments (SATRE)"
introSubtitle = "Working to standardise access to secure data in trusted research environments."
introPhoto = "/satre_logo_dark.svg"
logo = "/satre_logo_dark.svg"
introPhoto = "satre_logo_dark.svg"
logo = "satre_logo_dark.svg"
[[languages.en.menu.main]]
name = "Blog"
url = "blog"
Expand Down
2 changes: 1 addition & 1 deletion layouts/evaluations/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{{ if (and .Params.thumbnail (not (or .Site.Params.hidePageThumbnail .Params.hidePageThumbnail)) ) }}
<div class="relative max-w-5xl mx-auto px-4">
<img src="{{ .Params.thumbnail }}" class="rounded-lg shadow-sm w-full object-contain" />
<img src="{{ .Params.thumbnail | relURL }}" class="rounded-lg shadow-sm w-full object-contain" />
{{ if not (or (or .Site.Params.hideMeta .Params.hideMeta) false) }}
<div class="absolute top-4 right-8 rounded shadow bg-white text-gray-900 dark:bg-gray-900 dark:text-white px-2 py-0.5">
{{ $datestr }}
Expand Down

0 comments on commit 68bf2d6

Please sign in to comment.