Skip to content

Commit bb8cb2d

Browse files
themes updated
1 parent 2a21fa1 commit bb8cb2d

59 files changed

Lines changed: 840 additions & 702 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* /en/404.html 404

amplify.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ frontend:
44
preBuild:
55
commands:
66
- yum install -y curl
7-
- curl -LO "https://github.com/gohugoio/hugo/releases/download/v0.121.2/hugo_extended_0.121.2_Linux-64bit.tar.gz"
8-
- tar -xvf hugo_extended_0.121.2_Linux-64bit.tar.gz
7+
- curl -LO "https://github.com/gohugoio/hugo/releases/download/v0.141.0/hugo_extended_0.141.0_Linux-64bit.tar.gz"
8+
- tar -xvf hugo_extended_0.141.0_Linux-64bit.tar.gz
99
- mv hugo /usr/local/bin/
10-
- rm hugo_extended_0.121.2_Linux-64bit.tar.gz
11-
- echo "HUGO 0.121.2 INSTALLED"
12-
- curl -LO "https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz"
13-
- tar -C /usr/local -xzf go1.20.5.linux-amd64.tar.gz
10+
- rm hugo_extended_0.141.0_Linux-64bit.tar.gz
11+
- echo "HUGO 0.141.0 INSTALLED"
12+
- curl -LO "https://dl.google.com/go/go1.23.3.linux-amd64.tar.gz"
13+
- tar -C /usr/local -xzf go1.23.3.linux-amd64.tar.gz
1414
- export PATH=$PATH:/usr/local/go/bin
15-
- rm go1.20.5.linux-amd64.tar.gz
16-
- echo "GO 1.20.5 INSTALLED"
15+
- rm go1.23.3.linux-amd64.tar.gz
16+
- echo "GO 1.23.3 INSTALLED"
1717
- npm install
1818
build:
1919
commands:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Add your own custom styles here
1+
/* Add your own custom styles here */
22
@media screen and (min-width: 1280px) {
33
.liveeditor {
44
min-width: calc(100% + 260px);

config/_default/module.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[hugoVersion]
22
extended = true
3-
min = "0.115.2"
3+
min = "0.141.0"
44

55
# [[imports]]
66
# path = "github.com/zeon-studio/hugoplate"
@@ -53,6 +53,9 @@ path = "github.com/gethugothemes/hugo-modules/components/social-share"
5353
[[imports]]
5454
path = "github.com/gethugothemes/hugo-modules/components/cookie-consent"
5555

56+
[[imports]]
57+
path = "github.com/gethugothemes/hugo-modules/components/announcement"
58+
5659
[[imports]]
5760
path = "github.com/gethugothemes/hugo-modules/components/custom-script"
5861

@@ -91,3 +94,6 @@ path = "github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager"
9194

9295
# [[imports]]
9396
# path = "github.com/gethugothemes/hugo-modules/seo-tools/counter-analytics"
97+
98+
[[imports]]
99+
path = "github.com/hugomods/mermaid"

config/_default/params.toml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#################### default parameters ################################
1+
#################### default parameters ############################
22
# favicon module: https://github.com/gethugothemes/hugo-modules/tree/master/images#favicon-implementation
33
favicon = "images/favicon.png"
44
# logo module: https://github.com/gethugothemes/hugo-modules/tree/master/images#logo-implementation
@@ -11,7 +11,7 @@ logo_height = "32px"
1111
# if logo_webp set false, will not generate WEBP version of logo | default is true
1212
logo_webp = true
1313
# logo text will only show when logo is missing.
14-
logo_text = "LiaScript"
14+
logo_text = "Hugoplate"
1515
# navbar fixed to top
1616
navbar_fixed = true
1717
# theme-mode
@@ -52,16 +52,22 @@ show_description = true
5252
show_tags = true
5353
show_categories = true
5454

55+
# announcement
56+
# announcement module: https://github.com/gethugothemes/hugo-modules/tree/master/components/announcement
57+
[announcement]
58+
enable = false
59+
expire_days = 7
60+
content = "You must replace the **baseURL** in **hugo.toml** file when deploying, you can manage this announcement from the **params.toml** file."
5561

5662
# seo meta data for OpenGraph / Twitter Card
5763
# seo module: https://github.com/gethugothemes/hugo-modules/tree/master/seo-tools/basic-seo
5864
[metadata]
5965
keywords = ["LiaScript", "Markdown", "OER", "Education", "Open-courSe"]
6066
description = "Open Educational Resources made easy and decentralized. Create free and interactive online courses, based on an extended Markdown notation and share them on github ..."
6167
author = "André Dietrich"
68+
twitter = "liascript"
6269
image = "images/main.png"
6370

64-
6571
# site verifications
6672
# verification module: https://github.com/gethugothemes/hugo-modules/tree/master/seo-tools/site-verifications
6773
[site_verification]
@@ -79,6 +85,10 @@ expire_days = 60
7985
content = "This site uses cookies. By continuing to use this website, you agree to their use."
8086
button = "I Accept"
8187

88+
# diagrams
89+
[mermaid]
90+
js_url = 'https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.esm.min.mjs'
91+
8292
######################## sidebar widgets #########################
8393
[widgets]
8494
sidebar = ["categories", "tags"]

config/development/server.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# defaultContentLanguageInSubdir must be true for this to work.
2+
3+
# Other languages redirects
4+
# [[redirects]]
5+
# from = '/fr/**'
6+
# to = '/fr/404.html'
7+
# status = 404
8+
9+
# Default language must be last.
10+
# [[redirects]]
11+
# from = '/**'
12+
# to = '/en/404.html'
13+
# status = 404

content/english/blog/077_why-open-education-needs-a-common-language.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: "Why Open Education Needs a Common Language!?"
33
slug: why-open-education-needs-a-common-language
44
date: 2024-09-06
55
draft: false
6+
67
authors:
78
- André Dietrich
89
- Sebastian Zug

content/english/sections/call-to-action.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ button:
99
link: "https://github.com/zeon-studio/hugoplate"
1010

1111
# don't create a separate page
12-
_build:
12+
build:
1313
render: "never"
1414
---

content/english/sections/testimonial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ testimonials:
7979
link: "https://github.com/liascript/codilia"
8080

8181
# don't create a separate page
82-
_build:
82+
build:
8383
render: "never"
8484
---

data/theme.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@
55
"primary": "#121212",
66
"body": "#fff",
77
"border": "#eaeaea",
8-
"theme_light": "#f6f6f6",
9-
"theme_dark": ""
8+
"light": "#f6f6f6",
9+
"dark": "#040404"
1010
},
1111
"text_color": {
12-
"default": "#444444",
13-
"dark": "#040404",
14-
"light": "#717171"
12+
"text": "#444444",
13+
"text-dark": "#040404",
14+
"text-light": "#717171"
1515
}
1616
},
1717
"darkmode": {
1818
"theme_color": {
1919
"primary": "#fff",
2020
"body": "#1c1c1c",
2121
"border": "#3E3E3E",
22-
"theme_light": "#222222",
23-
"theme_dark": ""
22+
"light": "#222222",
23+
"dark": "#fff"
2424
},
2525
"text_color": {
26-
"default": "#B4AFB6",
27-
"dark": "#fff",
28-
"light": "#B4AFB6"
26+
"text": "#B4AFB6",
27+
"text-dark": "#fff",
28+
"text-light": "#B4AFB6"
2929
}
3030
}
3131
},

0 commit comments

Comments
 (0)