jekyll-theme-fica 0.1.8 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  3. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. data/.github/workflows/.ci_BASE_2002.yaml.swp +0 -0
  5. data/.github/workflows/.ci_LOCAL_2002.yaml.swp +0 -0
  6. data/.github/workflows/.ci_REMOTE_2002.yaml.swp +0 -0
  7. data/.github/workflows/ci.yaml +20 -13
  8. data/.github/workflows/ci.yaml.orig +34 -0
  9. data/.github/workflows/ci_BACKUP_2002.yaml +34 -0
  10. data/.github/workflows/ci_BASE_2002.yaml +27 -0
  11. data/.github/workflows/ci_LOCAL_2002.yaml +27 -0
  12. data/.github/workflows/ci_REMOTE_2002.yaml +27 -0
  13. data/404.html +5 -3
  14. data/README.md +59 -89
  15. data/_includes/Footer.html +76 -36
  16. data/_includes/Head.html +11 -11
  17. data/_includes/Header.html +17 -23
  18. data/_includes/assets/BTT.html +8 -0
  19. data/_includes/assets/Google-Analytics.html +12 -0
  20. data/_includes/assets/anchor-headings.html +164 -0
  21. data/_includes/assets/comments.html +16 -0
  22. data/_includes/assets/toc.html +174 -0
  23. data/_layouts/default.html +12 -10
  24. data/_layouts/home.html +20 -46
  25. data/_layouts/page.html +5 -14
  26. data/_layouts/post.html +49 -50
  27. data/_layouts/post_home.html +102 -70
  28. data/_posts/2022-03-31-To-Know-if-the-nav-works.md +8 -8
  29. data/_posts/2022-04-1-Demo.md +113 -113
  30. data/_posts/2022-04-5-Getting-Started.md +74 -27
  31. data/_posts/2022-04-6-Creating-a-new-post.md +136 -124
  32. data/_sass/base.scss +472 -0
  33. data/_sass/{themes/dark theme → colors/dark-theme}/highlight.scss +0 -0
  34. data/_sass/{themes/dark theme/theme-dark.scss → colors/dark-theme/theme-dark.scss} +24 -27
  35. data/_sass/{themes/light theme → colors/light-theme}/highlight.scss +0 -0
  36. data/_sass/{themes/light theme/theme-light.scss → colors/light-theme/theme-light.scss} +18 -24
  37. data/_sass/jekyll-theme-fica.scss +1 -7
  38. data/_sass/layouts/Google-fonts.scss +139 -0
  39. data/_sass/layouts/component.scss +253 -0
  40. data/_sass/layouts/layout.scss +508 -572
  41. data/_sass/layouts/variable.scss +201 -0
  42. data/assets/css/Style.scss +7 -37
  43. data/assets/fica-icons.svg +64 -64
  44. data/assets/img/{fica_ad.png → homepage-pic.png} +0 -0
  45. data/bin/run +195 -0
  46. data/js/Main.js +21 -0
  47. data/js/back-to-top.js +16 -25
  48. data/post/index.html +3 -3
  49. metadata +36 -21
  50. data/_includes/BTT.html +0 -9
  51. data/_includes/Custom-Head.html +0 -9
  52. data/_includes/Google-Analytics.html +0 -11
  53. data/_sass/custom/styles.scss +0 -1
  54. data/_sass/custom/variables.scss +0 -1
  55. data/_sass/layouts/base.scss +0 -573
  56. data/_sass/layouts/variables.scss +0 -89
  57. data/assets/css/fica-icons.svg +0 -68
  58. data/bin/build +0 -7
  59. data/bin/server +0 -7
  60. data/docs/contributing.md +0 -69
data/_layouts/post.html CHANGED
@@ -1,51 +1,50 @@
1
- ---
2
- layout: default
3
- ---
4
- <article class="post h-entry" itemscope
5
- itemtype="http://schema.org/BlogPosting">
1
+ <!DOCTYPE html>
2
+ <html>
3
+ {%- include Head.html-%}
6
4
 
