jekyll-bhautiki 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5be72193dd25478f089c413bb2a53726768f75308d984dd351e58ed049eacb18
|
4
|
+
data.tar.gz: 5861753fc11ae409b1ca4fc333ac21d894d4851d88b44e7833833b5c95ace67b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4a55720191706fc36ed40b42743f21ca8ac9e2a968798c4bac9cf4c5ec675f6ff922e34bbc4e4d11d5d092dcf5bfa05464c4c17ef8cafa6bff378bff9ddd1177
|
7
|
+
data.tar.gz: e08ce3258fa96815857917a10ac4fab68e4e8244ef4da1129778b09f53b3a4d3368957463b21d1ee47d4f8630ac8662a06adb682dbb858e69c611c65f6daaed6
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2023 Pawan H M
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,121 @@
|
|
1
|
+
# Jekyll Bhautiki
|
2
|
+
|
3
|
+
Physics inspired feature-rich Jekyll theme with math support.
|
4
|
+
|
5
|
+
> I will use this theme to eventually upgrade my personal blog. I looked at many themes that are already available, but I reckoned that most of them would require significant overhauls to fit my bill. Moreover, I feel that it would be fun maintaining my own theme for my own blog.
|
6
|
+
|
7
|
+
## Development
|
8
|
+
|
9
|
+
[Docs](/docs/) for more details.
|
10
|
+
|
11
|
+
### Guide
|
12
|
+
|
13
|
+
Standard jekyll structure.
|
14
|
+
|
15
|
+
- Views in [_layouts](/_layouts/).
|
16
|
+
- Components in [_includes](/_includes/).
|
17
|
+
- Images, Packages, Scripts in [assets](/assets/).
|
18
|
+
- Stylesheet in [_sass](/_sass/).
|
19
|
+
- Other scripts in [_script](/_script/).
|
20
|
+
|
21
|
+
The scripts are bundled by `parcel`.
|
22
|
+
|
23
|
+
```shell
|
24
|
+
# Any change made to _scripts need to be bundled
|
25
|
+
# before they can take effect.
|
26
|
+
npm install
|
27
|
+
|
28
|
+
# Remember: add (new) sources in package.json
|
29
|
+
# before running parcel build.
|
30
|
+
npm run build
|
31
|
+
|
32
|
+
```
|
33
|
+
|
34
|
+
Install ruby. Use `rbenv` if a multiple versions of ruby need to be present on development system.
|
35
|
+
|
36
|
+
```shell
|
37
|
+
|
38
|
+
# Install jekyll and blunder.
|
39
|
+
gem install jekyll bundler
|
40
|
+
|
41
|
+
# Install dependencies.
|
42
|
+
bundle install
|
43
|
+
|
44
|
+
# Host on local.
|
45
|
+
bundle exec jekyll serve
|
46
|
+
|
47
|
+
```
|
48
|
+
|
49
|
+
#### Markups
|
50
|
+
|
51
|
+
- [SASS](https://sass-lang.com/).
|
52
|
+
- [Liquid Template Language](https://shopify.github.io/liquid/).
|
53
|
+
|
54
|
+
#### Tools and Frameworks
|
55
|
+
|
56
|
+
Easy feature integration.
|
57
|
+
|
58
|
+
- [Feather](https://feathericons.com/)
|
59
|
+
- [Foundation](https://get.foundation/)
|
60
|
+
- [MathJax](https://www.mathjax.org/)
|
61
|
+
- [Tocbot](https://tscanlin.github.io/tocbot/)
|
62
|
+
|
63
|
+
TODO
|
64
|
+
|
65
|
+
- [ ] Blender/CAD/Animation
|
66
|
+
|
67
|
+
|
68
|
+
### Design
|
69
|
+
|
70
|
+
<pre>
|
71
|
+
|
72
|
+
| Header |
|
73
|
+
----------------
|
74
|
+
| |
|
75
|
+
Navbar | Posts | Sidebar
|
76
|
+
| |
|
77
|
+
----------------
|
78
|
+
| Footer |
|
79
|
+
|
80
|
+
</pre>
|
81
|
+
|
82
|
+
The **Navbar** and Footer is static.
|
83
|
+
|
84
|
+
#### Home
|
85
|
+
|
86
|
+
The **Header** will contain a searchbar. Search is performed on request (for static pages; dynamically on server) on the blog articles. The **Sidebar** will contain an overview section and display picture along with socials. The **Posts** will list articles as cards.
|
87
|
+
|
88
|
+
#### Post
|
89
|
+
|
90
|
+
The **Header** will contain the title of the post. The **Sidebar** with contain the contents/section names in faded manner.
|
91
|
+
|
92
|
+
#### Pages
|
93
|
+
|
94
|
+
The **Header** will contain the title like in a post, but the **Sidebar** will contian an overview section just like in the home page.
|
95
|
+
|
96
|
+
#### Themes
|
97
|
+
|
98
|
+
Space (dark) and Vintage Notebook (multicolor).
|
99
|
+
|
100
|
+
#### Languages
|
101
|
+
|
102
|
+
English (India/UK) is the default.
|
103
|
+
|
104
|
+
- Language Support:
|
105
|
+
- [ ] Hindi
|
106
|
+
- [ ] Marathi
|
107
|
+
- [ ] Telugu
|
108
|
+
- [ ] . . .
|
109
|
+
|
110
|
+
Syntax highlighting is performed by [rouge](https://github.com/rouge-ruby/rouge). Visit [Pygments](https://pygments.org/styles/) for available styles.
|
111
|
+
|
112
|
+
```shell
|
113
|
+
# Install Pygments.
|
114
|
+
pipenv install
|
115
|
+
|
116
|
+
export style=default # monokai (for dark mode)
|
117
|
+
export pygments_dir=assets/external/pygments/css/
|
118
|
+
mkdir -p $pygments_dir
|
119
|
+
pygmentize -f html -S $style -a .highlight > $pygments_dir$style.css
|
120
|
+
|
121
|
+
```
|
data/_config.yml
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
# Welcome to Jekyll!
|
2
|
+
#
|
3
|
+
# This config file is meant for settings that affect your whole blog, values
|
4
|
+
# which you are expected to set up once and rarely edit after that. If you find
|
5
|
+
# yourself editing this file very often, consider using Jekyll's data files
|
6
|
+
# feature for the data you need to update frequently.
|
7
|
+
#
|
8
|
+
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
9
|
+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
|
10
|
+
#
|
11
|
+
# If you need help with YAML syntax, here are some quick references for you:
|
12
|
+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
|
13
|
+
# https://learnxinyminutes.com/docs/yaml/
|
14
|
+
#
|
15
|
+
# Site settings
|
16
|
+
# These are used to personalize your new site. If you look in the HTML files,
|
17
|
+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
|
18
|
+
# You can create any custom variable you would like, and they will be accessible
|
19
|
+
# in the templates via {{ site.myvariable }}.
|
20
|
+
|
21
|
+
title: Jekyll Bhautiki # the title of the website (e.g.: name of the individual)
|
22
|
+
description: >- # this means to ignore newlines until "baseurl:"
|
23
|
+
Physics inspired feature-rich Jekyll theme with Math support.
|
24
|
+
baseurl: "" # the subpath of your site, e.g. /blog
|
25
|
+
url: "" # the base hostname & protocol for your site, e.g. http://example.com
|
26
|
+
|
27
|
+
author:
|
28
|
+
name: Bhautiki
|
29
|
+
email: your-email@example.com
|
30
|
+
# supply sha256sum of email for gravatar
|
31
|
+
gravatar: '?d=robohash&f=y&s=200'
|
32
|
+
picture: /assets/img/bhautiki-samay.gif
|
33
|
+
url: https://example.com/
|
34
|
+
socials:
|
35
|
+
twitter:
|
36
|
+
username: jekyllrb
|
37
|
+
github:
|
38
|
+
username: jekyll
|
39
|
+
linkedin:
|
40
|
+
username: ""
|
41
|
+
facebook:
|
42
|
+
username: ""
|
43
|
+
instagram:
|
44
|
+
username: ""
|
45
|
+
twitch:
|
46
|
+
username: ""
|
47
|
+
goodreads:
|
48
|
+
username: ""
|
49
|
+
|
50
|
+
# Build settings
|
51
|
+
# theme: jekyll-bhautiki
|
52
|
+
plugins:
|
53
|
+
- jekyll-feed
|
54
|
+
- jekyll-seo-tag
|
55
|
+
- jekyll-archives
|
56
|
+
|
57
|
+
# Analytics
|
58
|
+
google_analytics:
|
59
|
+
id:
|
60
|
+
|
61
|
+
# Language
|
62
|
+
lang: eng
|
63
|
+
# langs = [eng, fre, hin, mar, tel, bho] # TODO: add language support
|
64
|
+
# ISO 639.2 standard:
|
65
|
+
# https://www.loc.gov/standards/iso639-2/php/code_list.php
|
66
|
+
|
67
|
+
# Timezone
|
68
|
+
timezone: Asia/Kolkata
|
69
|
+
|
70
|
+
# Exclude from processing.
|
71
|
+
# The following items will not be processed, by default.
|
72
|
+
# Any item listed under the `exclude:` key here will be automatically added to
|
73
|
+
# the internal "default list".
|
74
|
+
#
|
75
|
+
# Excluded items can be processed by explicitly listing the directories or
|
76
|
+
# their entries' file path in the `include:` list.
|
77
|
+
#
|
78
|
+
exclude:
|
79
|
+
- .sass-cache/
|
80
|
+
- .jekyll-cache/
|
81
|
+
- .parcel-cache/
|
82
|
+
- gemfiles/
|
83
|
+
- Gemfile
|
84
|
+
- Gemfile.lock
|
85
|
+
- node_modules/
|
86
|
+
- vendor/bundle/
|
87
|
+
- vendor/cache/
|
88
|
+
- vendor/gems/
|
89
|
+
- vendor/ruby/
|
90
|
+
- LICENSE
|
91
|
+
- README.md
|
92
|
+
- package.json
|
93
|
+
- package-lock.json
|
94
|
+
- .ruby-version
|
95
|
+
- Pipfile.lock
|
96
|
+
- Pipfile
|
97
|
+
- venv
|
98
|
+
- .python-version
|
99
|
+
- jekyll-bhautiki.gemspec
|
100
|
+
- docs/
|
101
|
+
|
102
|
+
kramdown:
|
103
|
+
syntax_highlighter: rouge
|
104
|
+
# https://github.com/jneen/rouge
|
105
|
+
syntax_highlighter_opts:
|
106
|
+
css_class: highlight
|
107
|
+
# default_lang: console
|
108
|
+
# line_format: '%i '
|
109
|
+
span:
|
110
|
+
line_numbers: false
|
111
|
+
block:
|
112
|
+
line_numbers: true
|
113
|
+
start_line: 1
|
114
|
+
wrap: true
|
115
|
+
|
116
|
+
# Compress/minify the generated css file.
|
117
|
+
sass:
|
118
|
+
style: compressed
|
119
|
+
|
120
|
+
collections:
|
121
|
+
pages:
|
122
|
+
output: true
|
123
|
+
|
124
|
+
# Front Matter defaults.
|
125
|
+
# https://jekyllrb.com/docs/configuration/front-matter-defaults/
|
126
|
+
defaults:
|
127
|
+
-
|
128
|
+
scope:
|
129
|
+
path: _posts # an empty string here means all files in the project
|
130
|
+
type: posts # types available: pages, posts, drafts and custom collections (plural)
|
131
|
+
values:
|
132
|
+
layout: post
|
133
|
+
permalink: /post/:title
|
134
|
+
toc: true
|
135
|
+
-
|
136
|
+
scope:
|
137
|
+
path: _pages
|
138
|
+
type: pages
|
139
|
+
values:
|
140
|
+
layout: page
|
141
|
+
permalink: /:title
|
142
|
+
|
143
|
+
jekyll-archives:
|
144
|
+
enabled: [year, tags, categories]
|
145
|
+
layout: archive
|
146
|
+
permalinks:
|
147
|
+
year: '/archive/:year/'
|
148
|
+
tag: '/archive/tag/:name/'
|
149
|
+
category: '/archive/category/:name/'
|
data/_data/assets.yml
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
|
2
|
+
head:
|
3
|
+
# Order sensitive for JavaScript (js).
|
4
|
+
jquery:
|
5
|
+
js: /assets/external/jquery/js/jquery.min.js
|
6
|
+
|
7
|
+
foundation:
|
8
|
+
css: /assets/external/foundation-sites/css/foundation.min.css
|
9
|
+
js: /assets/external/foundation-sites/js/foundation.min.js
|
10
|
+
|
11
|
+
feather:
|
12
|
+
js: /assets/external/feather-icons/js/feather.min.js
|
13
|
+
|
14
|
+
main:
|
15
|
+
css: /assets/css/bhautiki.css
|
16
|
+
js: /assets/js/main.js
|
17
|
+
|
18
|
+
# Syntax highlight
|
19
|
+
pygments:
|
20
|
+
css: /assets/external/pygments/css/monokai.css
|
21
|
+
|
22
|
+
post:
|
23
|
+
js: /assets/js/post.js
|
24
|
+
|
25
|
+
tocbot:
|
26
|
+
css: /assets/external/tocbot/css/tocbot.css
|
27
|
+
js: /assets/external/tocbot/js/tocbot.min.js
|
28
|
+
|
29
|
+
math:
|
30
|
+
js: /assets/external/mathjax/js/tex-mml-chtml.js
|
31
|
+
|
32
|
+
nav:
|
33
|
+
img: /assets/img/bhautiki-samay.gif
|
34
|
+
|
35
|
+
favicon:
|
36
|
+
apple-touch: /assets/img/favicon/apple-touch-icon.png
|
37
|
+
x32: /assets/img/favicon/favicon-32x32.png
|
38
|
+
x16: /assets/img/favicon/favicon-16x16.png
|
39
|
+
manifest: /assets/img/favicon/site.webmanifest
|
40
|
+
shortcut: /assets/img/favicon/favicon.ico
|
data/_data/messages.yml
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
welcome:
|
2
|
+
text: Welcome!
|
3
|
+
|
4
|
+
copyright:
|
5
|
+
text: Some Rights Reserved.
|
6
|
+
|
7
|
+
toc:
|
8
|
+
text: Contents
|
9
|
+
|
10
|
+
overview:
|
11
|
+
text: >
|
12
|
+
Hi, I am a funky theme created out of boredom to enable child-like creaters,
|
13
|
+
makers and engineering enthusiasts to share their thoughts on their favourite
|
14
|
+
subjects: whether it be Cosmology, Quantum Mechanics or Category Theory.
|
15
|
+
So, fork me and feel free to add your intellectual excursions to present it to everyone.
|
16
|
+
Perhapes you know something that few others know, and only time will tell
|
17
|
+
if your amazing discovery is indeed something that can rattle the scientific world.
|
data/_data/sections.yml
ADDED
data/_data/socials.yml
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
twitter:
|
2
|
+
url: https://www.twitter.com
|
3
|
+
icon: twitter
|
4
|
+
|
5
|
+
github:
|
6
|
+
url: https://www.github.com
|
7
|
+
icon: github
|
8
|
+
|
9
|
+
linkedin:
|
10
|
+
url: https://www.linkedin.com/in
|
11
|
+
icon: linkedin
|
12
|
+
|
13
|
+
facebook:
|
14
|
+
url: https://www.facebook.com
|
15
|
+
icon: facebook
|
16
|
+
|
17
|
+
instagram:
|
18
|
+
url: https://www.instagram.com
|
19
|
+
icon: instagram
|
20
|
+
|
21
|
+
twitch:
|
22
|
+
url: https://www.twitch.com
|
23
|
+
icon: twitch
|
24
|
+
|
25
|
+
goodreads:
|
26
|
+
url: https://www.goodreads.com/
|
27
|
+
icon: book
|
28
|
+
|
29
|
+
mail:
|
30
|
+
url: mailto
|
31
|
+
icon: mail
|
@@ -0,0 +1,49 @@
|
|
1
|
+
<!-- Footer -->
|
2
|
+
|
3
|
+
<footer>
|
4
|
+
<div class="grid-x grid-padding-x grid-padding-y align-center">
|
5
|
+
<div class="cell small-1 text-left">
|
6
|
+
<div data-sticky-container>
|
7
|
+
<div class="sticky" data-stick-to="bottom" data-sticky>
|
8
|
+
<button id="mode" type="button">
|
9
|
+
<i data-feather="moon"></i>
|
10
|
+
</button>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<div class="cell small-6 text-left">
|
16
|
+
{% if page.layout == 'post' %}
|
17
|
+
Written by
|
18
|
+
{% if page.author %}
|
19
|
+
<strong>{{- page.author -}}</strong>
|
20
|
+
{% elsif page.authors %}
|
21
|
+
<strong>{{- page.authors[0] -}}</strong> et. al.
|
22
|
+
{% else %}
|
23
|
+
<strong>{{- site.author.name -}}</strong>
|
24
|
+
{% endif %}
|
25
|
+
{% if page.date %}
|
26
|
+
on <strong>{{ page.date | date: "%d %B %Y" }}</strong>.
|
27
|
+
{% endif %}
|
28
|
+
{% endif %}
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<div class="cell small-4 text-right">
|
32
|
+
{% if page.layout == 'post' %}
|
33
|
+
{{- site.data.messages.copyright.text -}}
|
34
|
+
{% endif %}
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div class="cell small-1 text-right">
|
38
|
+
<a href="#top" data-smooth-scroll>
|
39
|
+
<div data-sticky-container>
|
40
|
+
<div class="sticky" data-stick-to="bottom" data-sticky>
|
41
|
+
<button type="button" data-toggle="up">
|
42
|
+
<i data-feather="arrow-up-circle"></i>
|
43
|
+
</button>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
</a>
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
</footer>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
<!-- Meta & Style -->
|
2
|
+
|
3
|
+
<head>
|
4
|
+
<title>
|
5
|
+
{% if page.title %}
|
6
|
+
{{ page.title }} |
|
7
|
+
{% endif %}
|
8
|
+
{{ site.title }}
|
9
|
+
</title>
|
10
|
+
|
11
|
+
<!-- meta -->
|
12
|
+
<!-- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta -->
|
13
|
+
<meta name="title" content="{{ site.title }}" />
|
14
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
15
|
+
<meta name="description" content="{{ site.description }}" />
|
16
|
+
<meta name="color-scheme" content="[light | dark]+">
|
17
|
+
<meta name="robots" content="index, nofollow, nocache">
|
18
|
+
<!-- https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag -->
|
19
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, interactive-widget=overlays-content, shrink-to-fit=no, viewport-fit=contain"/>
|
20
|
+
|
21
|
+
<!-- favicon -->
|
22
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{ site.data.assets.favicon.apple-touch | relative_url }}">
|
23
|
+
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.data.assets.favicon.x32 | relative_url }}">
|
24
|
+
<link rel="icon" type="image/png" sizes="16x16" href="{{ site.data.assets.favicon.x16 | relative_url }}">
|
25
|
+
<link rel="manifest" href="{{ site.data.assets.favicon.manifest | relative_url }}">
|
26
|
+
<link rel="shortcut icon" href="{{ site.data.assets.favicon.shortcut | relative_url }}">
|
27
|
+
|
28
|
+
{% if page.layout == 'post' %}
|
29
|
+
<!-- add post specific css -->
|
30
|
+
{% for asset in site.data.assets.post %}
|
31
|
+
{% assign name = asset | first %}
|
32
|
+
|
33
|
+
{% if site.data.assets.post[name].css %}
|
34
|
+
<link rel="stylesheet" href="{{ site.data.assets.post[name].css | relative_url }}">
|
35
|
+
{% endif %}
|
36
|
+
{% endfor %}
|
37
|
+
{% endif %}
|
38
|
+
|
39
|
+
{% for asset in site.data.assets.head %}
|
40
|
+
{% assign name = asset | first %}
|
41
|
+
|
42
|
+
{% if site.data.assets.head[name].css %}
|
43
|
+
<link rel="stylesheet" href="{{ site.data.assets.head[name].css | relative_url }}">
|
44
|
+
{% endif %}
|
45
|
+
{% endfor %}
|
46
|
+
</head>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<!-- Header -->
|
2
|
+
|
3
|
+
<header>
|
4
|
+
<div class="grid-x grid-padding-x grid-padding-y align-center">
|
5
|
+
<div class="cell small-1 text-left">
|
6
|
+
<div data-sticky-container>
|
7
|
+
<div class="sticky" data-sticky>
|
8
|
+
<button class="hide-for-large" type="button" data-toggle="nav">
|
9
|
+
<i data-feather="sidebar"></i>
|
10
|
+
</button>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<div id="top" class="cell small-10 text-center">
|
16
|
+
{% if page.layout == 'home' %}
|
17
|
+
{% include home/title.html %}
|
18
|
+
{% else %}
|
19
|
+
{% include post/title.html %}
|
20
|
+
{% endif %}
|
21
|
+
</div>
|
22
|
+
|
23
|
+
<div class="cell small-1 text-right">
|
24
|
+
<div data-sticky-container>
|
25
|
+
<div class="sticky" data-sticky>
|
26
|
+
<button class="hide-for-large" type="button" data-toggle="side">
|
27
|
+
<i data-feather="menu"></i>
|
28
|
+
</button>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
</header>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<!-- Hello -->
|
2
|
+
|
3
|
+
<div class="grid-y grid-frame grid-padding-y grid-padding-x">
|
4
|
+
<div class="cell shrink text-center">
|
5
|
+
{{- site.data.messages.overview.text -}}
|
6
|
+
</div>
|
7
|
+
|
8
|
+
<div class="cell auto text-center">
|
9
|
+
{% if site.author.gravatar %}
|
10
|
+
<img src="{{ site.author.gravatar | prepend: 'https://gravatar.com/avatar/' }}" alt="Author Gravtar">
|
11
|
+
{% endif %}
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<div class="cell small-2-shrink">
|
15
|
+
<ul class="menu align-center simple">
|
16
|
+
{% for social in site.data.socials %}
|
17
|
+
{% assign name = social | first %}
|
18
|
+
|
19
|
+
{% if site.author.socials[name].username %}
|
20
|
+
<li>
|
21
|
+
<a href="{{ site.data.socials[name].url }}/{{ site.author.socials[name].username }}" target="_blank">
|
22
|
+
<i data-feather="{{ site.data.socials[name].icon }}"></i>
|
23
|
+
</a>
|
24
|
+
</li>
|
25
|
+
{% endif %}
|
26
|
+
{% endfor %}
|
27
|
+
|
28
|
+
{% if site.author.email %}
|
29
|
+
<li>
|
30
|
+
<a href="{{ site.data.socials.mail.url | append: ':' | append: site.author.email }}" crossorigin="anonymous" target="_blank">
|
31
|
+
<i data-feather="{{ site.data.socials.mail.icon }}"></i>
|
32
|
+
</a>
|
33
|
+
</li>
|
34
|
+
{% endif %}
|
35
|
+
</ul>
|
36
|
+
</div>
|
37
|
+
</div>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<!-- Navbar -->
|
2
|
+
|
3
|
+
<div class="off-canvas position-left reveal-for-large" id="nav" data-off-canvas data-transition="push">
|
4
|
+
<div class="grid-y grid-frame grid-padding-y grid-padding-x">
|
5
|
+
<div class="cell shrink">
|
6
|
+
<h1>
|
7
|
+
{{ site.title }}
|
8
|
+
</h1>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<nav class="cell shrink">
|
12
|
+
<ul class="vertical menu">
|
13
|
+
{% for section in site.data.sections %}
|
14
|
+
{% assign name = section | first %}
|
15
|
+
{% if site.data.sections[name].path %}
|
16
|
+
<li>
|
17
|
+
<a href="{{ site.data.sections[name].path | prepend: site.base_url }}" class="hollow button text-left">
|
18
|
+
<i data-feather="{{ site.data.sections[name].icon }}"></i>
|
19
|
+
<span>{{ name | upcase }}</span>
|
20
|
+
</a>
|
21
|
+
</li>
|
22
|
+
{% endif %}
|
23
|
+
{% endfor %}
|
24
|
+
</ul>
|
25
|
+
</nav>
|
26
|
+
|
27
|
+
<div class="cell auto text-center">
|
28
|
+
{% if site.data.assets.nav.img %}
|
29
|
+
<img src="{{ site.data.assets.nav.img | relative_url }}" alt="Site Image">
|
30
|
+
{% endif %}
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<div class="cell small-2-shrink">
|
34
|
+
{{ site.description }}
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!-- Scripts -->
|
2
|
+
|
3
|
+
{% for asset in site.data.assets.head %}
|
4
|
+
{% assign name = asset | first %}
|
5
|
+
|
6
|
+
{% if site.data.assets.head[name].js %}
|
7
|
+
<script src="{{ site.data.assets.head[name].js | relative_url }}"></script>
|
8
|
+
{% endif %}
|
9
|
+
{% endfor %}
|
10
|
+
|
11
|
+
{% if page.layout == 'post' %}
|
12
|
+
<script src="{{ site.data.assets.post.tocbot.js | relative_url }}"></script>
|
13
|
+
<script src="{{ site.data.assets.post.js | relative_url }}"></script>
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
{% if page.math %}
|
17
|
+
<script src="{{ site.data.assets.post.math.js | relative_url }}"></script>
|
18
|
+
{% endif %}
|