Initial commit

master
Thorsten Riess 6 years ago
commit 2d6303f558

47
.gitignore vendored

@ -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

3
.gitmodules vendored

@ -0,0 +1,3 @@
[submodule "themes/retrofulhugo"]
path = themes/retrofulhugo
url = https://github.com/5armale/retrofulhugo.git

@ -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

@ -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...

@ -0,0 +1,8 @@
+++
date = "2017-03-21T14:57:37+01:00"
subtitle = ""
title = "Neu-trifft-Alt: es geht los!"
author = "tcr"
+++
Erster Eintrag.

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="de">
{{ partial "head.html" . }}
<body>
{{ partial "nav.html" . }}
<div role="main" class="container main-content">
{{ partial "header_wp.html" . }}
{{ if eq .Type "post" }}
{{ partial "post.html" . }}
{{ else if eq .Type "page" }}
{{ partial "page.html" . }}
{{ else }}
<div class="container" role="main">
NO MATCHING PARTIAL
{{.Content}}
</div>
{{ end }}
</div>
{{ partial "footer.html" . }}
</body>
</html>

@ -0,0 +1,80 @@
<!DOCTYPE html>
<html lang="de">
{{ partial "head.html" . }}
<body>
{{ partial "nav.html" . }}
<header class="header-section ">
<div class="intro-header no-img">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="page-heading">
<!-- <h1>{{.Site.Title}}</h1> -->
{{if .Site.Params.subtitle}}
<hr class="small">
<span class="page-subheading">{{.Site.Params.subtitle}}</span>
{{end}}
</div>
</div>
</div>
</div>
</div>
</header>
<div role="main" class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="posts-list">
{{ $pag := .Paginate (where .Data.Pages "Type" "post") }}
{{ range $pag.Pages }}
<article class="post-preview">
<a href="{{ .Permalink }}">
<h1 class="post-title">{{ .Title }}</h1>
{{ if .Params.subtitle }}
<h3 class="post-subtitle">
{{ .Params.subtitle }}
</h3>
{{ end }}
</a>
<p class="post-meta">
Ver&ouml;ffentlicht am {{ .Date.Format "2.1.2006" }} | von {{ .Site.Author.handle }}
</p>
<div class="post-entry">
<p>{{ .Summary }}</p>
<a href="{{ .Permalink }}" class="post-read-more">[MEHR]</a>
</div>
</article>
{{ end }}
</div>
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
<ul class="pager main-pager">
{{ if .Paginator.HasPrev }}
<li class="previous">
<a href="{{ .URL }}page/{{ .Paginator.Prev.PageNumber }}">&larr; Newer Posts</a>
</li>
{{ end }}
{{ if .Paginator.HasNext }}
<li class="next">
<a href="{{ .URL }}page/{{ .Paginator.Next.PageNumber }}">Older Posts &rarr;</a>
</li>
{{ end }}
</ul>
{{ end }}
</div>
</div>
</div>
{{ partial "footer.html" . }}
</body>
</html>

@ -0,0 +1,21 @@
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="{{ .Type }}-heading">
<h1>{{ if .Title }}{{ .Title }}{{ else }}<br/>{{ end }}</h1>
{{ if .Params.subtitle }}
{{ if eq .Type "page" }}
<hr class="small">
<span class="{{ .Type }}-subheading">{{ .Params.subtitle }}</span>
{{ else }}
<h2 class="{{ .Type }}-subheading">{{ .Params.subtitle }}</h2>
{{ end }}
{{ end }}
{{ if eq .Type "post" }}
<span class="post-meta">Ver&ouml;ffentlicht am {{ .Date.Format "2.1.2006" }} | von {{ .Params.author }} </span>
{{ end }}
</div>
</div>
</div>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

@ -0,0 +1 @@
Subproject commit 045b88deaedf982f550259e967cacd7a9d876596
Loading…
Cancel
Save