7
- <header class="post-header">
8
- <h1 class="post-title p-name" itemprop="name headline">{{ page.title |
9
- escape }}</h1>
10
- <div class="post-meta text-muted">
11
- {% if site.author %}
12
- {% assign author = site.author %}
13
- {% endif %}
14
- {% if page.author %}
15
- {% assign author = page.author %}
16
- {% endif %}
17
- By
18
- <span itemprop="author" itemscope itemtype="http://schema.org/Person">
19
- <span class="p-author h-card text-unmuted" itemprop="name">{{ author }}</span></span>
20
- </div>
21
- <span class="post-meta text-muted">
22
- Posted
23
- {%- assign date_format = site.fica.date_format | default: "%b %-d, %Y" -%}
24
- <time class="dt-published text-unmuted"datetime="{{ page.date |
25
- date_to_xmlschema }}" itemprop="datePublished">
26
- {{ page.date | date: date_format }}
27
- </time>
28
- </span>
29
- <span class="post-meta text-muted">
30
- {%- if page.modified_date -%}
31
-
32
- Modified
33
- {%- assign mdate = page.modified_date | date_to_xmlschema -%}
34
- <time class="dt-modified text-unmuted" datetime="{{ mdate }}" itemprop="dateModified">
35
- {{ mdate | date: date_format }}
36
- </time>
37
- {%- endif -%}
38
- </span>
39
- </header>
40
- <div class="post-content e-content" itemprop="articleBody">
41
- {{ content }}
42
- <div class="post-footer">
43
- <a href="{{site.baseurl}}/Post/">
44
- <svg>
45
- <use xlink:href="{{ 'assets/fica-icons.svg#arw-back' | relative_url
46
- }}"></use>
47
- </svg>
48
- </a>
49
- </div>
50
- <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
51
- </article>
5
+ <body>
6
+ {%- include Header.html-%}
7
+ <main class="content">
8
+ <div class="post-wrapper">
9
+ <article class="post">
10
+ <header class="post-header">
11
+ <h1 class="post-title">{{ page.title | escape }}</h1>
12
+ <div class="post-meta text-muted">
13
+ {% if site.socials.name %} {% assign author = site.socials.name %} {% endif %} {% if
14
+ page.author %} {% assign author = page.author %} {% endif %} By
15
+ <span class="text-unmuted" itemprop="name">{{ author }}</span>
16
+ </div>
17
+ <span class="post-meta text-muted">
18
+ Posted {%- assign date_format = site.fica.date_format | default: "%b %-d, %Y" -%}
19
+ <time class="text-unmuted" datetime="{{ page.date | date_to_xmlschema }}">
20
+ {{ page.date | date: date_format }}
21
+ </time>
22
+ </span>
23
+ <span class="post-meta text-muted">
24
+ {%- if page.modified_date -%} Modified {%- assign mdate = page.modified_date |
25
+ date_to_xmlschema -%}
26
+ <time class="text-unmuted" datetime="{{ mdate }}">
27
+ {{ mdate | date: date_format }}
28
+ </time>
29
+ {%- endif -%}
30
+ </span>
31
+ </header>
32
+ {% include assets/anchor-headings.html html=content anchorBody="#" %}
33
+ <div class="post-footer">
34
+ <a href="{{ site.baseurl }}{{ site.header.header_link_2 }}">
35
+ <span class="material-icons-round post-nav-svg"> arrow_back_ios </span>
36
+ </a>
37
+ </div>
38
+ {%- if site.show_comments -%}
39
+ {%- include assets/comments.html -%}
40
+ {%- endif -%}
41
+ </article>
42
+ <div class="post-toc">
43
+ <h2>Contents</h2>
44
+ {% include assets/toc.html html=content h_min=1 h_max=3 %}
45
+ </div>
46
+ </div>
47
+ </main>
48
+ {%- include assets/BTT.html-%} {%- include Footer.html-%}
49
+ </body>
50
+ </html>
@@ -2,80 +2,112 @@
2
2
  layout: default
3
3
  ---
4
4
  <div class="home">
5
- {%- if page.title -%}
6
- <h1 class="page-heading">{{ page.title }}</h1>
7
- {%- endif -%}
5
+ <h1 class="post-title">{{ page.site-title }}</h1>
8
6
 
9
- {{ content }}
7
+ {%- if site.paginate -%}
8
+ {% assign pinned = site.posts | where: "pin", "true" %}
9
+ {% assign default = site.posts | where_exp: "item", "item.pin != true" %}
10
10
 
11
- <h1>Posts</h1>
11
+ {% assign posts = "" | split: "" %}
12
12
 
13
- {%- if site.paginate -%}
14
- {% assign posts = paginator.posts %}
15
- {% else %}
16
- {% assign posts = site.posts %}
17
- {% endif %}
13
+ <!-- Get pinned posts -->
18
14
 
15
+ {% assign offset = paginator.page | minus: 1 | times: paginator.per_page %}
16
+ {% assign pinned_num = pinned.size | minus: offset %}
19
17
 
