Explorar el Código

Initial commit

Thorsten Riess hace 2 años
commit
2d6303f558

+ 47
- 0
.gitignore Ver fichero

@@ -0,0 +1,47 @@
1
+# Created by .ignore support plugin (hsz.mobi)
2
+### JetBrains template
3
+# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
4
+# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
5
+
6
+# User-specific stuff:
7
+.idea/**/workspace.xml
8
+.idea/**/tasks.xml
9
+.idea/dictionaries
10
+
11
+# Sensitive or high-churn files:
12
+.idea/**/dataSources/
13
+.idea/**/dataSources.ids
14
+.idea/**/dataSources.xml
15
+.idea/**/dataSources.local.xml
16
+.idea/**/sqlDataSources.xml
17
+.idea/**/dynamic.xml
18
+.idea/**/uiDesigner.xml
19
+
20
+# Gradle:
21
+.idea/**/gradle.xml
22
+.idea/**/libraries
23
+
24
+# Mongo Explorer plugin:
25
+.idea/**/mongoSettings.xml
26
+
27
+## File-based project format:
28
+*.iws
29
+
30
+## Plugin-specific files:
31
+
32
+# IntelliJ
33
+/out/
34
+
35
+# mpeltonen/sbt-idea plugin
36
+.idea_modules/
37
+
38
+# JIRA plugin
39
+atlassian-ide-plugin.xml
40
+
41
+# Crashlytics plugin (for Android Studio and IntelliJ)
42
+com_crashlytics_export_strings.xml
43
+crashlytics.properties
44
+crashlytics-build.properties
45
+fabric.properties
46
+
47
+/.idea

+ 3
- 0
.gitmodules Ver fichero

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

+ 35
- 0
config.toml Ver fichero

@@ -0,0 +1,35 @@
1
+baseurl = "http://www.neu-trifft-alt.de/"
2
+languageCode = "de-de"
3
+title = "Neu trifft alt"
4
+theme = "retrofulhugo"
5
+pygmentsUseClasses = true
6
+#googleAnalytics = "XXX"
7
+#disqusShortname = "XXX"
8
+
9
+[Params]
10
+  subtitle = ""
11
+  logo = "img/srm.png"
12
+  favicon = "img/favicon.ico"
13
+  commit = false
14
+
15
+[Author]
16
+  handle = "tecer"
17
+  name = "your name"
18
+  email = "info@neu-trifft-alt.de"
19
+#  github = "your github account"
20
+#  twitter = "your twitter handle"
21
+
22
+[[menu.main]]
23
+  name = "Über"
24
+  url = "/about"
25
+  weight = 1
26
+
27
+[[menu.main]]
28
+  name = "hacKNology e.V."
29
+  url = "https://www.hacknology.de"
30
+  weight = 2
31
+
32
+[[menu.main]]
33
+  name = "CompuRama e.V."
34
+  url = "https://www.compurama-radolfzell.de"
35
+  weight = 3

+ 9
- 0
content/about.md Ver fichero

@@ -0,0 +1,9 @@
1
++++
2
+bigimg = "/img/Header.neu-trifft-alt.V.0.22.jpg"
3
+title = "Neu-trifft-Alt"
4
+date = "2017-03-20"
5
++++
6
+
7
+
8
+
9
+Neu-trifft-Alt ist ein Gemeinschaftsprojekt von...

+ 8
- 0
content/post/03/20/neu-trifft-alt-es-geht-los.md Ver fichero

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

+ 30
- 0
layouts/_default/single.html Ver fichero

@@ -0,0 +1,30 @@
1
+<!DOCTYPE html>
2
+<html lang="de">
3
+
4
+  {{ partial "head.html" . }}
5
+
6
+  <body>
7
+
8
+    {{ partial "nav.html" . }}
9
+
10
+    <div role="main" class="container main-content">
11
+
12
+      {{ partial "header_wp.html" . }}
13
+	  
14
+      {{ if eq .Type "post" }}
15
+        {{ partial "post.html" . }}
16
+      {{ else if eq .Type "page" }}
17
+        {{ partial "page.html" . }}
18
+      {{ else }}
19
+        <div class="container" role="main">
20
+          NO MATCHING PARTIAL
21
+          {{.Content}}
22
+        </div>
23
+      {{ end }}
24
+
25
+    </div>
26
+
27
+    {{ partial "footer.html" . }}
28
+
29
+  </body>
30
+</html>

