Skip to content

Commit

Permalink
Update to work with refactored mobile-first theme
Browse files Browse the repository at this point in the history
New Hugo minimum version 0.129.0 due to API changes.
  • Loading branch information
mikesname committed Dec 5, 2024
1 parent eed601b commit db7fda4
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.111.3
HUGO_VERSION: 0.129.0
steps:
- name: Install Hugo CLI
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ as they become available.

## Running

Install Hugo version 0.111.3 or later, as per the instructions [here](https://gohugo.io/installation/): .
Install Hugo version 0.129.0 or later, as per the instructions [here](https://gohugo.io/installation/): .

Check out this repository and its submodules:

Expand Down
6 changes: 5 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,14 @@ params:
logo: 'eu-logo.svg'
url: 'https://ec.europa.eu/info/departments/research-and-innovation_en'

# Configure syntax highlighting for the examples on the `training` page
markup:
# Configure syntax highlighting for the examples on the `training` page
highlight:
style: xcode
# Since we control the content, it's okay (and useful) to render raw HTML in the markdown
goldmark:
renderer:
unsafe: true

# Configure taxonomy terms
taxonomies:
Expand Down
2 changes: 1 addition & 1 deletion content/contact/index.cy.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Contact EHRI
title: Cysylltwch ag EHRI
type: contact
---

12 changes: 6 additions & 6 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{{ define "main" }}

<section class="home hero">
<div id="welcome">
<h1>{{ .Page.Title }}</h1>
<div id="welcome" class="hero-welcome">
<h1 id="welcome-title" class="hero-welcome-title">{{ .Page.Title }}</h1>

<div id="welcome-image1"></div>
<div id="welcome-image2"></div>
<div id="welcome-image3"></div>
<div id="welcome-text">
<div id="welcome-image1" class="hero-welcome-image1"></div>
<div id="welcome-image2" class="hero-welcome-image2"></div>
<div id="welcome-image3" class="hero-welcome-image3"></div>
<div id="welcome-text" class="hero-welcome-text">
{{ .Content }}

<a class="button-primary" href="{{ relLangURL "about" }}">{{ i18n "learn_more" }}</a>
Expand Down
2 changes: 1 addition & 1 deletion themes/ehri-nn
Submodule ehri-nn updated 35 files
+41 −47 assets/scss/_base.scss
+0 −398 assets/scss/_components.scss
+19 −8 assets/scss/_mixins.scss
+6 −3 assets/scss/_variables.scss
+28 −0 assets/scss/components/_breadcrumbs.scss
+29 −0 assets/scss/components/_buttons.scss
+20 −0 assets/scss/components/_contact-cards.scss
+37 −0 assets/scss/components/_figures.scss
+129 −0 assets/scss/components/_hero-welcome.scss
+57 −0 assets/scss/components/_latest-cards.scss
+92 −0 assets/scss/components/_misc.scss
+35 −7 assets/scss/components/_page-content.scss
+44 −0 assets/scss/components/_partner-cards.scss
+112 −0 assets/scss/components/_resource-cards.scss
+141 −121 assets/scss/layouts/_footer.scss
+289 −234 assets/scss/layouts/_header.scss
+0 −216 assets/scss/layouts/_home.scss
+0 −30 assets/scss/layouts/_news.scss
+0 −33 assets/scss/layouts/_services.scss
+2 −0 assets/scss/pages/_about.scss
+2 −0 assets/scss/pages/_contact.scss
+77 −0 assets/scss/pages/_home.scss
+27 −0 assets/scss/pages/_news.scss
+42 −0 assets/scss/pages/_services.scss
+23 −7 assets/scss/styles.scss
+3 −3 layouts/_default/baseof.html
+2 −2 layouts/partials/footer-menu-1.html
+4 −4 layouts/partials/footer-menu-2.html
+3 −3 layouts/partials/footer-menu-3.html
+12 −14 layouts/partials/header.html
+7 −10 layouts/partials/latest-card.html
+1 −1 layouts/partials/page-summary.html
+2 −2 layouts/partials/partner-card.html
+1 −1 layouts/partials/resource-card.html
+1 −1 theme.toml

0 comments on commit db7fda4

Please sign in to comment.