minima-rock 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,15 +1,15 @@
1
- <ul>
2
- {% for tag in site.tags %}
3
- {% if tag[0] == page.tag %}
4
- {% assign post_list = tag[1] %}
5
- {%- for post in post_list -%}
6
- <li>
7
- <span>{{ post.date | date: "%Y-%m-%d" }}</span> &raquo;
8
- <a href="{{ post.url | relative_url }}">
9
- {{ post.title | escape }}
10
- </a>
11
- </li>
12
- {%- endfor -%}
13
- {%- endif -%}
14
- {% endfor %}
1
+ <ul>
2
+ {% for tag in site.tags %}
3
+ {% if tag[0] == page.tag %}
4
+ {% assign post_list = tag[1] %}
5
+ {%- for post in post_list -%}
6
+ <li>
7
+ <span>{{ post.date | date: "%Y-%m-%d" }}</span> &raquo;
8
+ <a href="{{ post.url | relative_url }}">
9
+ {{ post.title | escape }}
10
+ </a>
11
+ </li>
12
+ {%- endfor -%}
13
+ {%- endif -%}
14
+ {% endfor %}
15
15
  </ul>
@@ -1,11 +1,11 @@
1
- <div class="tags-bar">
2
- {% assign tags = page.tags | sort %}
3
- {% for tag in tags %}
4
- <span class="site-tag">
5
- <a class="site-tag-text" href="{{ site.baseurl }}/tags/{{ tag | slugify }}.html">{{ tag | replace:'-', ' ' }}</a>
6
- </span>
7
- {% endfor %}
8
- </div>
9
- <script type="text/javascript">
10
- setInvertedColor('site-tag-text');
1
+ <div class="tags-bar">
2
+ {% assign tags = page.tags | sort %}
3
+ {% for tag in tags %}
4
+ <span class="site-tag">
5
+ <a class="site-tag-text" href="{{ site.baseurl }}/tags/{{ tag | slugify }}.html">{{ tag | replace:'-', ' ' }}</a>
6
+ </span>
7
+ {% endfor %}
8
+ </div>
9
+ <script type="text/javascript">
10
+ setInvertedColor('site-tag-text');
11
11
  </script>
@@ -1,14 +1,14 @@
1
- <p class="tag-cloud">
2
- {% assign tags = site.tags | sort %}
3
- {% for tag in tags %}
4
- <span class="site-tag">
5
- <a class="site-tag-text" href="{{ site.baseurl }}/tags/{{ tag | first | slugify }}.html" style="font-size: {{ tag | last | size | times: 4 | plus: 80 }}%;">
6
- {{ tag[0] | replace:'-', ' ' }}
7
- </a>
8
- </span>
9
- {% endfor %}
10
- </p>
11
-
12
- <script type="text/javascript">
13
- setInvertedColor('site-tag-text');
1
+ <p class="tag-cloud">
2
+ {% assign tags = site.tags | sort %}
3
+ {% for tag in tags %}
4
+ <span class="site-tag">
5
+ <a class="site-tag-text" href="{{ site.baseurl }}/tags/{{ tag | first | slugify }}.html" style="font-size: {{ tag | last | size | times: 4 | plus: 80 }}%;">
6
+ {{ tag[0] | replace:'-', ' ' }}
7
+ </a>
8
+ </span>
9
+ {% endfor %}
10
+ </p>
11
+
12
+ <script type="text/javascript">
13
+ setInvertedColor('site-tag-text');
14
14
  </script>
data/_includes/toc.html CHANGED
@@ -1,5 +1,5 @@
1
- <nav>
2
- <h2>Table of Contents</h2>
3
- * this unordered seed list will be replaced by toc as unordered list
4
- {:toc}
1
+ <nav>
2
+ <h2>Table of Contents</h2>
3
+ * this unordered seed list will be replaced by toc as unordered list
4
+ {:toc}
5
5
  </nav>
