From fb0fe76c68b0e1f4700ef605f8fd372540b1ed0c Mon Sep 17 00:00:00 2001 From: Maddane Motaquillah Date: Sat, 30 Jan 2016 14:39:36 +0100 Subject: [PATCH 1/8] Update README file --- README.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 761e0ed5..e117178a 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ # Daktilo Daktilo is a [Jekyll](jekyllrb.com) theme with a minimal design inspired from typewriters. -# Live preview -[Click here](http://hitchhiker.ma/daktilo/) to see the theme in action. +# More info and Live preview +[Click here](http://daktilo.github.io/) to see the theme in action. # Features - Fully responsive @@ -46,15 +46,6 @@ permalink: /categories/an-awesome-category/ - Then you will see it in the footer in the `Explore` section. -# Sneak peek - -![img][home_desktop] - -![img][home_phone] - -[home_desktop]: https://raw.githubusercontent.com/kronik3r/assets/master/daktilo/desktop.png -[home_phone]: https://raw.githubusercontent.com/kronik3r/assets/master/daktilo/phone.png - # License The contents of this repository is licensed under [The MIT License.](https://opensource.org/licenses/MIT) \ No newline at end of file From 8f504d7bc8ecffd0031eecc3d36ee67e766166ca Mon Sep 17 00:00:00 2001 From: pavdmyt Date: Wed, 3 Feb 2016 14:26:20 +0200 Subject: [PATCH 2/8] SEO: sitemap.xml and robots.txt added. --- 404.html | 2 ++ css/main.scss | 2 ++ feed.xml | 2 ++ index.html | 2 ++ robots.txt | 9 +++++++++ sitemap.xml | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 73 insertions(+) create mode 100644 robots.txt create mode 100644 sitemap.xml diff --git a/404.html b/404.html index 84f339f3..d2a58090 100644 --- a/404.html +++ b/404.html @@ -1,6 +1,8 @@ --- layout: page title: 404 +sitemap: + exclude: 'yes' ---

