jekyll-bhautiki 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +121 -0
- data/_config.yml +149 -0
- data/_data/assets.yml +40 -0
- data/_data/messages.yml +17 -0
- data/_data/sections.yml +19 -0
- data/_data/socials.yml +31 -0
- data/_includes/footer.html +49 -0
- data/_includes/head.html +46 -0
- data/_includes/header.html +33 -0
- data/_includes/home/overview.html +37 -0
- data/_includes/home/title.html +4 -0
- data/_includes/navigation.html +37 -0
- data/_includes/post/title.html +8 -0
- data/_includes/post/toc.html +9 -0
- data/_includes/script.html +18 -0
- data/_includes/sidebar.html +9 -0
- data/_layouts/archive.html +43 -0
- data/_layouts/categories.html +32 -0
- data/_layouts/default.html +25 -0
- data/_layouts/home.html +33 -0
- data/_layouts/page.html +11 -0
- data/_layouts/post.html +11 -0
- data/_sass/common/feather.sass +16 -0
- data/_sass/common/image.sass +9 -0
- data/_sass/common/mode.sass +123 -0
- data/_sass/common/nav.sass +17 -0
- data/_sass/common/side.sass +15 -0
- data/_sass/common/syntax.sass +12 -0
- data/_sass/common/variables.sass +2 -0
- data/_sass/layouts/categories.sass +5 -0
- data/_sass/layouts/default.sass +10 -0
- data/_sass/main.sass +8 -0
- data/assets/css/bhautiki.sass +6 -0
- data/assets/external/feather-icons/js/feather.min.js +13 -0
- data/assets/external/feather-icons/js/feather.min.js.map +1 -0
- data/assets/external/foundation-sites/css/foundation.min.css +2 -0
- data/assets/external/foundation-sites/css/foundation.min.css.map +1 -0
- data/assets/external/foundation-sites/js/foundation.min.js +2 -0
- data/assets/external/foundation-sites/js/foundation.min.js.map +1 -0
- data/assets/external/img/dark-wood.png +0 -0
- data/assets/external/img/stardust.png +0 -0
- data/assets/external/img/textured-paper.png +0 -0
- data/assets/external/jquery/js/jquery.min.js +2 -0
- data/assets/external/mathjax/js/tex-mml-chtml.js +1 -0
- data/assets/external/pygments/css/default.css +75 -0
- data/assets/external/pygments/css/monokai.css +85 -0
- data/assets/external/tocbot/css/tocbot.css +1 -0
- data/assets/external/tocbot/js/tocbot.min.js +1 -0
- data/assets/img/bhautiki-samay.gif +0 -0
- data/assets/img/favicon/android-chrome-192x192.png +0 -0
- data/assets/img/favicon/android-chrome-512x512.png +0 -0
- data/assets/img/favicon/apple-touch-icon.png +0 -0
- data/assets/img/favicon/favicon-16x16.png +0 -0
- data/assets/img/favicon/favicon-32x32.png +0 -0
- data/assets/img/favicon/favicon.ico +0 -0
- data/assets/img/favicon/site.webmanifest +1 -0
- data/assets/js/main.js +2 -0
- data/assets/js/main.js.map +1 -0
- data/assets/js/post.js +2 -0
- data/assets/js/post.js.map +1 -0
- metadata +118 -0
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if page.posts %}
|
6
|
+
<h2>Posts from the {{ page.type }} '{{ page.title | default: page.date | date: "%Y" }}'.</h2>
|
7
|
+
|
8
|
+
<ul class="no-bullet">
|
9
|
+
{% for post in page.posts %}
|
10
|
+
<li>
|
11
|
+
<a href="{{ post.url | prepend: site.base_url }}">
|
12
|
+
<span>{{ post.title }}</span>
|
13
|
+
<span class="float-right">{{ post.date | date: "%d %B %Y" }}</span>
|
14
|
+
</a>
|
15
|
+
</li>
|
16
|
+
{% endfor %}
|
17
|
+
</ul>
|
18
|
+
{% elsif site.posts %}
|
19
|
+
{% for post in site.posts %}
|
20
|
+
{% assign year = post.date | date: '%Y' %}
|
21
|
+
|
22
|
+
{% if year != curr_year %}
|
23
|
+
{% unless forloop.first %}
|
24
|
+
</ul>
|
25
|
+
{% endunless %}
|
26
|
+
|
27
|
+
<h2>
|
28
|
+
<a href="{{ site.data.sections.archive.path | append: '/' | append: year | prepend: site.base_url }}">
|
29
|
+
{{ year }}
|
30
|
+
</a>
|
31
|
+
</h2>
|
32
|
+
<ul class="no-bullet">
|
33
|
+
{% assign curr_year = year %}
|
34
|
+
{% endif %}
|
35
|
+
<li>
|
36
|
+
<a href="{{ post.url | prepend: site.base_url}}">
|
37
|
+
<span>{{ post.title }}</span>
|
38
|
+
<span class="float-right">{{ post.date | date: "%d %B %Y" }}</span>
|
39
|
+
</a>
|
40
|
+
</li>
|
41
|
+
{% endfor %}
|
42
|
+
</ul>
|
43
|
+
{% endif %}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{% assign categories = site.categories | sort %}
|
6
|
+
|
7
|
+
<ul class="accordion" data-accordion data-allow-all-closed="true">
|
8
|
+
{% for category_list in categories %}
|
9
|
+
{% assign category = category_list | first %}
|
10
|
+
{% assign posts = category_list | last %}
|
11
|
+
<li class="accordion-item" data-accordion-item>
|
12
|
+
<!-- Accordion tab title -->
|
13
|
+
<a href="#" class="accordion-title">
|
14
|
+
<i data-feather="folder"></i>
|
15
|
+
{{- category | upcase -}}
|
16
|
+
</a>
|
17
|
+
|
18
|
+
<!-- Accordion tab content: it would start in the open state due to using the `is-active` state class. -->
|
19
|
+
<div class="accordion-content" data-tab-content>
|
20
|
+
<ul class="no-bullet">
|
21
|
+
{% for post in posts %}
|
22
|
+
<li>
|
23
|
+
<a href="{{ post.url | prepend: site.base_url }}">
|
24
|
+
{{- post.title -}}
|
25
|
+
</a>
|
26
|
+
</li>
|
27
|
+
{% endfor %}
|
28
|
+
</ul>
|
29
|
+
</div>
|
30
|
+
</li>
|
31
|
+
{% endfor %}
|
32
|
+
</ul>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html lang="{{ site.lang }}">
|
4
|
+
{% include head.html %}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
<div class="off-canvas-wrapper">
|
8
|
+
{% include navigation.html %}
|
9
|
+
|
10
|
+
<div class="off-canvas-content" data-off-canvas-content>
|
11
|
+
<article>
|
12
|
+
{% include header.html %}
|
13
|
+
|
14
|
+
{{ content }}
|
15
|
+
|
16
|
+
{% include footer.html %}
|
17
|
+
</article>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
{% include sidebar.html %}
|
21
|
+
</div>
|
22
|
+
|
23
|
+
{% include script.html %}
|
24
|
+
</body>
|
25
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="grid-container">
|
6
|
+
<div class="grid-x grid-margin-x small-up-1 large-up-2">
|
7
|
+
{% for post in site.posts %}
|
8
|
+
<div class="cell">
|
9
|
+
<a href="{{ post.url | prepend: site_baseurl }}">
|
10
|
+
<div class="card">
|
11
|
+
<div class="card-divider">
|
12
|
+
<h5>{{ post.title }}</h5>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<div class="card-section">
|
16
|
+
<p>{{ post.description }}</p>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<div class="card-section text-right">
|
20
|
+
<small>{{ post.date | date: "%d %B %Y" }}</small>
|
21
|
+
</div>
|
22
|
+
|
23
|
+
{% if post.image %}
|
24
|
+
{% assign src = post.image.path | default: post.image %}
|
25
|
+
{% assign alt = post.image.description | default: "Preview" %}
|
26
|
+
<!-- add image tag -->
|
27
|
+
{% endif %}
|
28
|
+
</div>
|
29
|
+
</a>
|
30
|
+
</div>
|
31
|
+
{% endfor %}
|
32
|
+
</div>
|
33
|
+
</div>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
.feather
|
2
|
+
stroke: currentColor
|
3
|
+
fill: none
|
4
|
+
stroke-linecap: round
|
5
|
+
stroke-linejoin: round
|
6
|
+
|
7
|
+
@mixin feather-text
|
8
|
+
width: 12px
|
9
|
+
height: 12px
|
10
|
+
stroke-width: 2px
|
11
|
+
margin-right: 24px
|
12
|
+
|
13
|
+
@mixin feather-socials
|
14
|
+
width: 16px
|
15
|
+
height: 16px
|
16
|
+
stroke-width: 2px
|
@@ -0,0 +1,123 @@
|
|
1
|
+
@mixin light-mode
|
2
|
+
--color: #06080F
|
3
|
+
--background: rgb(245, 245, 220) url('/assets/external/img/textured-paper.png')
|
4
|
+
|
5
|
+
--bar-color: #4A0404
|
6
|
+
--bar-background: #FFF8DC url('/assets/external/img/dark-wood.png')
|
7
|
+
|
8
|
+
--hover: rgb(171, 171, 156)
|
9
|
+
--header-background: rgb(187, 187, 172)
|
10
|
+
--content-background: rgb(203, 203, 188)
|
11
|
+
|
12
|
+
--bar-link-color: #C04000
|
13
|
+
|
14
|
+
|
15
|
+
@mixin dark-mode
|
16
|
+
--color: #fff
|
17
|
+
--background: #000 url('/assets/external/img/stardust.png')
|
18
|
+
|
19
|
+
--bar-color: #daa520
|
20
|
+
--bar-background: #855E42 url('/assets/external/img/dark-wood.png')
|
21
|
+
|
22
|
+
--hover: #020202
|
23
|
+
--header-background: #0F0F0F
|
24
|
+
--content-background: #3A3A3A
|
25
|
+
|
26
|
+
--bar-link-color: #FFFF00
|
27
|
+
|
28
|
+
|
29
|
+
html, html[data-theme="light"]
|
30
|
+
@include light-mode
|
31
|
+
|
32
|
+
html[data-theme="dark"]
|
33
|
+
@include dark-mode
|
34
|
+
|
35
|
+
@media (prefers-color-scheme: dark)
|
36
|
+
html, html[data-theme="dark"]
|
37
|
+
@include dark-mode
|
38
|
+
|
39
|
+
html[data-theme="light"]
|
40
|
+
@include light-mode
|
41
|
+
|
42
|
+
.off-canvas-content
|
43
|
+
background: var(--background)
|
44
|
+
color: var(--color)
|
45
|
+
|
46
|
+
a
|
47
|
+
color: var(--color)
|
48
|
+
font-weight: 700
|
49
|
+
|
50
|
+
.feather
|
51
|
+
color: var(--color)
|
52
|
+
|
53
|
+
code:
|
54
|
+
font-family: monospace
|
55
|
+
font-weight: 500
|
56
|
+
font-size: small
|
57
|
+
|
58
|
+
.card
|
59
|
+
background: linear-gradient(to bottom, var(--header-background), var(--content-background))
|
60
|
+
color: var(--color)
|
61
|
+
border-color: var(--color)
|
62
|
+
|
63
|
+
p
|
64
|
+
font-weight: 400
|
65
|
+
|
66
|
+
.card-divider
|
67
|
+
background: var(--header-background)
|
68
|
+
|
69
|
+
.accordion
|
70
|
+
background: var(--header-background)
|
71
|
+
|
72
|
+
.accordion-title
|
73
|
+
color: var(--color)
|
74
|
+
&:hover, &:focus
|
75
|
+
background-color: var(--hover)
|
76
|
+
|
77
|
+
.accordion-content
|
78
|
+
background-color: var(--content-background)
|
79
|
+
|
80
|
+
footer
|
81
|
+
font-size: smaller
|
82
|
+
|
83
|
+
blockquote
|
84
|
+
border: none
|
85
|
+
letter-spacing: 3px
|
86
|
+
margin:0px
|
87
|
+
margin-top: 40px
|
88
|
+
margin-bottom: 70px
|
89
|
+
padding: 0px
|
90
|
+
text-align: center
|
91
|
+
|
92
|
+
p
|
93
|
+
display: inline
|
94
|
+
font-size: 20px
|
95
|
+
font-weight: 400
|
96
|
+
&:before
|
97
|
+
content: "“ "
|
98
|
+
&:after
|
99
|
+
content: " ”"
|
100
|
+
|
101
|
+
.off-canvas
|
102
|
+
background: var(--bar-background)
|
103
|
+
color: var(--bar-color)
|
104
|
+
|
105
|
+
a
|
106
|
+
color: var(--bar-color)
|
107
|
+
|
108
|
+
&:hover
|
109
|
+
color: var(--bar-link-color)
|
110
|
+
|
111
|
+
.toc-link::before
|
112
|
+
background: var(--bar-color)
|
113
|
+
|
114
|
+
.is-active-link::before
|
115
|
+
background: var(--bar-background)
|
116
|
+
|
117
|
+
.button.hollow
|
118
|
+
color: var(--bar-color)
|
119
|
+
border-color: var(--bar-color)
|
120
|
+
|
121
|
+
&:hover
|
122
|
+
color: var(--bar-link-color)
|
123
|
+
border-color: var(--bar-link-color)
|
data/_sass/main.sass
ADDED