@@ -1,20 +1,20 @@
1
- <!DOCTYPE html>
2
- <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
-
4
- {%- include head.html -%}
5
-
6
- <body>
7
-
8
- {%- include header.html -%}
9
-
10
- <main class="page-content" aria-label="Content">
11
- <div class="wrapper">
12
- {{ content }}
13
- </div>
14
- </main>
15
-
16
- {%- include footer.html -%}
17
-
18
- </body>
19
-
20
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {%- include head.html -%}
5
+
6
+ <body>
7
+
8
+ {%- include header.html -%}
9
+
10
+ <main class="page-content" aria-label="Content">
11
+ <div class="wrapper">
12
+ {{ content }}
13
+ </div>
14
+ </main>
15
+
16
+ {%- include footer.html -%}
17
+
18
+ </body>
19
+
20
+ </html>
data/_layouts/home.html CHANGED
@@ -1,34 +1,34 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <div class="home">
6
- {%- if page.title -%}
7
- <h1 class="page-heading">{{ page.title }}</h1>
8
- {%- endif -%}
9
-
10
- {{ content }}
11
-
12
- {%- if site.posts.size > 0 -%}
13
- <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
14
- <ul class="post-list">
15
- {%- for post in site.posts -%}
16
- <li>
17
- {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
18
- <span class="post-meta">{{ post.date | date: date_format }}</span>
19
- <h3>
20
- <a class="post-link" href="{{ post.url | relative_url }}">
21
- {{ post.title | escape }}
22
- </a>
23
- </h3>
24
- {%- if site.show_excerpts -%}
25
- {{ post.excerpt }}
26
- {%- endif -%}
27
- </li>
28
- {%- endfor -%}
29
- </ul>
30
-
31
- <p class="feed-subscribe"><svg class="svg-icon orange"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg><a href="{{ "/feed.xml" | relative_url }}">Subscribe</a></p>
32
- {%- endif -%}
33
-
34
- </div>
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="home">
6
+ {%- if page.title -%}
7
+ <h1 class="page-heading">{{ page.title }}</h1>
8
+ {%- endif -%}
9
+
10
+ {{ content }}
11
+
12
+ {%- if site.posts.size > 0 -%}
13
+ <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
14
+ <ul class="post-list">
15
+ {%- for post in site.posts -%}
16
+ <li>
17
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
18
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
19
+ <h3>
20
+ <a class="post-link" href="{{ post.url | relative_url }}">
21
+ {{ post.title | escape }}
22
+ </a>
23
+ </h3>
24
+ {%- if site.show_excerpts -%}
25
+ {{ post.excerpt }}
26
+ {%- endif -%}
27
+ </li>
28
+ {%- endfor -%}
29
+ </ul>
30
+
31
+ <p class="feed-subscribe"><svg class="svg-icon orange"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg><a href="{{ "/feed.xml" | relative_url }}">Subscribe</a></p>
32
+ {%- endif -%}
33
+
34
+ </div>
data/_layouts/page.html CHANGED
@@ -1,14 +1,14 @@
1
- ---
2
- layout: default
3
- ---
4
- <article class="post">
5
-
6
- <header class="post-header">
7
- <h1 class="post-title">{{ page.title | escape }}</h1>
8
- </header>
9
-
10
- <div class="post-content">
11
- {{ content }}
12
- </div>
13
-
14
- </article>
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title">{{ page.title | escape }}</h1>
8
+ </header>
9
+
10
+ <div class="post-content">
11
+ {{ content }}
12
+ </div>
13
+
14
+ </article>
data/_layouts/post.html CHANGED
@@ -1,35 +1,35 @@
1
- ---
2
- layout: default
3
- ---
4
- <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
-
6
- <header class="post-header">
7
- <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
8
- <p class="post-meta">
9
- {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
10
- <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
11
- {{ page.date | date: date_format }}
12
- </time>
13
- {%- if page.modified_date -%}
14
- / Last modified at:
15
- <time class="dt-published" datetime="{{ page.modified_date | date_to_xmlschema }}" itemprop="dateModified">
16
- {{ page.modified_date | date: date_format }}
17
- </time>
18
- {%- endif -%}
19
- {%- if page.author -%}
20
- • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author | escape }}</span></span>
21
- {%- endif -%}
22
- {% include tags_bar.html %}
23
- </p>
24
- </header>
25
-
26
- <div class="post-content e-content" itemprop="articleBody">
27
- {{ content }}
28
- </div>
29
-
30
- {%- include share_bar.html -%}
31
-
32
- {%- include disqus_comments.html -%}
33
-
34
- <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
35
- </article>
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
8
+ <p class="post-meta">
9
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
10
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
11
+ {{ page.date | date: date_format }}
12
+ </time>
13
+ {%- if page.modified_date -%}
14
+ / Last modified at:
15
+ <time class="dt-published" datetime="{{ page.modified_date | date_to_xmlschema }}" itemprop="dateModified">
16
+ {{ page.modified_date | date: date_format }}
17
+ </time>
18
+ {%- endif -%}
19
+ {%- if page.author -%}
20
+ • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author | escape }}</span></span>
21
+ {%- endif -%}
22
+ {% include tags_bar.html %}
23
+ </p>
24
+ </header>
25
+
26
+ <div class="post-content e-content" itemprop="articleBody">
27
+ {{ content }}
28
+ </div>
29
+
30
+ {%- include share_bar.html -%}
31
+
32
+ {%- include disqus_comments.html -%}
33
+
34
+ <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
35
+ </article>