Skip to content

Commit

Permalink
feat: add index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
roaldnefs committed Aug 17, 2024
1 parent d464dbd commit 914d1f8
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 3 deletions.
7 changes: 7 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
baseURL: "https://bsidesgrunn.org/"
languageCode: en-us
title: BSides Groningen
theme: Default
params:
slogan: BSides Groningen is an Information Security conference organized by the community for the community.
mastodon: "https://infosec.exchange/@bsidesgrunn"
3 changes: 0 additions & 3 deletions hugo.toml

This file was deleted.

4 changes: 4 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ define "main" }}
<h1>{{ .Site.Title }}</h1>
<p>{{ .Site.Params.Slogan }}</p>
{{ end }}
11 changes: 11 additions & 0 deletions themes/default/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<main>
{{- block "main" . }}{{- end }}
</main>
{{- partial "footer.html" . -}}
</body>
</html>
2 changes: 2 additions & 0 deletions themes/default/layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{{ define "main" }}
{{ end }}
2 changes: 2 additions & 0 deletions themes/default/layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{{ define "main" }}
{{ end }}
2 changes: 2 additions & 0 deletions themes/default/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<head>
</head>
3 changes: 3 additions & 0 deletions themes/default/layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<title>{{ .Site.Title }}</title>

{{ if .Site.Params.Mastodon }}<link rel="me" href="{{ .Site.Params.Mastodon }}" />{{ end }}
Empty file.
1 change: 1 addition & 0 deletions themes/default/theme.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name = "Default"

0 comments on commit 914d1f8

Please sign in to comment.