20
- {%- if posts.size > 0 -%}
21
- {%- if page.list_title -%}
22
- <h2 class="post-list-heading">{{ page.list_title }}</h2>
23
- {%- endif -%}
24
- <ul class="post-list">
25
- {%- assign date_format = site.fica.date_format | default: "%b %-d, %Y" -%}
26
- {%- for post in posts -%}
27
- <li>
28
- <h3>
29
- <a class="post-link" href="{{ post.url | relative_url }}">
30
- {{ post.title | escape }}
31
- </a>
32
- <span class="post-meta text-muted">{{ post.date | date: date_format }}</span>
33
- </h3>
34
- {%- if site.show_descriptions -%}
35
- {{ post.excerpt }}
36
- {%- endif -%}
37
- </li>
38
- {%- endfor -%}
39
- </ul>
18
+ {% if pinned_num > 0 %}
19
+ {% for i in (offset..pinned.size) limit: pinned_num %}
20
+ {% assign posts = posts | push: pinned[i] %}
21
+ {% endfor %}
22
+ {% else %}
23
+ {% assign pinned_num = 0 %}
24
+ {% endif %}
40
25
 
41
- {%- if site.paginate -%}
42
- <ul class="post-nav">
43
- <li>
44
- {% if paginator.previous_page %}
45
- <a href="{{ paginator.previous_page_path | relative_url }}"">
46
- <svg class="post-nav-svg">
47
- <use xlink:href="{{ 'assets/fica-icons.svg#arw-back' | relative_url
48
- }}"></use>
49
- </svg>
50
- </a>
51
- {% else %}
52
- <a>
53
- <svg class="post-nav-svg disable-svg">
54
- <use xlink:href="{{ 'assets/fica-icons.svg#arw-back' | relative_url
55
- }}"></use>
56
- </svg>
57
- </a>
58
- {% endif %}
59
- </li>
60
- <li class="post-nav-num">{{ paginator.page }} / {{ paginator.total_pages }}</li>
61
- <li>
62
- {%- if paginator.next_page %}
63
- <a href="{{ paginator.next_page_path | relative_url }}">
64
- <svg class="post-nav-svg">
65
- <use xlink:href="{{ 'assets/fica-icons.svg#arw-front' | relative_url
66
- }}"></use>
67
- </svg>
68
- </a>
69
- {%- else %}
70
- <a>
71
- <svg class="post-nav-svg disable-svg">
72
- <use xlink:href="{{ 'assets/fica-icons.svg#arw-front' | relative_url
73
- }}"></use>
74
- </svg>
75
- </a>
76
- {%- endif %}
77
- </li>
78
- </ul>
79
- {%- endif %}
80
26
 