diff --git a/css/main.scss b/css/main.scss index 83a49628..04c05e6b 100755 --- a/css/main.scss +++ b/css/main.scss @@ -1,5 +1,7 @@ --- # Only the main Sass file needs front matter (the dashes are enough) +sitemap: + exclude: 'yes' --- @charset "utf-8"; diff --git a/feed.xml b/feed.xml index a6628bd8..d5497d2c 100644 --- a/feed.xml +++ b/feed.xml @@ -1,5 +1,7 @@ --- layout: null +sitemap: + exclude: 'yes' --- diff --git a/index.html b/index.html index c798cc0d..5197b6b5 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,8 @@ layout: page title: Blog subtitle: Hitchhiker's guid to web development +sitemap: + priority: 0.9 ---
    diff --git a/robots.txt b/robots.txt new file mode 100644 index 00000000..690230f4 --- /dev/null +++ b/robots.txt @@ -0,0 +1,9 @@ +--- +layout: null +sitemap: + exclude: 'yes' +--- +User-agent: * +Disallow: + +Sitemap: {{ site.url }}/sitemap.xml diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 00000000..3fdc7a0d --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,56 @@ +--- +layout: null +sitemap: + exclude: 'yes' +--- + + + {% for post in site.posts %} + {% unless post.published == false %} + + {{ site.url }}{{ post.url }}/ + {% if post.sitemap.lastmod %} + {{ post.sitemap.lastmod | date: "%Y-%m-%d" }} + {% elsif post.date %} + {{ post.date | date_to_xmlschema }} + {% else %} + {{ site.time | date_to_xmlschema }} + {% endif %} + {% if post.sitemap.changefreq %} + {{ post.sitemap.changefreq }} + {% else %} + monthly + {% endif %} + {% if post.sitemap.priority %} + {{ post.sitemap.priority }} + {% else %} + 0.7 + {% endif %} + + {% endunless %} + {% endfor %} + {% for page in site.pages %} + {% unless page.sitemap.exclude == "yes" %} + + {{ site.url }}{{ page.url | remove: "index.html" }} + {% if page.sitemap.lastmod %} + {{ page.sitemap.lastmod | date: "%Y-%m-%d" }} + {% elsif page.date %} + {{ page.date | date_to_xmlschema }} + {% else %} + {{ site.time | date_to_xmlschema }} + {% endif %} + {% if page.sitemap.changefreq %} + {{ page.sitemap.changefreq }} + {% else %} + monthly + {% endif %} + {% if page.sitemap.priority %} + {{ page.sitemap.priority }} + {% else %} + 0.5 + {% endif %} + + {% endunless %} + {% endfor %} + From aedd8ccc53565ff76c2fd7e102eafdb5e69cc70c Mon Sep 17 00:00:00 2001 From: pavdmyt Date: Thu, 4 Feb 2016 11:03:34 +0200 Subject: [PATCH 3/8] Exclude README.md and README.html from generated site --- _config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_config.yml b/_config.yml index 0f8b3d67..a37af26b 100644 --- a/_config.yml +++ b/_config.yml @@ -17,5 +17,8 @@ author: # google_analytics: 'UA-XXXXXXXX-X' +# Handling Reading +exclude: ["README.md", "README.html"] + # Build settings markdown: kramdown \ No newline at end of file From 18eace16b7f6bc9d6a8c120fc2f454918d0500fd Mon Sep 17 00:00:00 2001 From: pavdmyt Date: Mon, 8 Feb 2016 13:11:03 +0200 Subject: [PATCH 4/8] Adding possibility to set up highlight.js style in _config.yml --- _config.yml | 5 +++++ _includes/externals/styling.html | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index a37af26b..22085f83 100644 --- a/_config.yml +++ b/_config.yml @@ -17,8 +17,13 @@ author: # google_analytics: 'UA-XXXXXXXX-X' +# Syntax highlighting +highlightstyle: '' +styles: [agate, androidstudio, arta, asceti, atelier-cave.dark, atelier-cave.light, atelier-dune.dark, atelier-dune.light, atelier-estuary.dark, atelier-estuary.light, atelier-forest.dark, atelier-forest.light, atelier-heath.dark, atelier-heath.light, atelier-lakeside.dark, atelier-lakeside.light, atelier-plateau.dark, atelier-plateau.light, atelier-savanna.dark, atelier-savanna.light, atelier-seaside.dark, atelier-seaside.light, atelier-sulphurpool.dark, atelier-sulphurpool.light, brown_paper, codepen-embed, color-brewer, dark, darkula, default, docco, far, foundation, github, github-gist, googlecode, grayscale, hopscotch, hybrid, idea, ir_black, kimbie.dark, kimbie.light, magula, mono-blue, monokai, monokai_sublime, obsidian, paraiso.dark, paraiso.light, pojoaque, railscast, rainbow, school_book, solarized_dark, solarized_light, styles_list.txt, sunburst, tomorrow, tomorrow-night-blue, tomorrow-night-bright, tomorrow-night, tomorrow-night-eightie, v, xcode, zenburn] + # Handling Reading exclude: ["README.md", "README.html"] # Build settings +highlighter: null markdown: kramdown \ No newline at end of file diff --git a/_includes/externals/styling.html b/_includes/externals/styling.html index e4096c1c..c35d6061 100644 --- a/_includes/externals/styling.html +++ b/_includes/externals/styling.html @@ -1,5 +1,9 @@ - +{% if site.styles contains site.highlightstyle %} + +{% else %} + +{% endif %} \ No newline at end of file From 3623eb362f7a437c1ef2a3cde6e643278c4f0158 Mon Sep 17 00:00:00 2001 From: Motaquillah Maddane Date: Tue, 16 Feb 2016 10:10:34 +0100 Subject: [PATCH 5/8] Update README.md Update demo link --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e117178a..24db0c1e 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Daktilo is a [Jekyll](jekyllrb.com) theme with a minimal design inspired from ty - Support for categories. - Font-Awesome Icons. - Optimized for SEO. -- Coolest [404 page ever](http://hitchhiker.ma/daktilo/404.html). +- Coolest [404 page ever](http://electrik-frog.com/daktilo/404.html). # How to use it Start by cloning the repository, then check the `_config.yml` file and change it accordingly. @@ -48,4 +48,4 @@ permalink: /categories/an-awesome-category/ # License -The contents of this repository is licensed under [The MIT License.](https://opensource.org/licenses/MIT) \ No newline at end of file +The contents of this repository is licensed under [The MIT License.](https://opensource.org/licenses/MIT) From dede1e26f9133d1a470aca3d305b3027bdf2b517 Mon Sep 17 00:00:00 2001 From: Motaquillah Maddane Date: Tue, 1 Mar 2016 11:37:42 +0100 Subject: [PATCH 6/8] Fix #18 - Remove confusion about disqus username --- _config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 22085f83..7aa24384 100644 --- a/_config.yml +++ b/_config.yml @@ -13,7 +13,7 @@ author: googleplus: https://www.google.com/+MotaquillahMaddane github: kronik3r twitter: electrik_frog - # disqus: your_disqus_username + # disqus: your_disqus_forum_shortname # google_analytics: 'UA-XXXXXXXX-X' @@ -26,4 +26,4 @@ exclude: ["README.md", "README.html"] # Build settings highlighter: null -markdown: kramdown \ No newline at end of file +markdown: kramdown From 6847e4dbc16b4677da7184fcb42c6ee082f220c0 Mon Sep 17 00:00:00 2001 From: Motaquillah Maddane Date: Wed, 20 Jun 2018 13:15:55 +0200 Subject: [PATCH 7/8] Fix 404 link! --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 24db0c1e..03d7e885 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Daktilo is a [Jekyll](jekyllrb.com) theme with a minimal design inspired from ty - Support for categories. - Font-Awesome Icons. - Optimized for SEO. -- Coolest [404 page ever](http://electrik-frog.com/daktilo/404.html). +- Coolest [404 page ever](http://kronik3r.github.io/daktilo/404.html). # How to use it Start by cloning the repository, then check the `_config.yml` file and change it accordingly. From b19890e8fef7db03cff704852da9d381e1f33419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20=C3=87ift=C3=A7i?= Date: Mon, 3 Dec 2018 20:51:04 +0300 Subject: [PATCH 8/8] https fix. The browser is blocking the unsafe "http" address. changed "http" to "https". --- _includes/externals/styling.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/externals/styling.html b/_includes/externals/styling.html index c35d6061..bdbe95e9 100644 --- a/_includes/externals/styling.html +++ b/_includes/externals/styling.html @@ -1,4 +1,4 @@ - + {% if site.styles contains site.highlightstyle %} @@ -6,4 +6,4 @@ {% else %} {% endif %} - \ No newline at end of file +