Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an Events page #81

Merged
merged 8 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,14 @@
height: 1.1em;
order: 2;
}

.iscsc-lastmod {
color: gray; /* Not great... TO BE CHANGED */
font-style: italic;
font-size: 0.8rem;
}

.iscsc-event-logo {
display: inline-block;
max-width: 20rem;
}
1 change: 1 addition & 0 deletions src/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ capitalizelisttitles = false # respect list title case; ex with author: ctmbl s
# Limit: If the files should be listed, how many should be shown.
menu = [
{Name = "About", URL = "/about/", HasChildren = false},
{Name = "Events", URL = "/events/", HasChildren = false},
{Name = "Resources", URL = "/resources", HasChildren = false},
{Name = "Posts", URL = "/posts/", Pre = "Recent", HasChildren = true, Limit = 5},
]
Expand Down
47 changes: 47 additions & 0 deletions src/content/events/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
title: "Events"
date: 2024-09-11T11:24:43+0000
lastmod: 2024-09-11T11:24:43+0000
draft: false
---

> :hammer_and_wrench: **WIP** :hammer_and_wrench: :
> This page is still a **W**ork-**I**n-**P**rogress
> More events, finer look and chronological order should come soon...
> (hopefully :heart:)

CTFs, conferences, forums, etc: basically every online or on-site event we attended or plan to attend to!

<!--more-->

## Other events

- THCon:
- https://thcon.party/
- https://discord.gg/gH9tErEy
- 404CTF:
- https://www.404ctf.fr/
- https://discord.com/invite/j8KECppcGw
- FCSC:
- https://france-cybersecurity-challenge.fr/
- https://discord.com/invite/P8rpVNZ
- Breizh CTF
- all HTB CTF
- Deadface
- niteCTF
- Break The Code
- Midnight Flag
- Midnight Sun
- HS’R:
- https://www.hacksecureims.eu/
- WOCS’Hack
- Stranger Case
<!--
- SECCON CTF
- ENISA ?
- ECSC ?
- Cracks CTF ?
-->

a link is down? an information is incorrect?
please open an issue on https://github.com/iScsc/blog.iscsc.fr/issues/new
Binary file added src/content/events/unitedctf-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/content/events/unitedctf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "UnitedCTF"
image: "unitedctf-logo.png"
---

| Type | Name | Date | Details | Links |
| ----------- | ----------- | --- | --- | --- |
| CTF | UnitedCTF | 13-20 Septembre 2024 | online, solo, beginner / intermediate | [Discord](https://discord.gg/ENtN9zyP) / [Website](https://unitedctf.ca/) |

29 changes: 29 additions & 0 deletions src/layouts/events/events.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{{ define "main" -}}
<div class="post">
{{ with .Site.GetPage "/events" }}
<h1 class="post-title">{{ .Title }}</h1>
<span class="iscsc-lastmod">updated on {{ .Lastmod | time.Format ":date_medium" }}</span>
{{ .Summary }}

{{ if .Pages }}
{{ range .Pages }}
<h2 class="post-title">{{ .Title }}</h2>
{{ if .Params.image }}
<p>
<img src="{{.Params.image}}" class="iscsc-event-logo"><br>
</p>
{{ end }}
{{ .Content }}
{{ end }}
{{ end }}

{{ (replace .Content .Summary "") | safeHTML }} <!-- VERY HACKY -->
<!-- HUGO v0.134 add .ContentWithoutSummary https://gohugo.io/methods/page/contentwithoutsummary/
which is better and should be used when updating HUGO-->

{{ end }}
{{ if (.Site.Params.listmonk) }}
{{ partial "post/listmonk_email_newsletters.html" . }}
{{ end }}
</div>
{{ end }}
Loading