init
This commit is contained in:
commit
c55478f6a5
11 changed files with 299 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
public/
|
||||
.hugo_build.lock
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
155
config.toml
Normal file
155
config.toml
Normal file
|
@ -0,0 +1,155 @@
|
|||
baseURL = "https://barcamp.local-it.org"
|
||||
title = "do.IT.local Barcamp 2022"
|
||||
languageCode = "de-de"
|
||||
theme = "timeline"
|
||||
|
||||
PygmentsCodeFences = true
|
||||
PygmentsStyle = "monokai"
|
||||
|
||||
paginate = 10
|
||||
rssLimit = 10 # Maximum number of items in the RSS feed.
|
||||
copyright = "This work is licensed under a MIT License."
|
||||
|
||||
# googleAnalytics = ""
|
||||
# disqusShortname = ""
|
||||
|
||||
archetypeDir = "archetypes"
|
||||
contentDir = "content"
|
||||
dataDir = "data"
|
||||
layoutDir = "layouts"
|
||||
publishDir = "public"
|
||||
|
||||
buildDrafts = false
|
||||
buildFuture = true
|
||||
buildExpired = false
|
||||
canonifyURLs = true
|
||||
|
||||
enableRobotsTXT = true
|
||||
enableGitInfo = false
|
||||
enableEmoji = true
|
||||
enableMissingTranslationPlaceholders = false
|
||||
disableRSS = false
|
||||
disableSitemap = false
|
||||
disable404 = false
|
||||
disableHugoGeneratorInject = false
|
||||
|
||||
[permalinks]
|
||||
posts = "/posts/:year/:month/:title/"
|
||||
|
||||
[author]
|
||||
name = "local-it"
|
||||
|
||||
[blackfriday]
|
||||
hrefTargetBlank = true
|
||||
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
category = "categories"
|
||||
series = "series"
|
||||
|
||||
[params]
|
||||
dateform = "Jan 2, 2006"
|
||||
dateformShort = "Jan 2"
|
||||
dateformNum = "2006-01-02"
|
||||
dateformNumTime = "2006-01-02 15:04 -0700"
|
||||
|
||||
# Metadata mostly used in document's head
|
||||
description = "Ein Barcamp auf dem Land!"
|
||||
keywords = "barcamp digitalisierung digitale souveränität local-it"
|
||||
images = [""]
|
||||
|
||||
homeSubtitle = "barcamp barcamp barcamp"
|
||||
|
||||
# Prefix of link to the git commit detail page. GitInfo must be enabled.
|
||||
# gitUrl = ""
|
||||
|
||||
# Set disableReadOtherPosts to true in order to hide the links to other posts.
|
||||
disableReadOtherPosts = false
|
||||
|
||||
# Sharing buttons
|
||||
# There are a lot of buttons preconfigured. If you want to change them,
|
||||
# generate the buttons here: https://sharingbuttons.io
|
||||
# and add them into your own `layouts/partials/sharing-buttons.html`
|
||||
enableSharingButtons = false
|
||||
|
||||
# Integrate Javascript files or stylesheets by adding the url to the external assets or by
|
||||
# linking local files with their path relative to the static folder, e.g. "css/styles.css"
|
||||
customCSS = ["css/custom.css"]
|
||||
customJS = []
|
||||
|
||||
# Toggle this option need to rebuild SCSS, requires extended version of Hugo
|
||||
justifyContent = false # Set "text-align: justify" to .post-content.
|
||||
|
||||
# Default theme "light" or "dark"
|
||||
defaultTheme = "light"
|
||||
themeColor = "#765d85"
|
||||
|
||||
# Colors for favicons
|
||||
[params.favicon.color]
|
||||
mask = "#252627"
|
||||
msapplication = "#252627"
|
||||
theme = "#252627"
|
||||
|
||||
[params.logo]
|
||||
logoText = "$"
|
||||
logoHomeLink = "/"
|
||||
# Set true to remove the logo cursor entirely.
|
||||
# logoCursorDisabled = false
|
||||
# Set to a valid CSS color to change the cursor in the logo.
|
||||
# logoCursorColor = "#67a2c9"
|
||||
# Set to a valid CSS time value to change the animation duration, "0s" to disable.
|
||||
# logoCursorAnimate = "2s"
|
||||
|
||||
# Social icons
|
||||
[[params.social]]
|
||||
name = "website"
|
||||
url = "https://local-it.org"
|
||||
|
||||
[[params.social]]
|
||||
name = "instagram"
|
||||
url = "#"
|
||||
|
||||
[[params.social]]
|
||||
name = "facebook"
|
||||
url = "#"
|
||||
|
||||
[[params.social]]
|
||||
name = "linkedin"
|
||||
url = "#"
|
||||
|
||||
[[params.social]]
|
||||
name = "github"
|
||||
url = "#"
|
||||
|
||||
[[params.social]]
|
||||
name = "reddit"
|
||||
url = "#"
|
||||
|
||||
[[params.social]]
|
||||
name = "keybase"
|
||||
url = "#"
|
||||
|
||||
[languages]
|
||||
[languages.en]
|
||||
subtitle = "Timeline"
|
||||
weight = 1
|
||||
copyright = ''
|
||||
|
||||
[languages.fr]
|
||||
subtitle = "Timeline"
|
||||
weight = 2
|
||||
copyright = '<a href="https://github.com/s4n7h0/hugo-theme-timeline/blob/main/LICENSE" target="_blank" rel="noopener">MIT</a>'
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
identifier = "timeline"
|
||||
name = "Timeline"
|
||||
url = "timeline/"
|
||||
weight = 1
|
||||
|
||||
|
||||
[markup]
|
||||
defaultMarkdownHandler = "goldmark"
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
18
content/timeline/day0.md
Normal file
18
content/timeline/day0.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
author:
|
||||
name: "yksflip"
|
||||
date: 2022-08-11
|
||||
publishdate: 2022-08-01
|
||||
draft: false
|
||||
linktitle: day0
|
||||
type:
|
||||
- post
|
||||
- posts
|
||||
title: Do. Tag0
|
||||
eventname: do.IT.local Barcamp
|
||||
summary: Ankommen und chillen - Abendessen 19uhr
|
||||
eventlocation: Mechow, Germany
|
||||
weight: 10
|
||||
---
|
||||
|
||||
##
|
19
content/timeline/day1.md
Normal file
19
content/timeline/day1.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
author:
|
||||
name: "yksflip"
|
||||
date: 2022-08-12
|
||||
publishdate: 2022-08-01
|
||||
draft: false
|
||||
linktitle: day1
|
||||
type:
|
||||
- post
|
||||
- posts
|
||||
title: Fr. Tag1
|
||||
eventname: do.IT.local Barcamp
|
||||
summary: hacken und schnacken
|
||||
eventlocation: Mechow, Germany
|
||||
weight: 10
|
||||
---
|
||||
|
||||
## Abstract
|
||||
|
18
content/timeline/day2.md
Normal file
18
content/timeline/day2.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
author:
|
||||
name: "yksflip"
|
||||
date: 2022-08-13
|
||||
publishdate: 2022-08-01
|
||||
draft: false
|
||||
linktitle: day2
|
||||
type:
|
||||
- post
|
||||
- posts
|
||||
title: Sa. Tag2
|
||||
eventname: do.IT.local Barcamp
|
||||
summary: hacken und schnacken
|
||||
eventlocation: Mechow, Germany
|
||||
weight: 10
|
||||
---
|
||||
|
||||
## Abstract
|
18
content/timeline/day3.md
Normal file
18
content/timeline/day3.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
author:
|
||||
name: "yksflip"
|
||||
date: 2022-08-14
|
||||
publishdate: 2022-08-01
|
||||
draft: false
|
||||
linktitle: day3
|
||||
type:
|
||||
- post
|
||||
- posts
|
||||
title: So. Tag3
|
||||
eventname: do.IT.local Barcamp
|
||||
summary: Abbau und Goodbyes
|
||||
eventlocation: Mechow, Germany
|
||||
weight: 10
|
||||
---
|
||||
|
||||
## Abstract
|
22
layouts/index.html
Normal file
22
layouts/index.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
{{ define "main" }}
|
||||
|
||||
<main aria-role="main">
|
||||
|
||||
|
||||
<div class="content">
|
||||
<div class="index-content framed">
|
||||
<h1 id="hello-there">Hi Barcamp!</h1>
|
||||
<p>Hier kommst du zur Timeline</p>
|
||||
<div align="center">
|
||||
<a class="read-more button" href="/timeline">View → </a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
{{ end }}
|
37
layouts/timeline/list.html
Normal file
37
layouts/timeline/list.html
Normal file
|
@ -0,0 +1,37 @@
|
|||
{{ define "main" }}
|
||||
{{ $paginator := .Paginate .Data.Pages }}
|
||||
|
||||
|
||||
<main class="posts">
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{ if .Content }}
|
||||
<div class="content">{{ .Content }}</div>
|
||||
{{ end }}
|
||||
|
||||
<section class="timeline">
|
||||
<div class="container" style="text-align: left!important">
|
||||
{{ range .Pages.ByDate }}
|
||||
|
||||
<div class="timeline-item">
|
||||
<div class="timeline-img"></div>
|
||||
|
||||
<div class="timeline-content js--fadeInLeft">
|
||||
<h2><a href="{{.Permalink}}"><span class="post-title">{{.Title}}</span></a></h2>
|
||||
<div class="date">{{ .Date.Format "Jan 2, 2006"}}</div>
|
||||
<p>
|
||||
{{.Params.Summary}}
|
||||
<!-- {{.Params.Eventname}}<br>
|
||||
{{.Params.Eventlocation}} -->
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
</main>
|
||||
{{ end }}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
{"Target":"main.805b1025016494ee5fd67b55b8ecd5e2b7c4a9f0bdda42e300c62b85ddfef68f.css","MediaType":"text/css","Data":{"Integrity":"sha256-gFsQJQFklO5f1ntVuOzV4rfEqfC92kLjAMYrhd3+9o8="}}
|
Loading…
Reference in a new issue