+ 80
- 0
layouts/index.html Ver fichero

@@ -0,0 +1,80 @@
1
+<!DOCTYPE html>
2
+<html lang="de">
3
+
4
+  {{ partial "head.html" . }}
5
+
6
+  <body>
7
+
8
+    {{ partial "nav.html" . }}
9
+
10
+    <header class="header-section ">
11
+      <div class="intro-header no-img">
12
+        <div class="container">
13
+          <div class="row">
14
+            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
15
+              <div class="page-heading">
16
+											<!-- <h1>{{.Site.Title}}</h1> -->
17
+                {{if .Site.Params.subtitle}}
18
+                  <hr class="small">
19
+                  <span class="page-subheading">{{.Site.Params.subtitle}}</span>
20
+                {{end}}
21
+              </div>
22
+            </div>
23
+          </div>
24
+        </div>
25
+      </div>
26
+    </header>
27
+
28
+
29
+    <div role="main" class="container">
30
+      <div class="row">
31
+        <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
32
+          <div class="posts-list">
33
+            {{ $pag := .Paginate (where .Data.Pages "Type" "post") }}
34
+            {{ range $pag.Pages }}
35
+            <article class="post-preview">
36
+              <a href="{{ .Permalink }}">
37
+          	  <h1 class="post-title">{{ .Title }}</h1>
38
+          	
39
+          	  {{ if .Params.subtitle }}
40
+          	  <h3 class="post-subtitle">
41
+          	    {{ .Params.subtitle }}
42
+          	  </h3>
43
+          	  {{ end }}  
44
+              </a>
45
+
46
+              <p class="post-meta">
47
+							Ver&ouml;ffentlicht am {{ .Date.Format "2.1.2006" }} | von {{ .Site.Author.handle }}
48
+              </p>
49
+            
50
+              <div class="post-entry">
51
+											<p>{{ .Summary }}</p>
52
+								<a href="{{ .Permalink }}" class="post-read-more">[MEHR]</a>
53
+              </div>
54
+            
55
+             </article>
56
+            {{ end }}
57
+          </div>
58
+
59
+          {{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
60
+          <ul class="pager main-pager">
61
+            {{ if .Paginator.HasPrev }}
62
+            <li class="previous">
63
+              <a href="{{ .URL }}page/{{ .Paginator.Prev.PageNumber }}">&larr; Newer Posts</a>
64
+            </li>
65
+            {{ end }}
66
+            {{ if .Paginator.HasNext }}
67
+            <li class="next">
68
+              <a href="{{ .URL }}page/{{ .Paginator.Next.PageNumber }}">Older Posts &rarr;</a>
69
+            </li>
70
+            {{ end }}
71
+          </ul>
72
+          {{ end }}
73
+        </div>
74
+      </div>
75
+    </div>
76
+
77
+    {{ partial "footer.html" . }}
78
+
79
+  </body>
80
+</html>

+ 21
- 0
layouts/partials/header.html Ver fichero

@@ -0,0 +1,21 @@
1
+  <div class="container">
2
+    <div class="row">
3
+      <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
4
+        <div class="{{ .Type }}-heading">
5
+          <h1>{{ if .Title }}{{ .Title }}{{ else }}<br/>{{ end }}</h1>
6
+      {{ if .Params.subtitle }}
7
+        {{ if eq .Type "page" }}
8
+            <hr class="small">
9
+            <span class="{{ .Type }}-subheading">{{ .Params.subtitle }}</span>
10
+      {{ else }}
11
+      <h2 class="{{ .Type }}-subheading">{{ .Params.subtitle }}</h2>
12
+      {{ end }}
13
+      {{ end }}
14
+      
15
+      {{ if eq .Type "post" }}
16
+			<span class="post-meta">Ver&ouml;ffentlicht am {{ .Date.Format "2.1.2006" }} | von {{ .Params.author }} </span>
17
+      {{ end }}
18
+        </div>
19
+      </div>
20
+    </div>
21
+  </div>

BIN
static/img/Header.neu-trifft-alt.V.0.22.jpg Ver fichero


BIN
static/img/favicon.ico Ver fichero


BIN
static/img/srm.png Ver fichero


+ 1
- 0
themes/retrofulhugo

@@ -0,0 +1 @@
1
+Subproject commit 045b88deaedf982f550259e967cacd7a9d876596

Loading…
Cancelar
Guardar