From aeb7f51debfbdc20be10e2efbdb4cd603fd5d965 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Tue, 18 Dec 2018 20:00:38 +0100 Subject: [PATCH] blogs n shit --- project.clj | 4 +- .../page/blogs/datblag/entries/01-entry.md | 4 +- .../page/blogs/datblag/entries/02-entry.md | 11 + .../page/blogs/datblag/entries/03-entry.md | 7 + resources/page/index.html | 18 +- resources/page/resources/style.css | 78 +++++++ .../page/sites/{02+about.md => about.md} | 0 resources/page/sites/impressum.md | 19 ++ .../page/sites/{01+index.md => index.md} | 2 + src/equilibrium/blog.clj | 40 ++-- src/equilibrium/core.clj | 13 ++ src/equilibrium/render.clj | 206 +++++++++++------- 12 files changed, 305 insertions(+), 97 deletions(-) create mode 100644 resources/page/blogs/datblag/entries/02-entry.md create mode 100644 resources/page/blogs/datblag/entries/03-entry.md create mode 100644 resources/page/resources/style.css rename resources/page/sites/{02+about.md => about.md} (100%) create mode 100644 resources/page/sites/impressum.md rename resources/page/sites/{01+index.md => index.md} (57%) create mode 100644 src/equilibrium/core.clj diff --git a/project.clj b/project.clj index f88d19b..5a6199a 100644 --- a/project.clj +++ b/project.clj @@ -3,6 +3,8 @@ :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} - :dependencies [[com.velisco/clj-ftp "0.3.12"] + :dependencies [[org.clojure/clojure "1.10.0"] + [me.raynes/fs "1.4.6"] + [com.velisco/clj-ftp "0.3.12"] [markdown-clj "1.0.5"]] :eval-in-leiningen true) diff --git a/resources/page/blogs/datblag/entries/01-entry.md b/resources/page/blogs/datblag/entries/01-entry.md index 6607df3..0604a61 100644 --- a/resources/page/blogs/datblag/entries/01-entry.md +++ b/resources/page/blogs/datblag/entries/01-entry.md @@ -2,4 +2,6 @@ {:title "first entry"} --- -# JAHOOO +# FIRST + +hallo welt diff --git a/resources/page/blogs/datblag/entries/02-entry.md b/resources/page/blogs/datblag/entries/02-entry.md new file mode 100644 index 0000000..af73ed1 --- /dev/null +++ b/resources/page/blogs/datblag/entries/02-entry.md @@ -0,0 +1,11 @@ +--- +{:title "second entry"} +--- + +# SECOND + +Inhalt und so + + + +hallo welt wieder diff --git a/resources/page/blogs/datblag/entries/03-entry.md b/resources/page/blogs/datblag/entries/03-entry.md new file mode 100644 index 0000000..fa0e8af --- /dev/null +++ b/resources/page/blogs/datblag/entries/03-entry.md @@ -0,0 +1,7 @@ +--- +{:title "third entry"} +--- + +# THIRD + +hallo welt wieder wieder diff --git a/resources/page/index.html b/resources/page/index.html index c437270..e6e04d6 100644 --- a/resources/page/index.html +++ b/resources/page/index.html @@ -3,17 +3,23 @@ - Equilibrium page &:title + &:title - joshavg + + - +
+ +
&:content
-