commit 2d6303f55883884fcdcff3832f5889c57b5808f3 Author: Thorsten Riess Date: Tue Mar 21 15:58:34 2017 +0100 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..11e108a --- /dev/null +++ b/.gitignore @@ -0,0 +1,47 @@ +# Created by .ignore support plugin (hsz.mobi) +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff: +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/dictionaries + +# Sensitive or high-churn files: +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.xml +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml + +# Gradle: +.idea/**/gradle.xml +.idea/**/libraries + +# Mongo Explorer plugin: +.idea/**/mongoSettings.xml + +## File-based project format: +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +/.idea diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..7c830ba --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/retrofulhugo"] + path = themes/retrofulhugo + url = https://github.com/5armale/retrofulhugo.git diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..d37e6f7 --- /dev/null +++ b/config.toml @@ -0,0 +1,35 @@ +baseurl = "http://www.neu-trifft-alt.de/" +languageCode = "de-de" +title = "Neu trifft alt" +theme = "retrofulhugo" +pygmentsUseClasses = true +#googleAnalytics = "XXX" +#disqusShortname = "XXX" + +[Params] + subtitle = "" + logo = "img/srm.png" + favicon = "img/favicon.ico" + commit = false + +[Author] + handle = "tecer" + name = "your name" + email = "info@neu-trifft-alt.de" +# github = "your github account" +# twitter = "your twitter handle" + +[[menu.main]] + name = "Über" + url = "/about" + weight = 1 + +[[menu.main]] + name = "hacKNology e.V." + url = "https://www.hacknology.de" + weight = 2 + +[[menu.main]] + name = "CompuRama e.V." + url = "https://www.compurama-radolfzell.de" + weight = 3 \ No newline at end of file diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..1fa3e75 --- /dev/null +++ b/content/about.md @@ -0,0 +1,9 @@ ++++ +bigimg = "/img/Header.neu-trifft-alt.V.0.22.jpg" +title = "Neu-trifft-Alt" +date = "2017-03-20" ++++ + + + +Neu-trifft-Alt ist ein Gemeinschaftsprojekt von... \ No newline at end of file diff --git a/content/post/03/20/neu-trifft-alt-es-geht-los.md b/content/post/03/20/neu-trifft-alt-es-geht-los.md new file mode 100644 index 0000000..a3d3f3c --- /dev/null +++ b/content/post/03/20/neu-trifft-alt-es-geht-los.md @@ -0,0 +1,8 @@ ++++ +date = "2017-03-21T14:57:37+01:00" +subtitle = "" +title = "Neu-trifft-Alt: es geht los!" +author = "tcr" ++++ + +Erster Eintrag. diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..8858ceb --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,30 @@ + + + + {{ partial "head.html" . }} + + + + {{ partial "nav.html" . }} + +
+ + {{ partial "header_wp.html" . }} + + {{ if eq .Type "post" }} + {{ partial "post.html" . }} + {{ else if eq .Type "page" }} + {{ partial "page.html" . }} + {{ else }} +
+ NO MATCHING PARTIAL + {{.Content}} +
+ {{ end }} + +
+ + {{ partial "footer.html" . }} + + + diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..934fb43 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,80 @@ + + + + {{ partial "head.html" . }} + + + + {{ partial "nav.html" . }} + +
+
+
+
+
+
+ + {{if .Site.Params.subtitle}} +
+ {{.Site.Params.subtitle}} + {{end}} +
+
+
+
+
+
+ + +
+
+
+
+ {{ $pag := .Paginate (where .Data.Pages "Type" "post") }} + {{ range $pag.Pages }} + + {{ end }} +
+ + {{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }} + + {{ end }} +
+
+
+ + {{ partial "footer.html" . }} + + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..2e2a30b --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,21 @@ +
+
+
+
+

{{ if .Title }}{{ .Title }}{{ else }}
{{ end }}

+ {{ if .Params.subtitle }} + {{ if eq .Type "page" }} +
+ {{ .Params.subtitle }} + {{ else }} +

{{ .Params.subtitle }}

+ {{ end }} + {{ end }} + + {{ if eq .Type "post" }} + + {{ end }} +
+
+
+
diff --git a/static/img/Header.neu-trifft-alt.V.0.22.jpg b/static/img/Header.neu-trifft-alt.V.0.22.jpg new file mode 100644 index 0000000..5341d37 Binary files /dev/null and b/static/img/Header.neu-trifft-alt.V.0.22.jpg differ diff --git a/static/img/favicon.ico b/static/img/favicon.ico new file mode 100644 index 0000000..5a3acef Binary files /dev/null and b/static/img/favicon.ico differ diff --git a/static/img/srm.png b/static/img/srm.png new file mode 100644 index 0000000..8d45502 Binary files /dev/null and b/static/img/srm.png differ diff --git a/themes/retrofulhugo b/themes/retrofulhugo new file mode 160000 index 0000000..045b88d --- /dev/null +++ b/themes/retrofulhugo @@ -0,0 +1 @@ +Subproject commit 045b88deaedf982f550259e967cacd7a9d876596