From c97cc68e61c35279f5bca6f54d19f890561d3573 Mon Sep 17 00:00:00 2001 From: Tony Tkacik Date: Tue, 20 Dec 2016 20:22:30 +0100 Subject: [PATCH] baseline for dfx-mdl Signed-off-by: Tony Tkacik --- .gitmodules | 3 + 3rd-party/quantum-colors | 1 + _config.yml | 37 +++-- _includes/cards.html | 31 +++++ _includes/footer.html | 4 +- _includes/head.html | 9 +- _includes/header.html | 13 +- _includes/header_fixed.html | 12 +- _includes/navigation.html | 14 ++ _layouts/default.html | 16 ++- _layouts/page.html | 15 ++- _layouts/post.html | 20 +-- _sass/_asciidoc.scss | 240 +++++++++++++++++++++++++++++++++ _sass/_base.scss | 45 +++++-- _sass/_post.scss | 11 +- _sass/_quantum-colors.scss | 1 + _sass/adoc-material-icons.scss | 0 asciidoc-preview.adoc | 69 ++++++++++ css/coderay_github.css | 124 +++++++++++++++++ css/coderay_twilight.css | 134 ++++++++++++++++++ css/main.scss | 26 +++- css/quickie.css | 0 22 files changed, 754 insertions(+), 71 deletions(-) create mode 100644 .gitmodules create mode 160000 3rd-party/quantum-colors create mode 100644 _includes/cards.html create mode 100644 _includes/navigation.html create mode 100644 _sass/_asciidoc.scss create mode 120000 _sass/_quantum-colors.scss create mode 100644 _sass/adoc-material-icons.scss create mode 100644 asciidoc-preview.adoc create mode 100644 css/coderay_github.css create mode 100644 css/coderay_twilight.css create mode 100644 css/quickie.css diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..cc3c512 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "3rd-party/quantum-colors"] + path = 3rd-party/quantum-colors + url = git@github.com:nkpfstr/quantum-colors.git diff --git a/3rd-party/quantum-colors b/3rd-party/quantum-colors new file mode 160000 index 0000000..30e54b1 --- /dev/null +++ b/3rd-party/quantum-colors @@ -0,0 +1 @@ +Subproject commit 30e54b1e5db47b0ac496b0f93c485ffb1ab83148 diff --git a/_config.yml b/_config.yml index 63f6a95..a2aa518 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,5 @@ # Site settings -title: Your awesome title +title: fašnmejkr email: your-email@domain.com description: > # this means to ignore newlines until "baseurl:" Write an awesome description for your new site here. You can edit this @@ -7,6 +7,8 @@ description: > # this means to ignore newlines until "baseurl:" Google search results) and in your feed.xml site description. baseurl: "" # the subpath of your site, e.g. /blog/ url: "http://yourdomain.com" # the base hostname & protocol for your site + +# FIXME: Should be better structured twitter_username: jekyllrb github_username: jekyll google_play: 'GDGX' @@ -15,23 +17,32 @@ google_plus_per: '+GDGManagua' #Personal link facebook_app_id: 12345 # Layout settings +# FIXME: Should be renamed header_type: default # values [ drawer, default ] post_type: highlight # values [ highlight, default ] pagination_type: default # values [ ops, default ] -more_vert: - option1: - name: Cool Option 1 - link: www.myawesomelink.com - option2: - name: Cool Option 2 - link: www.myawesomelink.com - option3: - name: Cool Option 3 - link: www.myawesomelink.com - -disqus: true +disqus: false disqus_shortname: 'gdgmanagua' # Build settings markdown: kramdown + +material: + primary: purple + secondary: pink + + +# Enable for Asciidoc +# gems: +# - jekyll-asciidoc +# +# +#asciidoc: {} +#asciidoctor: +# base_dir: :docdir +# safe: unsafe +# attributes: +# - idseparator=_ +# - source-highlighter=coderay +# - icons=font diff --git a/_includes/cards.html b/_includes/cards.html new file mode 100644 index 0000000..d24365b --- /dev/null +++ b/_includes/cards.html @@ -0,0 +1,31 @@ +
+ +{% for post in cards %} +
+ + +
+ {{ post.date | date: "%b %-d, %Y" }} +

{{ post.excerpt }}

+
+ +
+ + +
+
+ + {% endfor %} +
diff --git a/_includes/footer.html b/_includes/footer.html index 461cc31..093243e 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -80,7 +80,7 @@ {% endif %} - + @@ -99,7 +99,7 @@ diff --git a/_includes/head.html b/_includes/head.html index e5e5c1e..397c7a1 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -10,11 +10,16 @@ - - + + + + + diff --git a/_includes/header.html b/_includes/header.html index 0fa8731..eceb1b5 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,3 +1,4 @@ +
@@ -5,7 +6,7 @@ {{ site.title }}
- +
-
Menu - + {% include navigation.html %}
- diff --git a/_includes/header_fixed.html b/_includes/header_fixed.html index c56986f..ce289dd 100644 --- a/_includes/header_fixed.html +++ b/_includes/header_fixed.html @@ -1,6 +1,6 @@
- +
search - +
@@ -30,11 +30,5 @@
{{ site.title }} - + {% include navigation.html %}
diff --git a/_includes/navigation.html b/_includes/navigation.html new file mode 100644 index 0000000..117a23b --- /dev/null +++ b/_includes/navigation.html @@ -0,0 +1,14 @@ + diff --git a/_layouts/default.html b/_layouts/default.html index 1a4df72..728fb0f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,22 +11,26 @@ {% include search_result.html %} {% include header_fixed.html %} {% else %} -
- {% include search_result.html %} +
{% include header.html %} {% endif %} - {{ content }} - {% include footer.html %} +
+ {{ content }} + {% include footer.html %} +
- - {% if site.pagination_type == 'ops' %} {% endif %} + + + + +