81
- {%- endif -%}
27
+ <!-- Get default posts -->
28
+
29
+ {% assign default_beg = offset | minus: pinned.size %}
30
+
31
+ {% if default_beg < 0 %}
32
+ {% assign default_beg = 0 %}
33
+ {% endif %}
34
+
35
+ {% assign default_num = paginator.posts | size | minus: pinned_num %}
36
+ {% assign default_end = default_beg | plus: default_num | minus: 1 %}
37
+
38
+ {% if default_num > 0 %}
39
+ {% for i in (default_beg..default_end) %}
40
+ {% assign posts = posts | push: default[i] %}
41
+ {% endfor %}
42
+ {% endif %}
43
+ {% else %}
44
+ {% assign posts = site.posts %}
45
+ {% endif %}
46
+
47
+
48
+ {%- if posts.size > 0 -%}
49
+ <div class="post-list">
50
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
51
+ {%- for post in posts -%}
52
+ <div class="post">
53
+ <a class="post-link" href="{{ post.url | relative_url }}">
54
+ {{ post.title | escape }}
55
+ </a>
56
+ <div class="post-info">
57
+ {%- assign date_format_tooltip = site.fica.date_format | default: "%b%-d, %Y" -%}
58
+ <span class="post-info-date">{{ post.date | date: date_format }}</span>
59
+ {% if post.pin %}
60
+ <span class="post-info-pin">
61
+ <span class="material-icons-round">
62
+ push_pin
63
+ </span>
64
+ <p>pinned</p>
65
+ </span>
66
+ {%- endif -%}
67
+ </div>
68
+ {%- if site.show_descriptions -%}
69
+ {{ post.excerpt }}
70
+ {%- endif -%}
71
+ </div>
72
+ {%- endfor -%}
73
+ </div>
74
+
75
+ {%- if site.paginate -%}
76
+ <ul class="post-nav">
77
+ <li>
78
+ {% if paginator.previous_page %}
79
+ <a href="{{ paginator.previous_page_path | relative_url }}">
80
+ <span class="material-icons-round post-nav-svg">
81
+ arrow_back_ios
82
+ </span>
83
+ </a>
84
+ {% else %}
85
+ <a>
86
+ <span class="material-icons-round post-nav-svg disable-svg">
87
+ chevron_left
88
+ </span>
89
+ </a>
90
+ {% endif %}
91
+ </li>
92
+ <li class="post-nav-num">{{ paginator.page }}
93
+ /
94
+ {{ paginator.total_pages }}</li>
95
+ <li>
96
+ {%- if paginator.next_page %}
97
+ <a href="{{ paginator.next_page_path | relative_url }}">
98
+ <span class="material-icons-round post-nav-svg">
99
+ arrow_forward_ios
100
+ </span>
101
+ </a>
102
+ {%- else %}
103
+ <a>
104
+ <span class="material-icons-round post-nav-svg disable-svg">
105
+ chevron_right
106
+ </span>
107
+ </a>
108
+ {%- endif %}
109
+ </li>
110
+ </ul>
111
+ {%- endif %}
112
+ {%- endif -%}
113
+ </div>
@@ -1,8 +1,8 @@
1
- ---
2
- layout: post
3
- site-title: To Know if the nav works
4
- author: Involts
5
- modified_date: 2022-04-3
6
- ---
7
-
8
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?
1
+ ---
2
+ layout: post
3
+ site-title: To Know if the nav works
4
+ author: Involts
5
+ modified_date: 2022-04-3
6
+ ---
7
+
8
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam maxime dolor incidunt eligendi eum magni velit, quam cum eos, quo reprehenderit blanditiis unde! Esse excepturi porro, inventore nulla quo eaque?
@@ -1,114 +1,114 @@
1
- ---
2
- layout: post
3
- site-title: Demo
4
- author: Involts
5
- modified_date: 2022-04-3
6
- ---
7
-
8
- # Overview of the elements of Fica Theme
9
-
10
- ## Paragraph
11
-
12
- Lorem ipsum dolor sit amet, consectetur adipiscing elit.
13
-
14
-
15
- Nullam placerat massa ex, at gravida neque pharetra ac. Morbi scelerisque id lorem elementum vulputate.
16
-
17
- Sed eu lectus a erat placerat consequat id ut elit. Suspendisse potenti. Sed eu orci est.
18
-
19
- Phasellus id sodales leo. Quisque sit amet urna ex.
20
-
21
- In hac habitasse platea dictumst. Maecenas tincidunt mauris a rutrum pharetra.Etiam sed est risus.
22
-
23
- Integer scelerisque lacus id neque tempor tincidunt.
24
-
25
- Vivamus ac suscipit eros, in sollicitudin velit.
26
-
27
- Nam at odio quam. Curabitur magna libero, suscipit sed venenatis vel, interdum vitae neque.
28
-
29
-
30
- # headings
31
- ---
32
- # Lorem ipsum
33
- ## Lorem ipsum
34
- ### Lorem ipsum
35
- #### Lorem ipsum
36
- ##### Lorem ipsum
37
- ###### Lorem ipsum
38
- ---
39
- # Prompts
40
- ---
41
-
42
- > An example showing the `Tip` Prompt
43
- {: .prompt-tip }
44
-
45
-
46
- > An example showing the `Info` Prompt
47
- {: .prompt-info }
48
-
49
- > An example showing the `Warning` Prompt
50
- {: .prompt-warning }
51
-
52
- > An example showing the `Danger` Prompt
53
- {: .prompt-danger }
54
-
55
- ---
56
-
57
- # Table
58
-
59
- | Title 1 | Title 2 | Title 3 | Title 4 |
60
- | --------------------- | --------------------- | --------------------- | --------------------- |
61
- | lorem | lorem ipsum | lorem ipsum dolor | lorem ipsum dolor sit |
62
- | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit |
63
- | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit |
64
- | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit |
65
-
66
-
67
- # Code Block
68
-
69
- ```js
70
- // Javascript code with syntax highlighting.
71
- var fun = function lang(l) {
72
- dateformat.i18n = require("./lang/" + l);
73
- return true;
74
- };
75
- ```
76
-
77
- ```html
78
- # Html code with syntax highlighting
79
- <head>
80
- <meta charset="utf-8" />
81
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
82
- <meta name="viewport" content="width=device-width, initial-scale=1" />
83
- <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
84
- <title>{{page.site-title}}</title>
85
- </head>
86
- ```
87
-
88
- # Unordered list
89
-
90
- - This is an unordered list following a header.
91
- - This is an unordered list following a header.
92
- - This is an unordered list following a header.
93
-
94
- # Ordered list
95
-
96
- 1. This is an ordered list following a header.
97
- 2. This is an ordered list following a header.
98
- 3. This is an ordered list following a header.
99
-
100
- # And a nested list:
101
-
102
- - level 1 item
103
- - level 2 item
104
- - level 2 item
105
- - level 3 item
106
- - level 3 item
107
- - level 1 item
108
- - level 2 item
109
- - level 2 item
110
- - level 2 item
111
- - level 1 item
112
- - level 2 item
113
- - level 2 item
1
+ ---
2
+ layout: post
3
+ site-title: Demo
4
+ author: Involts
5
+ modified_date: 2022-04-3
6
+ ---
7
+
8
+ # Overview of the elements of Fica Theme
9
+
10
+ ## Paragraph
11
+
12
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit.
13
+
14
+
15
+ Nullam placerat massa ex, at gravida neque pharetra ac. Morbi scelerisque id lorem elementum vulputate.
16
+
17
+ Sed eu lectus a erat placerat consequat id ut elit. Suspendisse potenti. Sed eu orci est.
18
+
19
+ Phasellus id sodales leo. Quisque sit amet urna ex.
20
+
21
+ In hac habitasse platea dictumst. Maecenas tincidunt mauris a rutrum pharetra.Etiam sed est risus.
22
+
23
+ Integer scelerisque lacus id neque tempor tincidunt.
24
+
25
+ Vivamus ac suscipit eros, in sollicitudin velit.
26
+
27
+ Nam at odio quam. Curabitur magna libero, suscipit sed venenatis vel, interdum vitae neque.
28
+
29
+
30
+ # headings
31
+ ---
32
+ # Lorem ipsum
33
+ ## Lorem ipsum
34
+ ### Lorem ipsum
35
+ #### Lorem ipsum
36
+ ##### Lorem ipsum
37
+ ###### Lorem ipsum
38
+ ---
39
+ # Prompts
40
+ ---
41
+
42
+ > An example showing the `Tip` Prompt
43
+ {: .prompt-tip }
44
+
45
+
46
+ > An example showing the `Info` Prompt
47
+ {: .prompt-info }
48
+
49
+ > An example showing the `Warning` Prompt
50
+ {: .prompt-warning }
51
+
52
+ > An example showing the `Danger` Prompt
53
+ {: .prompt-danger }
54
+
55
+ ---
56
+
57
+ # Table
58
+
59
+ | Title 1 | Title 2 | Title 3 | Title 4 |
60
+ | --------------------- | --------------------- | --------------------- | --------------------- |
61
+ | lorem | lorem ipsum | lorem ipsum dolor | lorem ipsum dolor sit |
62
+ | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit |
63
+ | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit |
64
+ | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit |
65
+
66
+
67
+ # Code Block
68
+
69
+ ```js
70
+ // Javascript code with syntax highlighting.
71
+ var fun = function lang(l) {
72
+ dateformat.i18n = require("./lang/" + l);
73
+ return true;
74
+ };
75
+ ```
76
+
77
+ ```html
78
+ # Html code with syntax highlighting
79
+ <head>
80
+ <meta charset="utf-8" />
81
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
82
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
83
+ <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
84
+ <title>{{page.site-title}}</title>
85
+ </head>
86
+ ```
87
+
88
+ # Unordered list
89
+
90
+ - This is an unordered list following a header.
91
+ - This is an unordered list following a header.
92
+ - This is an unordered list following a header.
93
+
94
+ # Ordered list
95
+
96
+ 1. This is an ordered list following a header.
97
+ 2. This is an ordered list following a header.
98
+ 3. This is an ordered list following a header.
99
+
100
+ # And a nested list:
101
+
102
+ - level 1 item
103
+ - level 2 item
104
+ - level 2 item
105
+ - level 3 item
106
+ - level 3 item
107
+ - level 1 item
108
+ - level 2 item
109
+ - level 2 item
110
+ - level 2 item
111
+ - level 1 item
112
+ - level 2 item
113
+ - level 2 item
114
114
  - level 1 item