Skip to content

Commit 00b0123

Browse files
authored
Merge pull request #15 from NC3-LU/revert-14-codex_hugoFix
Revert "fix: [hugo] hugo fix"
2 parents bfbe0f6 + 7b83e3f commit 00b0123

File tree

5 files changed

+6
-184
lines changed

5 files changed

+6
-184
lines changed

AGENTS.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

CLAUDE.md

Lines changed: 0 additions & 120 deletions
This file was deleted.

config.toml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,10 @@ main_button_sub = "powered by the two centres hosted at the Luxembourg House of
99
subtitle = "**Open source software is more important than ever!** *And we are committed to improve and cyber secure the society through open technologies.*"
1010
copyright = "The Luxembourg House of Cybersecurity - Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)"
1111

12-
[pagination]
13-
pagerSize = 4
14-
1512
enableRobotsTXT = true
16-
theme = "kode"
13+
Paginate = 4
1714

18-
[markup]
19-
[markup.goldmark]
20-
[markup.goldmark.renderer]
21-
unsafe = true
15+
theme = "kode"
2216

2317
[taxonomies]
2418
tag = "tags"
@@ -60,3 +54,4 @@ theme = "kode"
6054
title = "CyberSecurityLuxembourg GitHub account"
6155
icon = "fa-github"
6256
url = "https://github.com/CybersecurityLuxembourg"
57+

content/projects/coral.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ image_alt: "Logo of CORAL"
77
logo: "logo-coral.png"
88
weight: 60
99
tags: ["projects", "coral", "nc3"]
10+
logo: "logo_nc3.jpg"
1011
author: "NC3"
1112
draft: true
1213
---

layouts/shortcodes/readme.html

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,2 @@
1-
{{ $repo := $.Page.Params.repository }}
2-
{{ if not $repo }}
3-
{{ errorf "readme shortcode requires a `repository` parameter on %q" $.Page.File.Path }}
4-
{{ else }}
5-
{{ $url := printf "https://raw.githubusercontent.com/%s/master/README.md" $repo }}
6-
{{ with resources.GetRemote $url }}
7-
{{ .Content | markdownify | safeHTML }}
8-
{{ else }}
9-
{{ warnf "readme shortcode: unable to fetch %q" $url }}
10-
<p><a href="{{ printf "https://github.com/%s" $repo }}">View the project README on GitHub</a></p>
11-
{{ end }}
12-
{{ end }}
1+
{{ $data := resources.GetRemote ( printf "https://raw.githubusercontent.com/%s/master/README.md" $.Page.Params.repository) }}
2+
{{ $data.Content | markdownify | safeHTML }}

0 commit comments

Comments
 (0)