Commit b799a8ec authored by Christoph Cullmann's avatar Christoph Cullmann

import parts of https://github.com/christoph-cullmann/cullmann.io as base for...

import parts of https://github.com/christoph-cullmann/cullmann.io as base for new kate-editor.org page
parent ea5a6b52

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

/public/
/resources/
{
"name": "cullmann.io"
, "files": [ { "git": 1 } ]
}
# kate-editor.org
kate-editor.org web site
\ No newline at end of file
# cullmann.io
cullmann.io website
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
# our homepage url
baseURL = "https://cullmann.io/"
# cullmann.io website
title = "cullmann.io"
# theme
theme = "hugo-coder"
# content == english, Impressum is german
languagecode = "en"
defaultcontentlanguage = "en"
# pagination
paginate = 20
# allow git
enableGitInfo = true
# nice urls
canonifyurls = true
# pygment settings
pygmentsstyle = "b2"
pygmentscodefences = true
pygmentscodefencesguesssyntax = true
# add info for crawlers
enableRobotsTXT = true
[outputs]
# JSON for search
home = ["HTML", "RSS", "JSON"]
[params]
# me
author = "Christoph Cullmann"
# what's this?
description = "Christoph Cullmann's personal website"
# some keywords
keywords = "blog,developer,personal"
# my profession
info = "Software Engineer"
# my cartoon variant ;=)
avatarurl = "images/christoph_avatar.jpg"
# ;=) how true
footercontent = "Ignorance is bliss..."
# nice footer
hideCredits = true
hideCopyright = false
commit = "https://github.com/christoph-cullmann/cullmann.io/tree/"
# no right to left
rtl = false
# Use inverted colors
inverted = true
# Series see also post count
maxSeeAlsoItems = 5
# Custom CSS
custom_css = []
#
# links to my public profiles
#
[[params.social]]
name = "E-Mail"
icon = "fa fa-envelope"
weight = 1
url = "mailto:christoph@cullmann.io"
[[params.social]]
name = "GitHub"
icon = "fab fa-github"
weight = 2
url = "https://github.com/christoph-cullmann/"
[[params.social]]
name = "GitLab"
icon = "fab fa-gitlab"
weight = 3
url = "https://gitlab.com/cullmann"
[[params.social]]
name = "Twitter"
icon = "fab fa-twitter"
weight = 4
url = "https://twitter.com/ChrCullmann/"
[[params.social]]
name = "YouTube"
icon = "fab fa-youtube"
weight = 5
url = "https://www.youtube.com/c/ChristophCullmann/"
[[params.social]]
name = "amazon.de"
icon = "fab fa-amazon"
weight = 6
url = "https://www.amazon.de/gp/profile/amzn1.account.AGWKWWFPCHLCW6E33CEFF7XKIHAQ"
#
# main menu
#
[menu]
[[menu.main]]
name = "About"
url = "about/"
weight = 10
[[menu.main]]
name = "Posts"
url = "posts/"
weight = 20
[[menu.main]]
name = "Projects"
url = "projects/"
weight = 30
[[menu.main]]
name = "Academic"
url = "academic/"
weight = 40
[[menu.main]]
name = "Links"
url = "links/"
weight = 50
[[menu.main]]
name = "Search"
url = "search/"
weight = 60
[[menu.main]]
name = "Impressum"
url = "impressum/"
weight = 70
# maximal privacy
[privacy]
[privacy.disqus]
disable = true
[privacy.googleAnalytics]
disable = true
[privacy.instagram]
disable = true
[privacy.twitter]
disable = true
[privacy.vimeo]
disable = true
[privacy.youtube]
disable = true
File added
{{- $.Scratch.Add "index" slice -}}
{{- range .Site.RegularPages -}}
{{- $.Scratch.Add "index" (dict "title" .Title "tags" .Params.tags "categories" .Params.categories "contents" .Plain "permalink" .Permalink) -}}
{{- end -}}
{{- $.Scratch.Get "index" | jsonify -}}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{ with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end }}
{{ range .Pages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{- .Content | html -}}</description>
</item>
{{ end }}
</channel>
</rss>
{{ define "content" }}
<!-- needed script magic -->
<script src="/js/jquery-3.4.0.js"></script>
<script src="/js/fuse.js"></script>
<script src="/js/jquery.mark.js"></script>
<script src="/js/search.js"></script>
<!-- search content -->
<section class="container page">
<header>
<h1>Search</h1>
</header>
<article>
<form action="{{ "search" | absURL }}">