From 68c22afe782299a5efd54afd4e6367efd025aec9 Mon Sep 17 00:00:00 2001
From: Horus3
Date: Wed, 23 Nov 2016 18:07:51 +0100
Subject: Fügt contact form hinzu.
---
content/contact.md | 8 ++++++
content/thankyou.md | 8 ++++++
gulpfile.js | 8 +++++-
layouts/_default/list.html | 2 +-
layouts/_default/single.html | 2 +-
layouts/contact/single.html | 33 +++++++++++++++++++++++
layouts/index.html | 4 +--
layouts/thankyou/single.html | 17 ++++++++++++
layouts/uhttpd/single.html | 6 ++---
static/custom.css | 63 +++++++++++++++++++++++++++++++++++++++++---
10 files changed, 139 insertions(+), 12 deletions(-)
create mode 100644 content/contact.md
create mode 100644 content/thankyou.md
create mode 100644 layouts/contact/single.html
create mode 100644 layouts/thankyou/single.html
diff --git a/content/contact.md b/content/contact.md
new file mode 100644
index 0000000..263c018
--- /dev/null
+++ b/content/contact.md
@@ -0,0 +1,8 @@
++++
+date = "2016-11-18T11:10:19+02:00"
+draft = false
+title = "contact me"
+type = "contact"
+layout = "single"
+
++++
diff --git a/content/thankyou.md b/content/thankyou.md
new file mode 100644
index 0000000..9d080a4
--- /dev/null
+++ b/content/thankyou.md
@@ -0,0 +1,8 @@
++++
+date = "2016-11-18T11:10:19+02:00"
+draft = false
+title = "thank you"
+type = "thankyou"
+layout = "single"
+
++++
diff --git a/gulpfile.js b/gulpfile.js
index e413a14..43c1167 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -13,7 +13,7 @@ gulp.task('concat', function() {
gulp.task('uncss', function() {
return gulp.src('static/concat.css')
.pipe(uncss({
- html: ['public/*.html', 'public/projects/*.html', 'public/journal/*.html', 'public/journal/**/*.html'],
+ html: ['public/*.html', 'public/projects/*.html', 'public/journal/*.html', 'public/journal/**/*.html', 'public/thankyou/*.html', 'public/contact/*.html'],
ignore: ['.text-right', '.text-left']
}))
.pipe(cssnano())
@@ -27,6 +27,12 @@ gulp.task('minifyhtml', function() {
gulp.src('public/projects/*.html')
.pipe(htmlmin({collapseWhitespace: true}))
.pipe(gulp.dest('public/projects/'));
+ gulp.src('public/thankyou/*.html')
+ .pipe(htmlmin({collapseWhitespace: true}))
+ .pipe(gulp.dest('public/thankyou/'));
+ gulp.src('public/contact/*.html')
+ .pipe(htmlmin({collapseWhitespace: true}))
+ .pipe(gulp.dest('public/contact/'));
gulp.src('public/journal/*/*.html')
.pipe(htmlmin({collapseWhitespace: true}))
.pipe(gulp.dest('public/journal/'));
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 0c2fc41..8f648dd 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -3,7 +3,7 @@
{{.Title}}
{{.Title}}
+
+{{.Title}}
+ go back +
+