Skip to content
2 changes: 2 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
layout: page
title: 404
sitemap:
exclude: 'yes'
---

<h2 class="go-home">
Expand Down
17 changes: 4 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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://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.
Expand Down Expand Up @@ -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)
The contents of this repository is licensed under [The MIT License.](https://opensource.org/licenses/MIT)
12 changes: 10 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,17 @@ 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'

# 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
markdown: kramdown
highlighter: null
markdown: kramdown
10 changes: 7 additions & 3 deletions _includes/externals/styling.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<link href='http://fonts.googleapis.com/css?family=Inconsolata:400,700' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Inconsolata:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ "/assets/vendor/normalize-css/normalize.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/assets/vendor/highlight/styles/solarized_dark.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/assets/vendor/font-awesome/css/font-awesome.css" | prepend: site.baseurl }}">
{% if site.styles contains site.highlightstyle %}
<link rel="stylesheet" href="{{ site.baseurl }}/assets/vendor/highlight/styles/{{ site.highlightstyle }}.css">
{% else %}
<link rel="stylesheet" href="{{ site.baseurl }}/assets/vendor/highlight/styles/solarized_dark.css">
{% endif %}
<link rel="stylesheet" href="{{ "/assets/vendor/font-awesome/css/font-awesome.css" | prepend: site.baseurl }}">
2 changes: 2 additions & 0 deletions css/main.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
# Only the main Sass file needs front matter (the dashes are enough)
sitemap:
exclude: 'yes'
---
@charset "utf-8";

Expand Down
2 changes: 2 additions & 0 deletions feed.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
layout: null
sitemap:
exclude: 'yes'
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
Expand Down
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
layout: page
title: Blog
subtitle: Hitchhiker's guid to web development
sitemap:
priority: 0.9
---

<ul class="list-posts">
Expand Down
9 changes: 9 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: null
sitemap:
exclude: 'yes'
---
User-agent: *
Disallow:

Sitemap: {{ site.url }}/sitemap.xml
56 changes: 56 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
layout: null
sitemap:
exclude: 'yes'
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for post in site.posts %}
{% unless post.published == false %}
<url>
<loc>{{ site.url }}{{ post.url }}/</loc>
{% if post.sitemap.lastmod %}
<lastmod>{{ post.sitemap.lastmod | date: "%Y-%m-%d" }}</lastmod>
{% elsif post.date %}
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
{% else %}
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
{% endif %}
{% if post.sitemap.changefreq %}
<changefreq>{{ post.sitemap.changefreq }}</changefreq>
{% else %}
<changefreq>monthly</changefreq>
{% endif %}
{% if post.sitemap.priority %}
<priority>{{ post.sitemap.priority }}</priority>
{% else %}
<priority>0.7</priority>
{% endif %}
</url>
{% endunless %}
{% endfor %}
{% for page in site.pages %}
{% unless page.sitemap.exclude == "yes" %}
<url>
<loc>{{ site.url }}{{ page.url | remove: "index.html" }}</loc>
{% if page.sitemap.lastmod %}
<lastmod>{{ page.sitemap.lastmod | date: "%Y-%m-%d" }}</lastmod>
{% elsif page.date %}
<lastmod>{{ page.date | date_to_xmlschema }}</lastmod>
{% else %}
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
{% endif %}
{% if page.sitemap.changefreq %}
<changefreq>{{ page.sitemap.changefreq }}</changefreq>
{% else %}
<changefreq>monthly</changefreq>
{% endif %}
{% if page.sitemap.priority %}
<priority>{{ page.sitemap.priority }}</priority>
{% else %}
<priority>0.5</priority>
{% endif %}
</url>
{% endunless %}
{% endfor %}
</urlset>