Compare commits

..

175 Commits

Author SHA1 Message Date
6a84cef6a2
Fetch upstream (#5)
* fix(#744): Escape special characters in title (#745)

* add matt artist as sponsor

* Fix margin top alignment issue on Safari (#750)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Remove references to any public Staticman API instance (#775)

* Update CHANGELOG.md

* Adding option for Medium Social Link at footer  (#784)

* Itch.io social link (#788)

* Update CHANGELOG.md

* Add support for Cloudflare analytics (#798)

* Include Reddit in share options of posts (#815)

* add search to the navbar using 'post_search' config param

* Update CHANGELOG.md

* ui: make sure search results dont have underline until hovered

* search feature: make sure page scrollbar disappears when searching but a scrollbar for search items shows if needed

* update changelog

Co-authored-by: Dmitry <dmitry.b.danilov@gmail.com>
Co-authored-by: Dean Attali <dean@attalitech.com>
Co-authored-by: Amy Troschinetz <lexicalunit@lexicalunit.com>
Co-authored-by: Dean Attali <daattali@gmail.com>
Co-authored-by: Vincent Tam <VincentTam@users.noreply.github.com>
Co-authored-by: Diksha Verma <112dikshaverma@gmail.com>
Co-authored-by: Emaleth <Emaleth@protonmail.com>
Co-authored-by: Ari Kalfus <dev@artis3nal.com>
Co-authored-by: Leedan <l33d4n@gmail.com>
Co-authored-by: Marco Blessing <marco.blessing@komm.one>
2021-08-02 17:02:35 +02:00
5e52982867
Merge/2021 02 15 (#3)
* fix(#744): Escape special characters in title (#745)

* add matt artist as sponsor

* Fix margin top alignment issue on Safari (#750)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Remove references to any public Staticman API instance (#775)

* Update CHANGELOG.md

Co-authored-by: Dmitry <dmitry.b.danilov@gmail.com>
Co-authored-by: Dean Attali <dean@attalitech.com>
Co-authored-by: Amy Troschinetz <lexicalunit@lexicalunit.com>
Co-authored-by: Dean Attali <daattali@gmail.com>
Co-authored-by: Vincent Tam <VincentTam@users.noreply.github.com>
2021-02-15 19:33:32 +01:00
05c08afee7
Merge upstream updates (#2)
* fix(#744): Escape special characters in title (#745)

* add matt artist as sponsor

* Fix margin top alignment issue on Safari (#750)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: Dmitry <dmitry.b.danilov@gmail.com>
Co-authored-by: Dean Attali <dean@attalitech.com>
Co-authored-by: Amy Troschinetz <lexicalunit@lexicalunit.com>
Co-authored-by: Dean Attali <daattali@gmail.com>
2021-01-23 20:40:54 +01:00
d8dac03d4b
Incubator (#1)
* add webfonts to gitignore

* import external resources

* add internal resources and deactivate external

* added meta help
2020-11-21 20:20:12 +01:00
Dean Attali
8b41236317
clarify documentation on how to use captions in cover images; related to #740 2020-11-16 17:38:52 -05:00
Dean Attali
9485cac197
Update _config.yml 2020-11-16 13:24:23 -05:00
Dean Attali
bf4f1c82f8
undo future=false change 2020-11-05 12:18:10 -05:00
Dean Attali
15ab9d1f8f
undo last change 2020-11-05 12:17:49 -05:00
Dean Attali
5dcc660010
Update CHANGELOG.md 2020-11-05 12:13:41 -05:00
Dean Attali
0ab6e4931e
update config to overwrite github's default future=true flag so that future posts aren't shown 2020-11-05 12:13:09 -05:00
Dean Attali
8daf9057a1 add patreon support to social media links in footer 2020-11-05 07:32:46 +00:00
Dean Attali
61c8a2b1c5
Update FUNDING.yml 2020-11-05 01:45:29 -05:00
Dean Attali
0741ff3681
Update CHANGELOG.md 2020-10-27 18:16:35 -04:00
Dean Attali
cf2e75963c
make sure post images maintain a proper image aspect and aren't forced into squares 2020-10-27 18:15:36 -04:00
Dean Attali
9edafd17a5
Update CHANGELOG.md 2020-10-26 18:10:55 -04:00
Dean Attali
8e634fd52a
bug fix: when using an image as a navbar title, use relative path so that a GitHub Project page will have the correct path 2020-10-26 18:09:49 -04:00
Dean Attali
8e98675644
Update issue_template.md 2020-09-28 03:15:31 -04:00
Dean Attali
f52bbed1d9
css: add margin top to blog tags 2020-09-25 16:53:58 -04:00
Dean Attali
b36bc28fcb
make thumbnails less grayscaled 2020-09-23 01:54:22 -04:00
Dean Attali
acf8e65897
make grayscaled thumbnails more colourful 2020-09-23 01:13:48 -04:00
Dean Attali
d417c92d4b
Update footer.html 2020-09-16 21:16:49 -04:00
Dean Attali
54d33dc947
Update nav.html 2020-09-16 21:06:21 -04:00
Dean Attali
73ca9e017a
Update nav.html 2020-09-16 19:52:43 -04:00
Dean Attali
e8ba5a3034
Update CHANGELOG.md 2020-09-16 19:50:28 -04:00
Dean Attali
58183b8a15 fix bug where navbar burger button didn't always revert to the correct light one 2020-09-16 23:47:10 +00:00
Dean Attali
040469e9ed fix bug where navbar secondary level dropdown items did not inherit the same colour as the primary navbar links 2020-09-16 23:47:10 +00:00
Dean Attali
c474616842 navbar: don't transition the background colour 2020-09-16 23:47:10 +00:00
Dean Attali
5c45d8637b
css: change navbar collapsed width 2020-09-16 02:00:20 -04:00
Dean Attali
421d146e22
navbar: change burger to xl instead of lg 2020-09-16 01:58:28 -04:00
Dean Attali
c54c6bd9e9 change width of navbar collapse; fixes #719 2020-09-16 03:38:58 +00:00
Dean Attali
d5859860e3 bump version to 5.0.0 2020-09-15 22:16:19 +00:00
Dean Attali
ff02b9d80f
add top margin to headers 2020-09-15 17:29:27 -04:00
Dean Attali
de46c033b6
Update README.md 2020-09-15 17:16:52 -04:00
Dean Attali
fc31bea5ce
Update README.md 2020-09-15 17:16:21 -04:00
Dean Attali
f9324ff166
link to faq 2020-09-15 16:02:03 -04:00
Dean Attali
36437dc4bd
Update README.md 2020-09-15 02:26:30 -04:00
Dean Attali
663d45190e
Update README.md 2020-09-14 02:24:31 -04:00
Dean Attali
bdfcca0f5e
Update README.md 2020-09-14 02:22:49 -04:00
Dean Attali
051413d0dc
Update README.md 2020-09-14 02:21:08 -04:00
Dean Attali
71d494ca89
Update README.md 2020-09-14 02:20:52 -04:00
Dean Attali
7268d4fa21 make thumbnails square 2020-09-13 07:37:29 +00:00
Dean Attali
807f35ff05
allow url-canonical in footer 2020-09-12 21:07:08 -04:00
Dean Attali
f64281de36
convert px to rem for tags border 2020-09-12 21:01:19 -04:00
Dean Attali
12c5c85584
code chunks css: fix line height 2020-09-12 20:35:13 -04:00
Dean Attali
253bad1a95
Update README.md 2020-09-12 18:33:18 -04:00
Dean Attali
d57097a1fe add last-updated YAML parameter 2020-09-12 22:30:43 +00:00
Dean Attali
9827abc40e make tags less visually strong 2020-09-12 21:35:44 +00:00
Dean Attali
bb7ddee453
make code chunks backgruodn slightly darker 2020-09-12 14:26:35 -04:00
Dean Attali
6d6d876874
make code chunks background a little lighter 2020-09-12 14:25:38 -04:00
Dean Attali
0eac10c664
make code chunks a little smaller 2020-09-12 14:20:56 -04:00
Dean Attali
8af3d917d7
remove custom.css since there's already a site-css setting 2020-09-12 13:05:22 -04:00
Dean Attali
53cf8f01db add site-js setting 2020-09-12 16:59:47 +00:00
Dean Attali
2128b1c48b remove tab 2020-09-12 06:08:43 +00:00
Dean Attali
205961a7bb rewrite CHANGELOG 2020-09-12 04:37:48 +00:00
Dean Attali
03105db2f0 add custom.css template to make it easier for users to add their own CSS 2020-09-12 03:59:24 +00:00
Dean Attali
0222ebfad5
Update issue_template.md 2020-09-10 21:52:31 -04:00
Dean Attali
34a9017ffe
add version to HTML 2020-09-06 14:02:04 -04:00
Dean Attali
5986596714 navbar css: make text size and spacing IDENTICAL to pre bootstrap 4 upgrade 2020-09-04 23:30:54 +00:00
Dean Attali
e2a0826459
Update footer.html 2020-09-04 01:22:09 -04:00
Dean Attali
a67d05c550
Update footer.html 2020-09-04 01:17:17 -04:00
Dean Attali
41c9cd93de
add intro comment in config 2020-09-04 00:52:20 -04:00
Dean Attali
f362b7dec2 use kramdown 2.3.0; fixes #713 2020-09-01 05:56:08 +00:00
Dean Attali
b492d72764 add feed_show_tags option 2020-09-01 05:48:24 +00:00
Dean Attali
a0b2ccee84 css: rearrange some of the file and add a few styles from before bootstrap upgrade; fixes #716 2020-09-01 04:33:08 +00:00
Dean Attali
8d081663ed css: make inline code look the same as before bootstrap 4 upgrade 2020-09-01 04:05:27 +00:00
Dean Attali
86b9f8236c fix nav-short option to have short avatar and to not have top whitespace 2020-08-31 17:46:42 +00:00
Dean Attali
5068c2de8d make show-avatar default for everyone (fixes #715) 2020-08-31 17:08:28 +00:00
Dean Attali
7d784b37c8 add config option 'feed_show_excerpt 2020-08-30 07:25:36 +00:00
Dean Attali
fcddc9e561 add YAML options before-content and after-content 2020-08-24 22:04:22 +00:00
Dean Attali
d88e0468c2 use proper capitalization in demo post 2020-08-24 21:25:05 +00:00
Dean Attali
b660fef759 support multiple files in footer-extra and head-extra 2020-08-24 20:43:43 +00:00
Dean Attali
c677c7e114
change default timezone to east coast 2020-08-23 22:25:58 -04:00
Dean Attali
a852782853
Update README.md 2020-08-23 21:48:01 -04:00
Dean Attali
499ebb8461
Update README.md 2020-08-23 21:43:44 -04:00
Dean Attali
c269ad6a2c
readme: add information about upgrading to newer versions 2020-08-23 21:35:02 -04:00
Dean Attali
20ab6aa941
Update README.md 2020-08-23 20:42:01 -04:00
Dean Attali
30d2e141d8 accidentally reverted some of the README 2020-08-24 00:39:52 +00:00
Dean Attali
8438f3dbe2 add note about sometimes having to re-trigger build; fixes #710 2020-08-24 00:37:54 +00:00
Dean Attali
5991966d38 upgrade to jquery 3.5.1 2020-08-24 00:17:44 +00:00
Dean Attali
fbc6b0bd6d add aria label to link for accessibility 2020-08-23 22:29:14 +00:00
Dean Attali
ee8099fa6e add alt text to changelog 2020-08-23 22:22:46 +00:00
Dean Attali
1db4dd96fa ensure all images have alt text 2020-08-23 22:21:47 +00:00
Dean Attali
43d79b6dc9 remove link-tags settings 2020-08-23 22:19:15 +00:00
Dean Attali
f65e439025 add full-width YAML option 2020-08-23 19:23:33 +00:00
Dean Attali
909190a415
Update CHANGELOG.md 2020-08-23 04:32:56 -04:00
Dean Attali
53242003b0
Update CHANGELOG.md 2020-08-23 04:31:44 -04:00
Dean Attali
d5031ed015
Update README.md 2020-08-23 04:11:45 -04:00
Dean Attali
2e3c779e9e
Update README.md 2020-08-23 04:10:11 -04:00
Dean Attali
a8eea6ce3a
Update README.md 2020-08-23 04:09:49 -04:00
Dean Attali
6a1b3cb343 redesign seo/social media sharing parameters 2020-08-23 07:09:44 +00:00
Dean Attali
71a59841a0 improve README 2020-08-23 04:04:56 +00:00
Dean Attali
3ea3d52dbd small updates to config file params documentation 2020-08-22 23:44:19 +00:00
Dean Attali
6c007bd4bf fix small issue with site social share description 2020-08-22 08:43:04 +00:00
Dean Attali
efe3a22f1f refactor head tag to use variables 2020-08-22 08:40:57 +00:00
Dean Attali
a04d8bb1b6
when determining navbar colour, add a small delay to make sure it was painted 2020-08-21 23:05:37 -04:00
Dean Attali
b76c4fa1b3 rename css/js files from 'main' to 'beautifuljekyll' 2020-08-21 18:55:52 +00:00
Dean Attali
6ba7b4e325
Update README.md 2020-08-21 14:15:28 -04:00
Dean Attali
0577b83b7e
Update footer.html 2020-08-21 12:38:18 -04:00
Dean Attali
9a2c965082
Update footer.html 2020-08-21 12:34:20 -04:00
Dean Attali
ff74e9e8ee
Update footer.html 2020-08-21 12:32:22 -04:00
Dean Attali
37e9026549
Update footer.html 2020-08-21 12:31:37 -04:00
Dean Attali
095ec34ca9
Update README.md 2020-08-21 03:08:03 -04:00
Dean Attali
59a8feb1e4
Update CHANGELOG.md 2020-08-21 02:51:27 -04:00
Dean Attali
e7bcc18e07
Update README.md 2020-08-21 02:46:13 -04:00
Dean Attali
94feff3bc2
Update CHANGELOG.md 2020-08-19 23:21:56 -04:00
Dean Attali
b5826fea49
include site-wide css files before page-specific css 2020-08-19 23:19:54 -04:00
Dean Attali
4c62c42955
Update README.md 2020-08-19 15:47:12 -04:00
Dean Attali
2134efd758
Update CHANGELOG.md 2020-08-16 18:48:10 -04:00
Dean Attali
22804f1ca8
change footer and navbar background to darker 2020-08-16 18:33:22 -04:00
Dean Attali
79fa638686
change footer and header grey to slightly darker for more contrast 2020-08-16 18:16:19 -04:00
Amy Troschinetz
c7c5ba0207
Automatically set navbar light/dark based on color (#702) 2020-08-15 11:41:28 -04:00
Dean Attali
5ce0f3a5f2
Update CHANGELOG.md 2020-08-08 21:47:38 -04:00
Dean Attali
18714c756b
update readme to document head-extra param 2020-08-08 21:46:29 -04:00
Dean Attali
7f45ae2618
support head-extra 2020-08-08 21:44:57 -04:00
Dean Attali
4c319e6aba
Update README.md 2020-08-08 21:43:14 -04:00
Amy Troschinetz
29381b1992
Cleans up trailing whitespace (#700) 2020-08-08 20:13:28 -04:00
Dean Attali
67848364f3
meta description: use site description if page one is not provided 2020-08-08 18:32:36 -04:00
Dean Attali
3579b04705
Update README.md 2020-08-08 14:09:59 -04:00
Dean Attali
3d925bd086
Update README.md 2020-08-08 14:09:10 -04:00
Dean Attali
12974e60ff
Update CHANGELOG.md 2020-08-08 14:08:27 -04:00
Dean Attali
dafbc28377 bump version to 4.1.0 2020-08-08 17:45:40 +00:00
Dean Attali
82c60effed
update FAQ 2020-08-08 13:19:20 -04:00
Amy Troschinetz
5490b4841d
Adds og:site_name support (#699) 2020-08-08 02:18:14 -04:00
Dean Attali
332a3adaa2 fix documentation for latest features 2020-08-08 06:09:00 +00:00
Amy Troschinetz
ac04e14954
Adds configuration for text-color (#694) 2020-08-07 23:07:45 -04:00
Amy Troschinetz
8c0156c1af
Adds support for meta keywords (#691) 2020-08-07 23:06:10 -04:00
Amy Troschinetz
ed31f79fb6
Adds support for meta theme-color (#692) 2020-08-07 22:13:54 -04:00
Amy Troschinetz
c4a397509c
Adds the missing changelog entries from some recent PRs (#698) 2020-08-07 22:12:03 -04:00
Dean Attali
c5f49a65ad
Update CHANGELOG.md 2020-08-07 21:22:56 -04:00
Amy Troschinetz
6163756baa
Adds kramdown-parser-gfm dependency (#697) 2020-08-07 21:18:08 -04:00
Amy Troschinetz
741f7378bd
Adds configuration for additional site css (#695) 2020-08-07 21:10:02 -04:00
Amy Troschinetz
3021233850
Adds page configuration for description (#690) 2020-08-07 21:03:44 -04:00
Amy Troschinetz
6e2442157f
Update README.md (#696)
Fixes a typo
2020-08-07 17:55:23 -04:00
Lukas Himsel
585129f2f3
fix typo (#686) 2020-07-30 03:36:04 -04:00
Dean Attali
9128b55257
Update README.md 2020-07-27 00:27:47 -04:00
Dean Attali
c627df96ff
update cover image 2020-07-20 03:47:05 -04:00
Dean Attali
bfc6dcdd0a
Update README.md 2020-07-17 03:22:43 -04:00
Dean Attali
fccc38afb3
Update README.md 2020-07-17 03:22:31 -04:00
Dean Attali
8e3b90791b
readme word change 2020-07-16 17:03:10 -04:00
Dean Attali
11b9f23b5b
add link to cover photo 2020-07-16 13:50:45 -04:00
Dean Attali
278dc5efab
add cover photo to readme 2020-07-16 13:49:52 -04:00
Dean Attali
dfadb533bb
remove CI badge from README, it's noise 2020-07-13 01:25:25 -04:00
Dean Attali
e6f909cfc9
release gem version 4.0.1 to hotfix staticman UI 2020-07-13 01:20:23 -04:00
Dean Attali
40fc1d99a7
Update CHANGELOG.md 2020-07-13 01:19:16 -04:00
Dean Attali
58835f4098
update config to be more clear about staticman params 2020-07-13 01:12:03 -04:00
Dean Attali
68a0e505bf
Fix staticman UI to work with bootstrap 4; fixes #679 (#681) 2020-07-13 01:09:27 -04:00
Xingchi Li
70717c9a6a
fix jQuery-3.4.1 missing error after enabling Staticman (#680) 2020-07-12 23:36:53 -04:00
Dean Attali
6fd49ce421
Update README.md 2020-07-12 04:25:21 -04:00
Dean Attali
5fbaacb893
change order of badges in readme 2020-07-12 04:16:56 -04:00
Dean Attali
f2b6f5eb8c release gem version 4.0.0 2020-07-12 07:31:45 +00:00
Dean Attali
07dcb69406
Update CHANGELOG.md 2020-07-12 03:09:17 -04:00
Dean Attali
c509fe77a3
clarify changelog 2020-07-12 03:06:35 -04:00
Dean Attali
5bec4cfec8
don't use twitter's large summary card when the image is the website's avatar 2020-07-12 03:06:26 -04:00
Dean Attali
c5b7a95133
Update README.md 2020-07-12 01:43:20 -04:00
Dean Attali
f23fe9c418
fix jquery version in staticman (#675) 2020-07-12 01:18:39 -04:00
Dean Attali
941f01fb02
Update CHANGELOG.md 2020-07-07 01:30:59 -04:00
hsleese
f09523f16e
Add orcid and google scholar (#670) 2020-07-07 01:29:55 -04:00
Dean Attali
3250ea5f74
Update CHANGELOG.md 2020-07-07 01:25:57 -04:00
Dean Attali
b2b6922a8f if share-img not provided, use cover-img or thumbnail. Also make sure all images work with both relative and absolute paths 2020-07-07 05:14:01 +00:00
Dean Attali
88464eb569 cover image will automatically be used as a thumbnail unless a thumbnail is explicitly provided. thumbnail can also be disabled 2020-07-05 07:31:33 +00:00
Dean Attali
70f7345a29 replace 'image' YAML param with 'thumbnail-img' and don't use the thumbnail as the page avatar 2020-07-05 05:18:31 +00:00
Dean Attali
43809d04ae make post images in feed smaller in smaller screens 2020-07-05 03:53:40 +00:00
cketti
23322c281f
Add support for Twitter's 'summary_large_image' (#668) 2020-06-30 15:06:03 -04:00
cketti
45ef2fc8c0
Use Open Graph type 'article' for blog posts (#669) 2020-06-28 15:53:25 -04:00
Dean Attali
3ecedf0684
Update _config.yml 2020-06-11 23:52:15 -04:00
Germo Görtz
930fb01aeb
improved documentation for round-avatar: true (#658) 2020-06-11 23:51:45 -04:00
Dean Attali
2b4261a875
Update CHANGELOG.md 2020-06-11 22:56:58 -04:00
Germo Görtz
b9c5bb97ba
Add social share: VK (#657) 2020-06-11 22:53:39 -04:00
Dean Attali
727c7cee3f
Update CHANGELOG.md 2020-06-07 19:20:12 -04:00
Nikolaos Perrakis
fb0569f433
Adding mastodon social network link (#651) 2020-06-07 19:17:44 -04:00
Gabriel
fca85dd235
Fix CI (#644) 2020-05-24 11:27:43 -04:00
Dean Attali
a449a08be4
readme: stress that you have to click "rename" in github settings 2020-05-23 16:47:24 -04:00
Dean Attali
3881cf0be6
remove CI badge 2020-05-18 16:58:41 -04:00
Dean Attali
39a8658154
Update issue_template.md 2020-05-17 12:04:07 -04:00
Dean Attali
39c4316ee2 fix issue where a menu item with a dropdown as the last menu item did not have proper margin 2020-05-15 04:42:30 +00:00
130 changed files with 1355 additions and 537 deletions

3
.gitattributes vendored
View File

@ -46,3 +46,6 @@ Dockerfile text eol=lf
*.mp3 binary *.mp3 binary
*.ogg binary *.ogg binary
*.flv binary *.flv binary
*.svg binary
*.woff binary
*.woff2 binary

1
.github/FUNDING.yml vendored
View File

@ -1,3 +1,4 @@
# These are supported funding model platforms # These are supported funding model platforms
github: daattali github: daattali
patreon: DeanAttali

View File

@ -1,3 +1,3 @@
Thank you for submitting an issue! Please only submit feature suggestions or bug reports if you believe something is broken.
Please only submit bug reports or feature suggestions. Please do not submit support requests and general help questions in this forum. If you need help, or if you enjoy Beautiful Jekyll and want to support it, please upgrade to one of our plans: https://beautifuljekyll.com/plans/

View File

@ -8,7 +8,8 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build the site in the jekyll/builder container - name: Build the site in the jekyll/builder container
run: | run: |
export JEKYLL_VERSION=3.8
docker run \ docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \ -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
-e PAGES_REPO_NWO=${{ github.repository }} \ -e PAGES_REPO_NWO=${{ github.repository }} \
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future" jekyll/builder:$JEKYLL_VERSION /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"

View File

@ -9,5 +9,5 @@ permalink: /404.html
<h1>Move along. (404 error)</h1> <h1>Move along. (404 error)</h1>
<br/> <br/>
<img src="{{ 'assets/img/404-southpark.jpg' | relative_url }}" /> <img src="{{ 'assets/img/404-southpark.jpg' | relative_url }}" alt="Not found" />
</div> </div>

7
CHANGELOG-SA.md Normal file
View File

@ -0,0 +1,7 @@
## 📅 21-08-08
- 📌 Merge upstream changes to commit `30a757d
`
## 📅 v5.0.0 (2020-11-21)
- Initial version of this SA edition implemented. It's based on `beautiful-jekyll 5.0.0` -> commit `8b41236`.

View File

@ -1,30 +1,119 @@
## v3.0.0 (Date: 2020-05-07) ## Unreleased version
- Added `post_search` config setting that creates a Search button in the navbar (older websites need to set `post_search: true` to enable this feature) (#770)
- Slightly reworked margins and position for avatar image to resolve an alignment issue on Safari.
- Changed the width at which the navbar collapses to a higher threshold because most modern non-mobile browsers are >1000px
- Fixed bug where navbar secondary level dropdown items didn't inherit the same colour as the primary navbar links
- Fixed bug where the navbar "burger" collapsed button didn't always revert back to a light colour
- Fixed bug where using an image as a navbar title did not render in GitHub Project pages that did not have a custom domain
- Fixed issue where image thumbnails on the feed page were always forced into a square rather than maintaining a proper image aspect ratio
- Added support for Patreon, Medium, and Itch.io in the social network links in the footer (#783, #788)
- Fixed bug where special characters in the title led to broken share tags (#744)
- Updated staticman from using v2 (public servers) to v3 (private servers) due to the public servers becoming obsolete (#775)
- Added support for Cloudflare Analytics (#797)
- Added Reddit in share options of posts (#815)
## v5.0.0 (2020-09-15)
One of the major changes in this version is that a lot of time was spent on rethinking the entire SEO and social media sharing model (how a page looks on eg. Google, Twitter, Facebok). It was redesigned to be more simple and customizable. The new documentation has a section dedicated to SEO and social media sharing of a page. Unfortunately some changes that are not backwards-compatible had to be made.
#### Breaking changes
- Renamed `description` YAML parameter to `share-description` to be more clear
- Renamed `description` config setting to `rss-description` since it was only used in RSS (the FAQ explains the difference between YAML parameters and config settings if you're confused)
- Removed YAML parameter `use-site-title` (you can now specify the exact title using `share-title`)
- Removed undocumented YAML parameters `meta-title` and `meta-description`
- Removed `link-tags` config setting because it wasn't necessary. If you use tags, there will now always be a tags page created; if you don't use tags there won't be a tags page.
- The YAML parameter `show-avatar` is now true by default. This has always been the case for GitHub Pages users, but not for `remote_theme` users. For consistency, it's now the default for everyone. (#715)
#### New parameters and settings
- Added `full-width` YAML parameter to allow having full-width pages
- Added `feed_show_excerpt` config setting to show/hide the post excerpts on the feed page
- Added `feed_show_tags` config setting to show/hide the list of tags on post previews on the feed page
- Added `share-title` YAML parameter to give control over the search engine/social media title
- Added `last-updated` YAML parameter to show a "Last Updated on" date for blog posts
- Added `before-content` and `after-content` YAML parameters that allow you to add some common HTML before the main content of a page (below the title) or after the main content (above the footer). Works in a similar way to `footer-extra`.
- Added `head-extra` YAML parameter which is similar to `footer-extra` but is used to include custom HTML code in a page's `<head>` tag
- Added `site-js` config setting to provide JavaScript files that are used on all pages in the site
#### New features and improvements
- Improved the `footer-extra` YAML parameter to support multiple files instead of only a single file
- Added automatic navbar color detection (#702)
- When `nav-short` is turned on, the avatar will also be shorter
- Changed navbar and footer background colour to be slightly darker, for better contrast with the default white page background for accessibility reasons
- Changed the behaviour of `site-css` to include site-wide CSS file **before** instead of after page-specific files
- Renamed internal css/js files from "main" to "beautifuljekyll" to make it easier for users to troubleshoot
- Added alt text to all images for better accessibility
- Made thumbnail images square instead of circles, as users reported that circles cut off important parts of images
#### Bug fixes
- Fixed rendering issues with `nav-short` parameter that caused the body of the page to start too low
- Fixed some CSS styles that broke during the bootstrap 4 migration (#716)
#### Library upgrades
- Upgraded kramdown to version 2.3.0 to fix security issues
- Upgraded jQuery to version 3.5.1 to fix a couple security vulnerabilities with the previous version
## v4.1.0 (2020-08-08)
- Added Open Graph `site_name` meta field to pages automatically
- Added `text-col` config setting for main text color (#694)
- Added `keywords` config setting to set the meta keywords on all pages (for SEO purposes) (#691)
- Added `mobile-theme-col` config setting to allow a mobile theme colour (#692)
- Added `site-css` config setting in the config file to provide CSS files that are used on all pages in the site (#695)
- Added YAML parameter `description`: creates the meta description on a page, intended to provide a brief description of the page for search engines and when the page is shared (#690)
## v4.0.1 (2020-07-13)
- Fixed staticman comments UI that was broken since the migration to bootstrap 4
## v4.0.0 (2020-07-12)
- **BREAKING CHANGE** Replace `image` YAML parameter with `thumbnail-img` to be more clear
- **MAJOR BEHAVIOUR CHANGE** Don't use the thumbnail as the avatar image
- Cover image will automatically be used as thumbnail if none is provided
- Image to share on social media will use the cover image or thumbnail if none is provided
- All images (social media share, thumbnail, cover) can use either relative or absoluate paths.
- Fixed issue where if a dropdown menu was the last item in the menu bar, it did not have a proper margin on the right
- Added social network links: Mastodon (#646), Google Scholar, ORCID (#670)
- Added support for sharing pages on new social network: VK (#657)
- Use Open Graph type 'article' for blog posts (#669)
- Use Twitter's large sumary card (large image) when there is a cover image, thumbnail image, or share image specified (#668)
- Made post images in the feed page smaller on smaller devices
- Fixed jQuery version in staticman (#671)
## v3.0.0 (2020-05-07)
- **BREAKING CHANGE** Upgraded from Bootstrap 3.3.2 to 4.4.1. This involved a major rewrite of most components. This shouldn't affect any users unless you have custom HTML/CSS code which the new Bootstrap could have broken. - **BREAKING CHANGE** Upgraded from Bootstrap 3.3.2 to 4.4.1. This involved a major rewrite of most components. This shouldn't affect any users unless you have custom HTML/CSS code which the new Bootstrap could have broken.
- **BREAKING CHANGE** Renamed `bigimg` YAML parameter to `cover-img`. - **BREAKING CHANGE** Renamed `bigimg` YAML parameter to `cover-img`
- **BREAKING CHANGE** Removed `googlefonts` YAML parameter since googlefonts are just CSS so they can be loaded via `ext-css`. - **BREAKING CHANGE** Removed `googlefonts` YAML parameter since googlefonts are just CSS so they can be loaded via `ext-css`
- **BREAKING CHANGE** Upgraded from jQuery 1.11.2 to 3.4.2. This should not affect most people. - **BREAKING CHANGE** Upgraded from jQuery 1.11.2 to 3.4.2. This should not affect most people
- Added `navbar-border-col` setting in the config file. - Added `navbar-border-col` setting in the config file
- Add accessibility features where possible. - Added accessibility features where possible
- Made the theme completely responsive by rewriting all CSS to use 'rem' instead of 'px'. - Made the theme completely responsive by rewriting all CSS to use 'rem' instead of 'px'
- Rewrite and simplify some JavaScript code to use CSS or Bootstrap alternatives that weren't available in 2015. - Rewrote and simplified some JavaScript code to use CSS or Bootstrap alternatives that weren't available in 2015
- Remove most of the sample posts so that users only have two sample posts to learn from. - Removed most of the sample posts so that users only have two sample posts to learn from
- Improvements to the README instructions. - Improvements to the README instructions
## v2.3.0 (2020-04-29) ## v2.3.0 (2020-04-29)
- Add YAML option `footer-extra` for including custom content in the footer - Added YAML parameter `footer-extra` for including custom content in the footer
- Fix issue: linking to a specific part of a page resulted in scrolling too far (#69) - Fixed issue: linking to a specific part of a page resulted in scrolling too far (#69)
- Add YAML option `nav-short` to have navbar permanently collapsed - Added YAML parameter `nav-short` to have navbar permanently collapsed
- Add social network link: Calendly - Added social network link: Calendly
- Fix bug where RSS link in footer was showing even when turned off - Fixed bug where RSS link in footer was showing even when turned off
## v2.2.0 (2020-04-27) ## v2.2.0 (2020-04-27)
- Add social network link: Telegram (#625) (thanks @mashed-potatoes) - Added social network link: Telegram (#625) (thanks @mashed-potatoes)
- Moved the demo site to an independent URL: https://beautifuljekyll.com - Moved the demo site to an independent URL: https://beautifuljekyll.com
- Major documentation overhaul and cleanup of old files - Major documentation overhaul and cleanup of old files
- Fix a few bugs from the remote_theme migration - Fixed a few bugs from the remote_theme migration
## v2.0.0 (2020-04-26) ## v2.0.0 (2020-04-26)
@ -111,3 +200,4 @@
... Many small changes because the site was in its infancy ... Many small changes because the site was in its infancy
**2015-03-12** Beautiful Jekyll version 0.0000001 is released! **2015-03-12** Beautiful Jekyll version 0.0000001 is released!

209
README.md
View File

@ -1,53 +1,64 @@
# About Beautiful SA Jekyll
> This repository reflects Deans Jekyll template [Beautiful Jekyll](https://beautifuljekyll.com/plans/) as `Standalone` version. This means it contains external CDN resources like bootstrap, jQuery or Font-Awesome. The intension is to help users
with the hosting in [GDPR](https://gdpr.eu/) affected countries.
[![](https://i.imgur.com/zNBkzj1.png)](https://beautifuljekyll.com/plans/)
# Beautiful Jekyll # Beautiful Jekyll
![Beautiful Jekyll CI](https://github.com/daattali/beautiful-jekyll/workflows/Beautiful%20Jekyll%20CI/badge.svg) [![xscode](https://img.shields.io/badge/Available%20on-xs%3Acode-blue?style=?style=plastic&logo=appveyor&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRF////////VXz1bAAAAAJ0Uk5T/wDltzBKAAAAlUlEQVR42uzXSwqAMAwE0Mn9L+3Ggtgkk35QwcnSJo9S+yGwM9DCooCbgn4YrJ4CIPUcQF7/XSBbx2TEz4sAZ2q1RAECBAiYBlCtvwN+KiYAlG7UDGj59MViT9hOwEqAhYCtAsUZvL6I6W8c2wcbd+LIWSCHSTeSAAECngN4xxIDSK9f4B9t377Wd7H5Nt7/Xz8eAgwAvesLRjYYPuUAAAAASUVORK5CYII=)](https://xscode.com/daattali/beautiful-jekyll)
[![Gem Version](https://badge.fury.io/rb/beautiful-jekyll-theme.svg)](https://badge.fury.io/rb/beautiful-jekyll-theme) [![Gem Version](https://badge.fury.io/rb/beautiful-jekyll-theme.svg)](https://badge.fury.io/rb/beautiful-jekyll-theme)
> *Copyright 2020 [Dean Attali](https://deanattali.com)* > By [Dean Attali](https://deanattali.com) &middot; [Demo](https://beautifuljekyll.com/)
**Beautiful Jekyll** is a ready-to-use template to help you create a beautiful website quickly. Perfect for personal sites, blogs, or simple project websites. [Check out a demo](https://beautifuljekyll.com) of what you'll get after just two minutes. You can also look at [my personal website](https://deanattali.com) to see it in use, or see examples of websites other people created using this theme [below](#showcased-users-success-stories). **Beautiful Jekyll** is a ready-to-use template to help you create a beautiful website quickly. Perfect for personal sites, blogs, or simple project websites. [Check out a demo](https://beautifuljekyll.com) of what you'll get after just two minutes. You can also look at [my personal website](https://deanattali.com) or [my consulting website](https://attalitech.com) to see it in use, or see [examples of websites](http://beautifuljekyll.com/examples) other people created using this theme.
**If you enjoy this theme, please consider [supporting me](http://paypal.me/daattali) or [sponsoring me](https://github.com/sponsors/daattali) for developing and maintaining it for over 5 years.** **If you enjoy Beautiful Jekyll, please consider [supporting me](https://github.com/sponsors/daattali) for over 5 years of development (and to unlock rewards!) ❤**
<p align="center">
<a style="display: inline-block;" href="https://paypal.me/daattali">
<img height="40" src="https://camo.githubusercontent.com/0e9e5cac101f7093336b4589c380ab5dcfdcbab0/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f74776f6c66736f6e2f70617970616c2d6769746875622d627574746f6e40312e302e302f646973742f627574746f6e2e737667" />
</a>&nbsp;&nbsp;
<a style="display: inline-block;" href="https://github.com/sponsors/daattali">
<img height="40" src="https://i.imgur.com/034B8vq.png" />
</a>
</p>
## Table of contents ## Table of contents
- [Features](#features) - [Features](#features)
- [Sponsors 🏆](#sponsors)
- [**Build your website in 3 steps**](#build-your-website-in-3-steps) - [**Build your website in 3 steps**](#build-your-website-in-3-steps)
- [Plans](#plans)
- [Add your own content](#add-your-own-content) - [Add your own content](#add-your-own-content)
- [Customizing parameters for each page](#customizing-parameters-for-each-page) - [Customizing parameters for each page](#customizing-parameters-for-each-page)
- [Supported parameters](#supported-parameters) - [Supported parameters](#supported-parameters)
- [Showcased users (success stories!)](#showcased-users-success-stories) - [Featured users (success stories!)](#featured-users-success-stories)
- [FAQ and support](#faq-and-support) - [FAQ and support](#faq-and-support)
- [Credits and contributions](#credits) - [Credits and contributions](#credits)
# Features # Features
__Check out [*What's New?*](https://beautifuljekyll.com/updates/) to see the latest features.__
- **SIMPLE**: The primary goal of Beautiful Jekyll is to allow literally *anyone* to create a website in a few minutes. - **SIMPLE**: The primary goal of Beautiful Jekyll is to allow literally *anyone* to create a website in a few minutes.
- **Modern**: Uses the latest best practices and technologies to achieve nearly perfect scores on Google Chrome's Audit. - **Modern**: Uses the latest best practices and technologies to achieve nearly perfect scores on Google Chrome's Audit.
- **Mobile-first**: Designed to look great on both large-screen and small-screen (mobile) devices. - **Mobile-first**: Designed to look great on both large-screen and small-screen (mobile) devices.
- **Highly customizable**: Many personalization settings such as changing the background colour/image, adding a logo. - **Highly customizable**: Many personalization settings such as changing the background colour/image, adding a logo.
- **Flexible usage**: Use Beautiful Jekyll directly on GitHub or using a Ruby gem - choose the best [development method](#build-your-website-in-3-steps) for you. - **Flexible usage**: Use Beautiful Jekyll directly on GitHub or via a Ruby gem - choose the best [development method](#build-your-website-in-3-steps) for you.
- **Battle-tested**: By using Beautiful Jekyll, you'll be joining tens of thousands of users who used this theme since 2015. - **Battle-tested**: By using Beautiful Jekyll, you'll be joining 50,000+ users enjoying this theme since 2015.
- **Links to your social media**: You can easily add links to any of your social media accounts in the footer of every page. - **SEO and social media support**: Customize how your site looks on Google and when shared on social media.
- **Comments support**: Add comments to any page using either [Disqus](https://disqus.com/), [Facebook comments](https://developers.facebook.com/docs/plugins/comments), [Utterances](https://utteranc.es/), or [Staticman](https://staticman.net). - **Comments support**: Add comments to any page using either [Disqus](https://disqus.com/), [Facebook comments](https://developers.facebook.com/docs/plugins/comments), [Utterances](https://utteranc.es/), or [Staticman](https://staticman.net).
- **Share blog posts on social media**: By default, all blog posts have buttons to allow people to share on Twitter/Facebook/LinkedIn. - **Tags**: Any blog post can be tagged with keywords, and an index page is automatically generated.
- **Tags**: Any blog post can be tagged with keywords, and an index page showing all the tags is automatically generated. - **Analytics**: Easily integrate Google Analytics, or other analytics platforms, to track visits to your website.
- **Tracking analytics**: Easily integrate Google Analytics, or other analytics platforms, to track visits to your website. - **Search**: Let users easily find any page using a Search button in the navigation bar.
- **Photos support**: Any page can have a cover photo around its title, and any blog post can have an associated image. - **Photos support**: Any page can have a full-width cover photo and thumbnail.
- **More advanced features**: I wrote [a blog post](https://deanattali.com/2015/03/12/beautiful-jekyll-how-to-build-a-site-in-minutes/) describing some more advanced features that I used in my website that can be used in any beautiful-jekyll site. - **RSS**: An RSS feed is automatically created, so you can even host a podcast easily with Beautiful Jekyll.
<h2 id="sponsors">Sponsors 🏆</h2>
Developing and maintaining Beautiful Jekyll takes a lot of time and effort - thank you to anyone who helps fund this effort!
- [Matt Artist](https://mja00.dev/)
- [\_hyp3ri0n](https://hyperiongray.com)
[Become a sponsor for Beautiful Jekyll and unlock special rewards\!](https://github.com/sponsors/daattali/sponsorships?tier_id=39856)
# Build your website in 3 steps # Build your website in 3 steps
There's a very easy way to use this theme, and there's a hard way. For most people (including myself!), I suggest going the easy route. If you're an advanced user and want to tinker with the hard way (using ruby gems), then [skip the easy way](https://github.com/daattali/beautiful-jekyll#the-hard-way-using-ruby-gems) if you know what you're doing. There's a very easy way to use this theme, and there's a hard way. For most people (including myself!), the easy route is recommended. If you're an advanced user and want to tinker with the hard way (using ruby gems), then [skip the easy way](https://github.com/daattali/beautiful-jekyll#the-hard-way-using-ruby-gems) if you know what you're doing.
## The easy way (recommended!) ## The easy way (recommended!)
@ -63,45 +74,51 @@ Fork this project by clicking the __*Fork*__ button at the top right corner of t
### 2. Rename the project to `<yourusername>.github.io` ### 2. Rename the project to `<yourusername>.github.io`
Click on __*Settings*__ at the top (the cog icon) and on that page you'll have an option to rename the project (*repository name*). This will create a website with the **Beautiful Jekyll** template that will be available at `https://<yourusername>.github.io` within a couple minutes. Check out the [FAQ](#faq-and-support) if you want to use a different project name. Click on __*Settings*__ at the top (the cog icon) and on that page you'll have an option to rename the project (*Repository name*). This will create a website with the **Beautiful Jekyll** template that will be available at `https://<yourusername>.github.io` within a couple minutes (check out the [FAQ](https://beautifuljekyll.com/faq/#custom-domain) if you want to use a different project name). If after a few minutes your website is still not ready, try making any edit to any file, just to force GitHub to re-build your site.
### 3. Customize your website settings ### 3. Customize your website settings
Edit the `_config.yml` file to change any settings you want. To edit the file, click on it to view the file and then click on the pencil icon to edit it (watch the video tutorial above if you're confused). The settings in the file are self-explanatory and I added comments inside the file to help you understand what each setting does. Any line that begins with a hashtag (`#`) is a comment, and the other lines are actual settings. Edit the `_config.yml` file to change any settings you want. To edit the file, click on it to view the file and then click on the pencil icon to edit it (watch the video tutorial above if you're confused). The settings in the file are self-explanatory and there are comments inside the file to help you understand what each setting does. Any line that begins with a hashtag (`#`) is a comment, and the other lines are actual settings.
Note that in the video above only one setting in the `_config.yml` file is edited. **You should actually go through the rest of the settings as well. Don't be lazy, go through all the settings!**
### 4. Congratulations! You have a website! ### 4. Congratulations! You have a website!
After you save your changes to the config file (by clicking on *Commit changes* as the video tutorial shows), your website should be ready in a minute or two at `https://<yourusername>.github.io`. Every time you make a change to any file, your website will get rebuilt and should be updated in about a minute or so. Your website will be initialized with several sample blog posts and a couple other pages. After you save your changes to the `_config.yml` file (by clicking on *Commit changes* as the video tutorial shows), your website should be ready in a minute or two at `https://<yourusername>.github.io`. Every time you make a change to any file, your website will get rebuilt and should be updated in about a minute or so. Your website will be initialized with several sample blog posts and a couple other pages.
Note that in the video above I only edited one setting in the `_config.yml` file. **You should actually go through the rest of the settings as well. Don't be lazy, go through all the settings :)** Note that this was the easy way to *create* your website, but it does come at a cost: when Beautiful Jekyll gains new features in the future, *updating* your website to include all the latest features is cumbersome. See the [FAQ](https://beautifuljekyll.com/faq/#updating) for help with upgrading in the future.
## The hard way (using ruby gems) ## The hard way (using ruby gems)
If you followed the easy method above, then you already have your site and you can skip this section! If you want to install beautiful-jekyll using ruby gems instead, follow the [advanced installation instructions](https://beautifuljekyll.com/getstarted/#install-steps-hard). If you followed the easy method above, then you already have your site and you can skip this section! If you want to use Beautiful Jekyll as a ruby gem instead, follow the [advanced installation instructions](https://beautifuljekyll.com/getstarted/#install-steps-hard). This is harder to set up initially, but it makes it super easy to keep your site up to date with Beautiful Jekyll when more features are added in the future.
# Plans
Beautiful Jekyll is, and always will be, free. But if you want to remove the Beautiful Jekyll ad from your website, use a Dark Mode skin, unlock other special rewards, or simply support the development efforts, [check out the different plans](https://beautifuljekyll.com/plans).
# Add your own content # Add your own content
To add pages to your site, you can either write a markdown file (`.md`) or you can write an HTML file. It's much easier to write markdown than HTML, so I suggest you do that ([here's a great tutorial](https://markdowntutorial.com/) if you need to learn markdown in 5 minutes). You can look at some files on this demo site to get an idea of how to write markdown. To add pages to your site, you can either write a markdown file (`.md`) or you can write an HTML file. It's much easier to write markdown than HTML, so that's the recommended approach ([here's a great tutorial](https://markdowntutorial.com/) if you need to learn markdown in 5 minutes).
To look at existing files, click on any file that ends in `.md`, for example [`aboutme.md`](./aboutme.md). On the next page you can see some nicely formatted text (there's a word in bold, a link, a few bullet points), and if you click on the pencil icon to edit the file, you'll see the markdown code that generated the pretty text. Very easy! To see an example of a markdown file, click on any file that ends in `.md`, for example [`aboutme.md`](./aboutme.md). On that page you can see some nicely formatted text (there's a word in bold, a link, a few bullet points), and if you click on the pencil icon to edit the file, you'll see the markdown code that generated the pretty text. Very easy!
In contrast, look at [`tags.html`](./tags.html). That's how your write HTML - not as pretty. So stick with markdown if you don't know HTML. In contrast, look at [`tags.html`](./tags.html). That's how your write HTML - not as pretty. So stick with markdown if you don't know HTML.
Any markdown or HTML file that you create will be available on your website under `https://<yourusername>.github.io/<pagename>`. For example, if you create a file `about.md` (or `about.html`) then it'll exist at `https://<yourusername>.github.io/about`. Any markdown or HTML file that you create will be available on your website under `https://<yourusername>.github.io/<pagename>`. For example, if you create a file `about.md` (or `about.html`) then it'll exist at `https://<yourusername>.github.io/about`.
Files you create inside the [`_posts`](./_posts) directory will be treated as blog entries. You can look at the existing files there to get an idea of how to write blog posts. Note the format of the blog post files - they must follow the naming convention of `YEAR-MONTH-DAY-title.md`. After you successfully add your own post, you can delete the existing files inside [`_posts`](./_posts) to remove the sample posts, as those are just demo posts to help you learn. Files you create inside the [`_posts`](./_posts) directory will be treated as blog entries. You can look at the existing files there to get an idea of how to write blog posts. Note the format of the blog post files - they must follow the naming convention of `YEAR-MONTH-DAY-title.md`. After you successfully add your own post, you can delete the existing files inside [`_posts`](./_posts) to remove the sample posts, as those are just demo posts to help you learn.
# Customizing parameters for each page # Customizing parameters for each page
**One last important thing**: In order to have your new pages use this template and not just be plain HTML pages, **you must add [YAML front matter](https://jekyllrb.com/docs/front-matter/) to the top of each page**. This is where you'll be able to give each page some extra parameters such as a title, a subtitle, or an image. [Below is a list of all available parameters](#supported-parameters). If you don't want to use any parameters on a page (this also means having no title), then use the empty YAML front matter: **One last important thing**: In order to have your new pages use this template and not just be plain HTML pages, **you must add [YAML front matter](https://jekyllrb.com/docs/front-matter/) to the top of each page**:
``` ```
--- ---
--- ---
``` ```
If you do want to use any parameters, write them between these two lines. For example, you can have this at the top of a page: This is where you'll be able to give each page some extra parameters (such as a title, a subtitle, an image, etc - [below is a list of all parameters](#supported-parameters)). Add any parameters you want between these two dashed lines, for example:
``` ```
--- ---
@ -110,17 +127,17 @@ subtitle: Here you'll find all the ways to get in touch with me
--- ---
``` ```
If you don't want to use any parameters on a page, you still need to use the two dashed lines. If you don't, then your file will be shown as-is without the Beautiful Jekyll template.
You can look at the top of [`aboutme.md`](https://raw.githubusercontent.com/daattali/beautiful-jekyll/master/aboutme.md) as an example. You can look at the top of [`aboutme.md`](https://raw.githubusercontent.com/daattali/beautiful-jekyll/master/aboutme.md) as an example.
**Important takeaway: ALWAYS add the YAML front matter, which is two lines with three dashes, to EVERY page. If you have any parameters, they go between the two lines.** **Important takeaway: ALWAYS add the YAML front matter, which is two lines of three dashes, to EVERY page. If you have any parameters, they go between the two lines.**
If you don't include YAML then your file will not use this template.
# Supported parameters # Supported parameters
Below is a list of the parameters that **Beautiful Jekyll** supports (any of these can be added to the YAML front matter of any page). Remember to also look in the `_config.yml` file to see additional settings. Below is a list of the parameters that Beautiful Jekyll supports (any of these can be added to the YAML front matter of any page). Remember to also look in the `_config.yml` file to see additional site-wide settings.
## Main paramaters ## Main parameters
These are the basic YAML parameters that you are most likely to use on most pages. These are the basic YAML parameters that you are most likely to use on most pages.
@ -129,8 +146,19 @@ Parameter | Description
title | Page or blog post title title | Page or blog post title
subtitle | Short description of page or blog post that goes under the title subtitle | Short description of page or blog post that goes under the title
tags | List of tags to categorize the post. Separate the tags with commas and place them inside square brackets. Example: `[personal, analysis, finance]` tags | List of tags to categorize the post. Separate the tags with commas and place them inside square brackets. Example: `[personal, analysis, finance]`
cover-img | Include a large full-width image at the top of the page. You can either give the path to a single image, or provide a list of images to cycle through (see [my personal website](https://deanattali.com/) as an example). cover-img | Include a large full-width image at the top of the page. You can either provide the path to a single image (eg. `"/path/to/img"`) , or a list of images to cycle through (eg. `["/path/img1", "/path/img2"]`). If you want to add a caption to an image, then you must use the list notation (use `[]` even if you have only one image), and each image should be provided as `"/path/to/img" : "Caption of image"`.
comments | If you want do add comments to a specific page, use `comments: true`. Comments only work if you enable one of the comments providers (Facebook, disqus, staticman, utterances) in `_config.yml` file. Comments are automatically enabled on blog posts but not on other pages; to turn comments off for a specific post, use `comments: false`. thumbnail-img | For blog posts, if you want to add a thumbnail that will show up in the feed, use `thumbnail-img: /path/to/image`. If no thumbnail is provided, then `cover-img` will be used as the thumbnail. You can use `thumbnail-img: ""` to disable a thumbnail.
comments | If you want do add comments to a specific page, use `comments: true`. Comments only work if you enable one of the comments providers (Facebook, disqus, staticman, utterances) in `_config.yml` file. Comments are automatically enabled on blog posts but not on other pages; to turn comments off for a specific post, use `comments: false`.
## Parameters for SEO and social media sharing
These parameters let you control what information shows up when a page is shown in a search engine (such as Google) or gets shared on social media (such as Twitter/Facebook).
Parameter | Description
----------- | -----------
share-title | A title for the page. If not provided, then `title` will be used, and if that's missing then the site title (from `_config.yml`) is used.
share-description | A brief description of the page. If not provided, then `subtitle` will be used, and if that's missing then an excerpt from the page content is used.
share-img | The image to show. If not provided, then `cover-img` or `thumbnail-img` will be used if one of them is provided.
## Less commonly used parameters ## Less commonly used parameters
@ -140,13 +168,12 @@ Parameter | Description
----------- | ----------- ----------- | -----------
readtime | If you want a post to show how many minutes it will take to read it, use `readtime: true`. readtime | If you want a post to show how many minutes it will take to read it, use `readtime: true`.
show-avatar | If you have an avatar configured in the `_config.yml` but you want to turn it off on a specific page, use `show-avatar: false`. show-avatar | If you have an avatar configured in the `_config.yml` but you want to turn it off on a specific page, use `show-avatar: false`.
image | If you want to add an image to your blog post that will show up next to the post's excerpt on the feed and in the post page itself, use `image: /path/to/img`.
share-img | If you want to specify an image to use when sharing the page on Facebook or Twitter, then provide the image's full URL here.
social-share | By default, every blog post has buttons to share the page on social media. If you want to turn this feature off, use `social-share: false`. social-share | By default, every blog post has buttons to share the page on social media. If you want to turn this feature off, use `social-share: false`.
nav-short | By default, the navigation bar gets shorter after scrolling down the page. If you want the navigation bar to always be short on a certain page, use `nav-short: true` nav-short | By default, the navigation bar gets shorter after scrolling down the page. If you want the navigation bar to always be short on a certain page, use `nav-short: true`
gh-repo   | If you want to show GitHub buttons at the top of a post, this sets the GitHub repo name (eg. `daattali/beautiful-jekyll`). You must also use the `gh-badge` parameter to specify what buttons to show. gh-repo | If you want to show GitHub buttons at the top of a post, this sets the GitHub repo name (eg. `daattali/beautiful-jekyll`). You must also use the `gh-badge` parameter to specify what buttons to show.
gh-badge | Select which GitHub buttons to display. Available options are: [star, watch, fork, follow]. You must also use the `gh-repo` parameter to specify the GitHub repo. gh-badge | Select which GitHub buttons to display. Available options are: [star, watch, fork, follow]. You must also use the `gh-repo` parameter to specify the GitHub repo.
layout | What type of page this is (default is `post` for blog posts and `page` for other pages). See _Page types_ section below for more information. last-updated | If you want to show that a blog post was updated after it was originally released, you can specify an "Updated on" date.
layout | What type of page this is (default is `post` for blog posts and `page` for other pages). See _Page types_ section below for more information.
## Advanced parameters ## Advanced parameters
@ -154,9 +181,12 @@ These are advanced parameters that are only useful for people who need very fine
Parameter | Description Parameter | Description
----------- | ----------- ----------- | -----------
footer-extra | If you want to include extra information in the footer, create an HTML file in the `_includes/` folder (for example `_includes/myinfo.html`) and set `footer-extra` to the name of the file (for example `footer-extra: myinfo.html`) footer-extra | If you want to include extra content below the social media icons in the footer, create an HTML file in the `_includes/` folder (for example `_includes/myinfo.html`) and set `footer-extra` to the name of the file (for example `footer-extra: myinfo.html`). Accepts a single file or a list of files.
before-content | Similar to `footer-extra`, but used for including HTML before the main content of the page (below the title).
after-content | Similar to `footer-extra`, but used for including HTML after the main content of the page (above the footer).
head-extra | Similar to `footer-extra`, but used if you have any HTML code that needs to be included in the `<head>` tag of the page.
language | HTML language code to be set on the page's &lt;html&gt; element. language | HTML language code to be set on the page's &lt;html&gt; element.
use-site-title | If you want to use the site title rather than the page title as the HTML document title, use `use-site-title: true`. full-width | By default, page content is constrained to a standard width. Use `full-width: true` to allow the content to span the entire width of the window.
js | List of local JavaScript files to include in the page (eg. `/assets/js/mypage.js`) js | List of local JavaScript files to include in the page (eg. `/assets/js/mypage.js`)
ext-js | List of external JavaScript files to include in the page (eg. `//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js`). External JavaScript files that support [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) can be specified using the `href` and `sri` parameters eg.<br/>`href: "//code.jquery.com/jquery-3.1.1.min.js"`<br/>`sri: "sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="` ext-js | List of external JavaScript files to include in the page (eg. `//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js`). External JavaScript files that support [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) can be specified using the `href` and `sri` parameters eg.<br/>`href: "//code.jquery.com/jquery-3.1.1.min.js"`<br/>`sri: "sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="`
css | List of local CSS files to include in the page css | List of local CSS files to include in the page
@ -170,89 +200,28 @@ ext-css | List of external CSS files to include in the page. External CSS f
- **minimal** - If you want to create a page with minimal styling (ie. without the bulky navigation bar and footer), assign `layout: minimal` to the YAML front matter. - **minimal** - If you want to create a page with minimal styling (ie. without the bulky navigation bar and footer), assign `layout: minimal` to the YAML front matter.
- If you want to completely bypass the template engine and just write your own HTML page, simply omit the YAML front matter. Only do this if you know how to write HTML! - If you want to completely bypass the template engine and just write your own HTML page, simply omit the YAML front matter. Only do this if you know how to write HTML!
# Showcased users (success stories!) # Featured users (success stories!)
Beautiful Jekyll has been used in over 500 websites in its first 6 months, and tens of thousands of times since its inception. Here is a sample of some websites that use Beautiful Jekyll. Visit the [Official website](http://beautifuljekyll.com/examples) to see sample websites using Beautiful Jekyll.
## Project/company websites If you'd like to showcase yourself and join this list, [upgrading to the Individual plan](https://github.com/sponsors/daattali/sponsorships?&tier_id=7362) will give you that publicity plus some other rewards!
| Website | Description |
| :------ |:----------- |
| [repidemicsconsortium.org/](https://www.repidemicsconsortium.org/) | R Epidemics Consortium |
| [vaccineimpact.org](https://www.vaccineimpact.org/) | Vaccine Impact Modelling Consortium |
| [derekogle.com/fishR](http://derekogle.com/fishR/) | Using R for Fisheries Analyses |
| [joecks.github.io/clipboard-actions](http://joecks.github.io/clipboard-actions/) | Clipboard Actions - an Android app |
| [deanattali.com/shinyjs](http://deanattali.com/shinyjs/) | shinyjs - an R package |
| [blabel.github.io](http://blabel.github.io) | Library for canonicalising blank node labels in RDF graphs |
| [reactionic.github.io](http://reactionic.github.io) | Create iOS and Android apps with React and Ionic |
| [ja2-stracciatella.github.io](http://ja2-stracciatella.github.io) | Jagged Alliance 2 Stracciatella |
| [ddocent.com](http://ddocent.com/) | RADSeq Bioinformatics and Beyond |
| [guitarlessons.org](https://www.guitarlessons.org/) | Free online guitar lessons for all |
| [terremotocentroitalia.info](https://www.terremotocentroitalia.info/) | Information about the 2016 Italy earthquake |
## Personal websites
| Website | Who | What |
| :------ |:--- | :--- |
| [deanattali.com](https://deanattali.com) | Dean Attali | Creator of Beautiful Jekyll |
| [ouzor.github.io](http://ouzor.github.io) | Juuso Parkkinen | Data scientist |
| [derekogle.com](http://derekogle.com/) | Derek Ogle | Professor of Mathematical Sciences and Natural Resources |
| [melyanna.github.io](http://melyanna.github.io/) | Melyanna | Shows off her nice art |
| [chauff.github.io](http://chauff.github.io/) | Claudia Hauff | Professor at Delft University of Technology |
| [kootenpv.github.io](http://kootenpv.github.io/) | Pascal van Kooten | Data analytics |
| [sjackman.ca](http://sjackman.ca) | Shaun Jackman | PhD candidate in bioinformatics |
| [anudit.in](http://www.anudit.in/) | Anudit Verma | Engineering student |
| [sharepointoscar.github.io](http://sharepointoscar.github.io) | Oscar Medina | Independent Hacker |
| [ocram85.com](https://ocram85.com) | Marco Blessing | A personal blog about PowerShell and automation |
| [khanna.cc](https://khanna.cc/) | Harry Khanna | Law and software |
# FAQ and support # FAQ and support
If you need any help, I suggest heading over to the [Jekyll support forum](https://talk.jekyllrb.com/). Visit the [official FAQ page](https://beautifuljekyll.com/faq) for answers to commonly asked questions.
Beautiful Jekyll is actively used by thousands of people with wildly varying degrees of competency, so it's impossible to answer all the questions that may arise. Below are answers to a few very common questions. Most questions that I get asked are not directly related to this theme, and instead are more general questions about Jekyll or web development. Many such questions can be answered by reading the [Jekyll documentation](https://jekyllrb.com/) or with Google. Beautiful Jekyll is used by 50,000+ people with wildly varying degrees of web skills, so it's impossible to answer all the questions that may arise. For any question that's not specifically related to Beautiful Jekyll and is more about Jekyll or web development in general, the answer can often be found on Google, in the [Jekyll documentation](https://jekyllrb.com/), or on the [Jekyll support forum](https://talk.jekyllrb.com/).
### What if I don't want the website to be `https://<yourusername>.github.io`? To receive support, select one of the [different plans](https://beautifuljekyll.com/plans) Beautiful Jekyll offers. You can also use the [Discussions](https://github.com/daattali/beautiful-jekyll/discussions) area to try to get help from the community.
Every GitHub user can have one repository (repository = project) named `<yourusername>.github.io` and the website for that repository will be `https://<yourusername>.github.io`.
If you want your project to be named something else, for example `MyAwesomeProject`, that's no problem! All you have to do is go to _Settings_ at the top right corner of the page, and rename your repository to `MyAwesomeProject` (remember to click on the _Rename_ button to confirm). Then you need to scroll down to the _GitHub Pages_ section and choose "master branch" as the source (not "master branch /docs folder"!).
Now your website will be at `https://<yourusername>.github.io\MyAwesomeProject`.
### How do I change the number of posts per page OR the colour of the navigation bar OR the image in the navigation bar OR ...?
Beautiful Jekyll is built to be very customizable, and as such, many questions about "how do I change ..." can be answered by looking at the `_config.yml` file. The configuration file has many adjustable parameters to customize your site.
### How do I add a favicon to my site?
Easy! Just place a valid `favicon.ico` in the root directory of your project. And then wait! It can take a while to update.
### How do I move the blog to another page instead of having it on the home page?
The default style of Beautiful Jekyll is to feature the blog feed on the front page. But for many sites that's not the ideal structure, and you may want to have a separate dedicated page for the blog posts. To have the blog hosted on a different URL (for example at `<mysite.com>/blog`), copy the `index.html` file into a folder with the same name as the desired page (for example, to `blog/index.html`), and in the `_config.yml` file you need to add a parameter `paginate_path: "/<page name>/page:num/"` (for example `paginate_path: "/blog/page:num/"`).
### What size do you recommend using for the `cover-img` photos?
Unfortunately, this is a no-answer! There isn't a one-size-fits-all solution to this, because every person will view your site on a different browser with different dimensions. Some browsers will have very wide aspect ratio, some will be narrower, some will be vertical (such as phones), different phones have different screens, etc. The image will always be centered, so the only tip I can give is that you should make sure the important part of the image is in the middle so that it'll always show. Other than that, every browser will show a different clipping of the image.
### How do I use MathJax equations in my posts?
MathJax can be easily integrated into your website with a one-line addition. You can see [this discussion](https://github.com/daattali/beautiful-jekyll/issues/195) for more information.
# Contributions # Contributions
Thank you to [all past contributors](https://github.com/daattali/beautiful-jekyll/graphs/contributors). If you find any problems or would like to contribute in any way, feel free to create a pull request/open an issue/send me a message. Any comments are welcome! Thank you to [all past contributors](https://github.com/daattali/beautiful-jekyll/graphs/contributors). If you find any problems or would like to contribute in any way, feel free to create a pull request/open an issue/send me a message.
You can also contribute by becoming an [official sponsor](https://github.com/sponsors/daattali) to help keep beautiful-jekyll well-maintained. You can also contribute by becoming an [official sponsor](https://github.com/sponsors/daattali/sponsorships?tier_id=39856) to help keep Beautiful Jekyll well-maintained.
# Credits # Credits
This template was not made *entirely* from scratch. I'd like to give special thanks to [Jekyll Now](https://github.com/barryclark/jekyll-now) and [Bootstrap Clean Blog](https://github.com/IronSummitMedia/startbootstrap-clean-blog), from whom I've taken several ideas initially. This template was not made *entirely* from scratch. I'd like to give special thanks to [Jekyll Now](https://github.com/barryclark/jekyll-now) and [Bootstrap Clean Blog](https://github.com/IronSummitMedia/startbootstrap-clean-blog), from whom I've taken several ideas initially.
I'd also like to thank [Dr. Jekyll's Themes](https://drjekyllthemes.github.io/), [Jekyll Themes](http://jekyllthemes.org/), and another [Jekyll Themes](http://jekyllrc.github.io/jekyllthemes/) for featuring Beautiful Jekyll in their Jekyll theme directories. I'd also like to thank [Dr. Jekyll's Themes](https://drjekyllthemes.github.io/), [Jekyll Themes](http://jekyllthemes.org/), and another [Jekyll Themes](http://jekyllrc.github.io/jekyllthemes/) for featuring Beautiful Jekyll in their Jekyll theme directories.
# Known limitations
- If there are many navigation bar links and an avatar, some of the links may get partially hidden behind the avatar. I suggest either re-thinking the number of links, or not using an avatar.

View File

@ -1,10 +1,12 @@
# --- Basic options --- # # Welcome to Beautiful Jekyll!
# This config file is meant for settings that affect your entire website. When you first
# set up your website you should go through all these settings and edit them, but after
# the initial set up you won't need to come back to this file often.
# --- Required options --- #
# Name of website # Name of website
title: My website title: My Website
# Short description of your site
description: A virtual proof that I'm awesome
# Your name to show in the footer # Your name to show in the footer
author: Some Person author: Some Person
@ -24,32 +26,32 @@ navbar-links:
# Remove this parameter if you don't want an image in the navbar # Remove this parameter if you don't want an image in the navbar
avatar: "/assets/img/avatar-icon.png" avatar: "/assets/img/avatar-icon.png"
# By default, the image is cut into a circle. You can disable this behaviour here. # By default, the image is cut into a circle. You can disable this behaviour by setting 'round-avatar: false'
round-avatar: true round-avatar: true
# If you want to have an image logo in the top-left corner instead of the title text, # If you want to have an image logo in the top-left corner instead of having the title of the website,
# then specify the following parameter # then specify the following parameter
#title-img: /path/to/image #title-img: /path/to/image
# --- Footer options --- # # --- Footer social media links --- #
# Select the social network links that you want to show in the footer. # Select the social network links that you want to show in the footer.
# Uncomment the links you want to show and add your information to each one. # Uncomment the links you want to show and add your information to each one.
# If you don't want to show a link to an RSS feed, set rss to "false".
social-network-links: social-network-links:
email: "someone@example.com" email: "someone@example.com"
facebook: deanattali facebook: deanattali
github: daattali github: daattali
twitter: daattali twitter: daattali
rss: true patreon: DeanAttali
youtube: c/daattali
# medium: yourname
# reddit: yourname # reddit: yourname
# linkedin: daattali # linkedin: daattali
# xing: yourname # xing: yourname
# stackoverflow: "3943160/daattali" # stackoverflow: "3943160/daattali"
# snapchat: deanat78 # snapchat: deanat78
# instagram: deanat78 # instagram: deanat78
# youtube: user/deanat78
# spotify: yourname # spotify: yourname
# telephone: +14159998888 # telephone: +14159998888
# steam: deanat78 # steam: deanat78
@ -57,6 +59,13 @@ social-network-links:
# yelp: yourname # yelp: yourname
# telegram: yourname # telegram: yourname
# calendly: yourname # calendly: yourname
# mastodon: instance.url/@username
# ORCID: your ORCID ID
# google-scholar: your google scholar
# If you want to show a link to an RSS in the footer, add the site description here.
# If you don't want to show an RSS link, remove the following line.
rss-description: This website is a virtual proof that I'm awesome
# --- General options --- # # --- General options --- #
@ -65,46 +74,71 @@ share-links-active:
twitter: true twitter: true
facebook: true facebook: true
linkedin: true linkedin: true
vk: false
# How to display the link to your website in the footer # How to display the link to your website in the footer
# Remove this if you don't want a link in the footer # Remove this if you don't want a link in the footer
url-pretty: "MyWebsite.com" url-pretty: "MyWebsite.com"
# Create a "tags" index page and make tags on each post clickable # Excerpt word length - Truncate the excerpt of each post on the feed page to the specified number of words
link-tags: true
# Excerpt Word Length - Truncates the excerpt to the specified number of words on the index page
excerpt_length: 50 excerpt_length: 50
# Whether or not to show an excerpt for every blog post in the feed page
feed_show_excerpt: true
# Whether or not to show a list of tags below each post preview in the feed page
feed_show_tags: true
# Add a search button to the navbar
post_search: true
# The keywords to associate with your website, for SEO purposes
#keywords: "my,list,of,keywords"
# --- Colours / background image --- # # --- Colours / background image --- #
# Personalize the colors in your website. Colour values can be any valid CSS colour # Personalize the colours in your website. Colour values can be any valid CSS colour
navbar-col: "#F5F5F5" navbar-col: "#EAEAEA"
navbar-text-col: "#404040" navbar-text-col: "#404040"
navbar-border-col: "#EAEAEA" navbar-border-col: "#DDDDDD"
page-col: "#FFFFFF" page-col: "#FFFFFF"
text-col: "#404040"
link-col: "#008AFF" link-col: "#008AFF"
hover-col: "#0085A1" hover-col: "#0085A1"
footer-col: "#F5F5F5" footer-col: "#EAEAEA"
footer-text-col: "#777777" footer-text-col: "#777777"
footer-link-col: "#404040" footer-link-col: "#404040"
# Alternatively, the navbar, footer, and page background can be set to use background images # Alternatively, the navbar, footer, and page background can be set to an image
# instead of colour # instead of colour
#navbar-img: "/assets/img/bgimage.png" #navbar-img: "/assets/img/bgimage.png"
#footer-img: "/assets/img/bgimage.png" #footer-img: "/assets/img/bgimage.png"
#page-img: "/assets/img/bgimage.png" #page-img: "/assets/img/bgimage.png"
# --- Web Statistics Section --- # # Suggest a colour for mobile browsers to use as the browser's theme. This is only supported by a few mobile browsers.
#mobile-theme-col: "#0085A1"
# For any extra visual customization, you can include additional CSS files in every page on your site. List any custom CSS files here
#site-css:
# - "/assets/css/custom-styles.css"
# If you have common JavaScript files that should be included in every page, list them here
#site-js:
# - "/assets/js/custom-script.js"
# --- Web Analytics Section --- #
# Fill in your Google Analytics gtag.js ID to track your website using gtag # Fill in your Google Analytics gtag.js ID to track your website using gtag
#gtag: "" #gtag: ""
# Fill in your Google Analytics ID to track your website using GA # Fill in your Google Analytics ID to track your website using Google Analytics
#google_analytics: "" #google_analytics: ""
# Fill in your Cloudflare Analytics beacon token to track your website using Cloudflare Analytics
#cloudflare_analytics: ""
# Google Tag Manager ID # Google Tag Manager ID
#gtm: "" #gtm: ""
@ -134,37 +168,32 @@ footer-link-col: "#404040"
# theme: github-light # Utterances theme # theme: github-light # Utterances theme
# label: blog-comments # Label that will be assigned to GitHub Issues created by Utterances # label: blog-comments # Label that will be assigned to GitHub Issues created by Utterances
# To use Staticman comments, first invite `staticmanlab` as a collaborator to your repository and # To use Staticman comments, uncomment the following section. You may leave the reCaptcha
# accept the invitation by going to `https://staticman3.herokuapp.com/v3/connect/github/<username>/<repo-name>`. # section commented if you aren't using reCaptcha for spam protection.
# Then uncomment the following section and fill in "repository", "branch", and "endpoint". # Using Staticman requires advanced knowledge, please consult
# If you want to use reCaptcha for staticman (optional for spam protection), then fill # https://github.com/eduardoboucas/staticman/ and https://staticman.net/ for further
# in the "siteKey" and "secret" parameters below and also in `staticman.yml`. # instructions. For any support with staticman please direct questions to staticman and
# See more details at https://staticman.net/ # not to BeautifulJekyll.
#staticman: #staticman:
# repository : # GitHub username/repository eg. "daattali/beautiful-jekyll" # repository : # GitHub username/repository eg. "daattali/beautiful-jekyll"
# branch : master # If you're not using `master` branch, then you also need to update the `branch` parameter in `staticman.yml` # branch : master # If you're not using `master` branch, then you also need to update the `branch` parameter in `staticman.yml`
# endpoint : # URL of your own deployment, with a trailing slash (will fallback to a public GitLab instance) eg. https://<your-api>/v3/entry/github/ # endpoint : # URL of your deployment, with a trailing slash eg. "https://<your-api>/v3/entry/github/"
# reCaptcha: # reCaptcha: # (optional, set these parameters in `staticman.yml` as well)
# siteKey : # Use your own site key, you need to apply for one on Google # siteKey : # You need to apply for a site key on Google
# secret : # ENCRYPT your password by going to https://staticman3.herokuapp.com/v3/encrypt/<your-site-secret> # secret : # Encrypt your password by going to https://<your-own-api>/v3/encrypt/<your-site-secret>
# --- Misc --- # # --- Misc --- #
# Character used to separate site title and description in HTML document title
# and RSS feed title
title-separator: "-"
# Ruby Date Format to show dates of posts # Ruby Date Format to show dates of posts
date_format: "%B %-d, %Y" date_format: "%B %-d, %Y"
# Facebook App ID # Facebook App ID
#fb_app_id: "" #fb_app_id: ""
# --- You don't need to touch anything below here (but you can if you want) --- # # --- You don't need to touch anything below here (but you can if you want) --- #
# Output options (more information on Jekyll's site) # Output options (more information on Jekyll's site)
timezone: "America/Vancouver" timezone: "America/Toronto"
markdown: kramdown markdown: kramdown
highlighter: rouge highlighter: rouge
permalink: /:year-:month-:day-:title/ permalink: /:year-:month-:day-:title/
@ -183,13 +212,11 @@ defaults:
layout: "post" layout: "post"
comments: true # add comments to all blog posts comments: true # add comments to all blog posts
social-share: true # add social media sharing buttons to all blog posts social-share: true # add social media sharing buttons to all blog posts
readtime: false # add estimated reading time on all blog posts
- -
scope: scope:
path: "" # all files path: "" # any file that's not a post will be a "page" layout by default
values: values:
layout: "page" layout: "page"
show-avatar: true
# Exclude these files from production site # Exclude these files from production site
exclude: exclude:
@ -208,3 +235,4 @@ plugins:
# Beautiful Jekyll / Dean Attali # Beautiful Jekyll / Dean Attali
# 2fc73a3a967e97599c9763d05e564189 # 2fc73a3a967e97599c9763d05e564189

View File

@ -487,7 +487,7 @@ pa: &DEFAULT_PA
comment_success_msg : "ਤੁਹਾਡੀਆਂ ਟਿੱਪਣੀਆਂ ਲਈ ਧੰਨਵਾਦ! ਇਹ ਮਨਜ਼ੂਰੀ ਮਿਲਣ ਦੇ ਬਾਅਦ ਸਾਈਟ 'ਤੇ ਦਿਖਾਇਆ ਜਾਵੇਗਾ।" comment_success_msg : "ਤੁਹਾਡੀਆਂ ਟਿੱਪਣੀਆਂ ਲਈ ਧੰਨਵਾਦ! ਇਹ ਮਨਜ਼ੂਰੀ ਮਿਲਣ ਦੇ ਬਾਅਦ ਸਾਈਟ 'ਤੇ ਦਿਖਾਇਆ ਜਾਵੇਗਾ।"
comment_error_msg : "ਮੁਆਫ ਕਰਨਾ, ਤੁਹਾਡੀ ਅਧੀਨਗੀ ਵਿੱਚ ਕੋਈ ਗਲਤੀ ਹੋਈ ਸੀ ਕਿਰਪਾ ਕਰਕੇ ਯਕੀਨੀ ਬਣਾਓ ਕਿ ਸਾਰੇ ਲੋੜੀਂਦੇ ਖੇਤਰ ਪੂਰੇ ਹੋ ਗਏ ਹਨ ਅਤੇ ਦੁਬਾਰਾ ਕੋਸ਼ਿਸ਼ ਕਰੋ।" comment_error_msg : "ਮੁਆਫ ਕਰਨਾ, ਤੁਹਾਡੀ ਅਧੀਨਗੀ ਵਿੱਚ ਕੋਈ ਗਲਤੀ ਹੋਈ ਸੀ ਕਿਰਪਾ ਕਰਕੇ ਯਕੀਨੀ ਬਣਾਓ ਕਿ ਸਾਰੇ ਲੋੜੀਂਦੇ ਖੇਤਰ ਪੂਰੇ ਹੋ ਗਏ ਹਨ ਅਤੇ ਦੁਬਾਰਾ ਕੋਸ਼ਿਸ਼ ਕਰੋ।"
pa-IN: pa-IN:
<<: *DEFAULT_PA <<: *DEFAULT_PA
# Another locale # Another locale
# -------------- # --------------

View File

@ -0,0 +1,8 @@
{% if site.cloudflare_analytics %}
<!-- Cloudflare Web Analytics -->
<script defer
src='https://static.cloudflareinsights.com/beacon.min.js'
data-cf-beacon='{"token": "{{ site.cloudflare_analytics}}"}'>
</script>
<!-- End Cloudflare Web Analytics -->
{% endif %}

View File

@ -1,6 +1,6 @@
{% if page.comments %} {% if page.comments %}
{% include disqus.html %} {% include disqus.html %}
{% include fb-comment.html %} {% include fb-comment.html %}
{% include staticman-comments.html %} {% include staticman-comments.html %}
{% include utterances-comment.html %} {% include utterances-comment.html %}
{% endif %} {% endif %}

View File

@ -19,6 +19,12 @@
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if site.site-js %}
{% for js in site.site-js %}
<script src="{{ js | relative_url }}"></script>
{% endfor %}
{% endif %}
{% if page.ext-js %} {% if page.ext-js %}
{% for js in page.ext-js %} {% for js in page.ext-js %}
{% include ext-js.html js=js %} {% include ext-js.html js=js %}

View File

@ -5,7 +5,9 @@
{% include social-networks-links.html %} {% include social-networks-links.html %}
{% if page.footer-extra %} {% if page.footer-extra %}
<div class="footer-custom-content"> <div class="footer-custom-content">
{% include {{ page.footer-extra }} %} {% for file in page.footer-extra %}
{% include {{ file }} %}
{% endfor %}
</div> </div>
{% endif %} {% endif %}
<p class="copyright text-muted"> <p class="copyright text-muted">
@ -17,7 +19,9 @@
{% if site.url-pretty %} {% if site.url-pretty %}
&nbsp;&bull;&nbsp; &nbsp;&bull;&nbsp;
<a href="{{ '' | absolute_url }}">{{ site.url-pretty }}</a> <span class="author-site">
<a href="{% if site.url-canonical %}{{ site.url-canonical }}{% else %}{{ '' | absolute_url }}{% endif %}">{{ site.url-pretty }}</a>
</span>
{% endif %} {% endif %}
{% if site.matomo %} {% if site.matomo %}
@ -27,11 +31,10 @@
{% endif %} {% endif %}
{% endif%} {% endif%}
</p> </p>
<!-- Please don't remove this, keep my open source work credited :) --> {% unless site.remove-ads %}<p class="theme-by text-muted">
<p class="theme-by text-muted"> Powered by
Theme by <a href="https://beautifuljekyll.com">Beautiful Jekyll</a>
<a href="https://beautifuljekyll.com">beautiful-jekyll</a> </p>{% endunless %}
</p>
</div> </div>
</div> </div>
</div> </div>

View File

@ -2,21 +2,49 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{% if page.use-site-title %}{{ site.title }} {{ site.title-separator | default: '-' }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> {% capture title %}
{%- if page.share-title -%}
{{ page.share-title | strip_html | xml_escape }}
{%- elsif page.title -%}
{{ page.title | strip_html | xml_escape }}
{%- else -%}
{{ site.title | strip_html | xml_escape }}
{%- endif -%}
{% endcapture %}
{% capture description %}
{%- if page.share-description -%}
{{ page.share-description | strip_html | xml_escape }}
{%- elsif page.subtitle -%}
{{ page.subtitle | strip_html | xml_escape }}
{%- else -%}
{%- assign excerpt_length = site.excerpt_length | default: 50 -%}
{{ page.content | strip_html | xml_escape | truncatewords: excerpt_length | strip }}
{%- endif -%}
{% endcapture %}
<title>{{ title }}</title>
{% if site.author %} {% if site.author %}
<meta name="author" content="{{ site.author }}"> <meta name="author" content="{{ site.author }}">
{% endif %} {% endif %}
{% if page.subtitle %} <meta name="description" content="{{ description }}">
<meta name="description" content="{{ page.subtitle }}">
{% if site.mobile-theme-col %}
<meta name="theme-color" content="{{ site.mobile-theme-col }}">
{% endif %} {% endif %}
<link rel="alternate" type="application/rss+xml" title="{{ site.title | default: 'Untitled' }} {{ site.title-separator | default: '-' }} {{ site.description }}" href="{{ '/feed.xml' | absolute_url }}"> {% if site.keywords %}
<meta name="keywords" content="{{ site.keywords }}">
{% endif %}
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ '/feed.xml' | absolute_url }}">
{% include gtag.html %} {% include gtag.html %}
{% include gtm_head.html %} {% include gtm_head.html %}
{% include google_analytics.html %} {% include google_analytics.html %}
{% include cloudflare_analytics.html %}
{% if layout.common-ext-css %} {% if layout.common-ext-css %}
{% for css in layout.common-ext-css %} {% for css in layout.common-ext-css %}
@ -30,91 +58,93 @@
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if site.site-css %}
{% for css in site.site-css %}
<link rel="stylesheet" href="{{ css | relative_url }}">
{% endfor %}
{% endif %}
{% if page.ext-css %} {% if page.ext-css %}
{% for css in page.ext-css %} {% for css in page.ext-css %}
{% include ext-css.html css=css %} {% include ext-css.html css=css %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if page.css %} {% if page.css %}
{% for css in page.css %} {% for css in page.css %}
<link rel="stylesheet" href="{{ css | relative_url }}"> <link rel="stylesheet" href="{{ css | relative_url }}">
{% endfor %} {% endfor %}
{% endif %} {% endif %}
<!-- Facebook OpenGraph tags -->
{% if site.fb_app_id %} {% if site.fb_app_id %}
<meta property="fb:app_id" content="{{ site.fb_app_id }}"> <meta property="fb:app_id" content="{{ site.fb_app_id }}">
{% endif %} {% endif %}
{% if page.meta-title %} {% if site.title %}
<meta property="og:title" content="{{ page.meta-title }}"> <meta property="og:site_name" content="{{ site.title }}">
{% elsif page.title %}
<meta property="og:title" content="{{ page.title }}">
{% elsif site.title %}
<meta property="og:title" content="{{ site.title }}">
{% endif %} {% endif %}
{% if page.meta-description %} {%- capture img -%}
<meta property="og:description" content="{{ page.meta-description }}"> {%- if page.share-img -%}
{% elsif page.subtitle %} {{ page.share-img }}
<meta property="og:description" content="{{ page.subtitle }}"> {%- elsif page.cover-img -%}
{% else %} {%- if page.cover-img.first -%}
<meta property="og:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}"> {{ page.cover-img[0].first.first }}
{%- else -%}
{{ page.cover-img }}
{%- endif -%}
{%- elsif page.thumbnail-img -%}
{{ page.thumbnail-img }}
{%- elsif site.avatar -%}
{{ site.avatar }}
{% endif %}
{%- endcapture -%}
{%- assign img=img | strip -%}
<meta property="og:title" content="{{ title }}">
<meta property="og:description" content="{{ description }}">
{% if img != "" %}
<meta property="og:image" content="{{ img | absolute_url }}">
{% endif %} {% endif %}
<meta property="og:type" content="website">
{% if page.id %} {% if page.id %}
<meta property="og:type" content="article">
<meta property="og:article:author" content="{{ site.author }}">
<meta property="og:article:published_time" content="{{ page.date | date_to_xmlschema }}">
<meta property="og:url" content="{{ page.url | absolute_url }}"> <meta property="og:url" content="{{ page.url | absolute_url }}">
<link rel="canonical" href="{{ page.url | absolute_url }}"> <link rel="canonical" href="{{ page.url | absolute_url }}">
{% else %} {% else %}
<meta property="og:type" content="website">
<meta property="og:url" content="{{ page.url | absolute_url | strip_index }}"> <meta property="og:url" content="{{ page.url | absolute_url | strip_index }}">
<link rel="canonical" href="{{ page.url | absolute_url | strip_index }}"> <link rel="canonical" href="{{ page.url | absolute_url | strip_index }}">
{% endif %} {% endif %}
{% if page.share-img %} {% if img != "" and img != site.avatar %}
<meta property="og:image" content="{{ page.share-img }}"> <meta name="twitter:card" content="summary_large_image">
{% elsif site.avatar %} {% else %}
<meta property="og:image" content="{{ site.avatar | absolute_url }}">
{% endif %}
<!-- Twitter summary cards -->
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
{% endif %}
<meta name="twitter:site" content="@{{ site.social-network-links.twitter }}"> <meta name="twitter:site" content="@{{ site.social-network-links.twitter }}">
<meta name="twitter:creator" content="@{{ site.social-network-links.twitter }}"> <meta name="twitter:creator" content="@{{ site.social-network-links.twitter }}">
{% if page.meta-title %} <meta property="twitter:title" content="{{ title }}">
<meta name="twitter:title" content="{{ page.meta-title }}"> <meta property="twitter:description" content="{{ description }}">
{% elsif page.title %}
<meta name="twitter:title" content="{{ page.title }}"> {% if img != "" %}
{% else %} <meta name="twitter:image" content="{{ img | absolute_url }}">
<meta name="twitter:title" content="{{ site.title }}">
{% endif %} {% endif %}
{% if page.meta-description %}
<meta name="twitter:description" content="{{ page.meta-description }}">
{% elsif page.subtitle %}
<meta name="twitter:description" content="{{ page.subtitle }}">
{% else %}
<meta name="twitter:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}">
{% endif %}
{% if page.share-img %}
<meta name="twitter:image" content="{{ page.share-img }}">
{% elsif site.avatar %}
<meta name="twitter:image" content="{{ site.avatar | absolute_url }}">
{% endif %}
{% if site.matomo %}
{% include matomo.html %} {% include matomo.html %}
{% endif %}
{% if page.comments and site.staticman.repository and site.staticman.branch %} {% if page.comments and site.staticman.repository and site.staticman.branch %}
<!-- Staticman -->
<link rel="stylesheet" href="{{ "/assets/css/staticman.css" | relative_url }}"> <link rel="stylesheet" href="{{ "/assets/css/staticman.css" | relative_url }}">
{% endif %} {% endif %}
{% if page.head-extra %}
{% for file in page.head-extra %}
{% include {{ file }} %}
{% endfor %}
{% endif %}
</head> </head>

View File

@ -10,10 +10,10 @@
{% assign imgnum = forloop.index %} {% assign imgnum = forloop.index %}
{% for imginfo in bigimg %} {% for imginfo in bigimg %}
{% if imginfo[0] %} {% if imginfo[0] %}
data-img-src-{{ imgnum }}="{{ imginfo[0] | relative_url }}" data-img-src-{{ imgnum }}="{{ imginfo[0] | absolute_url }}"
data-img-desc-{{ imgnum }}="{{ imginfo[1] }}" data-img-desc-{{ imgnum }}="{{ imginfo[1] }}"
{% else %} {% else %}
data-img-src-{{ imgnum }}="{{ imginfo | relative_url }}" data-img-src-{{ imgnum }}="{{ imginfo | absolute_url }}"
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
@ -28,21 +28,27 @@
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1"> <div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
<div class="{{ include.type }}-heading"> <div class="{{ include.type }}-heading">
<h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1> <h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
{% if page.subtitle %} {% if page.subtitle %}
{% if include.type == "page" %} {% if include.type == "page" %}
<hr class="small"> <hr class="small">
<span class="{{ include.type }}-subheading">{{ page.subtitle }}</span> <span class="{{ include.type }}-subheading">{{ page.subtitle }}</span>
{% else %} {% else %}
<h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2> <h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if include.type == "post" %} {% if include.type == "post" %}
<span class="post-meta">Posted on {{ page.date | date: date_format }}</span> <span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
{% if page.readtime %} {% if page.last-updated %}
{% include readtime.html %} <span class="post-meta">
<span class="d-none d-md-inline middot">&middot;</span>
Last updated {{ page.last-updated | date: date_format }}
</span>
{% endif %}
{% if page.readtime %}
{% include readtime.html %}
{% endif %}
{% endif %} {% endif %}
{% endif %}
</div> </div>
</div> </div>
</div> </div>
@ -56,21 +62,27 @@
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1"> <div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
<div class="{{ include.type }}-heading"> <div class="{{ include.type }}-heading">
<h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1> <h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
{% if page.subtitle %} {% if page.subtitle %}
{% if include.type == "page" %} {% if include.type == "page" %}
<hr class="small"> <hr class="small">
<span class="{{ include.type }}-subheading">{{ page.subtitle }}</span> <span class="{{ include.type }}-subheading">{{ page.subtitle }}</span>
{% else %} {% else %}
<h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2> <h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if include.type == "post" %} {% if include.type == "post" %}
<span class="post-meta">Posted on {{ page.date | date: date_format }}</span> <span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
{% if page.readtime %} {% if page.last-updated %}
{% include readtime.html %} <span class="post-meta">
<span class="d-none d-md-inline middot">&middot;</span>
Last updated {{ page.last-updated | date: date_format }}
</span>
{% endif %}
{% if page.readtime %}
{% include readtime.html %}
{% endif %}
{% endif %} {% endif %}
{% endif %}
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,7 +1,7 @@
<nav class="navbar navbar-expand-md navbar-light fixed-top navbar-custom {% if page.nav-short %}top-nav-short-permanent{% endif %}"> <nav class="navbar navbar-expand-xl navbar-light fixed-top navbar-custom {% if page.nav-short %}top-nav-short-permanent{% else %}top-nav-regular{% endif %}">
{%- if site.title-img -%} {%- if site.title-img -%}
<a class="navbar-brand navbar-brand-logo" href="{{ '' | absolute_url }}"><img alt="{{ site.title }} Logo" src="{{ site.title-img }}"/></a> <a class="navbar-brand navbar-brand-logo" href="{{ '' | absolute_url }}"><img alt="{{ site.title }} Logo" src="{{ site.title-img | relative_url}}"/></a>
{%- elsif site.title -%} {%- elsif site.title -%}
<a class="navbar-brand" href="{{ '' | absolute_url }}">{{ site.title }}</a> <a class="navbar-brand" href="{{ '' | absolute_url }}">{{ site.title }}</a>
{%- endif -%} {%- endif -%}
@ -30,25 +30,33 @@
</li> </li>
{%- endif -%} {%- endif -%}
{%- endfor -%} {%- endfor -%}
{% if site.post_search %}
<li class="nav-item">
<a class="nav-link" id="nav-search-link" href="#" title="Search">
<span id="nav-search-icon" class="fa fa-search"></span>
<span id="nav-search-text">Search</span>
</a>
</li>
{%- endif -%}
</ul> </ul>
</div> </div>
{% if page.image and (layout.show-avatar or page.show-avatar) %} {% if site.navbar-extra %}
{% for file in site.navbar-extra %}
{% include {{ file }} %}
{% endfor %}
{% endif %}
{% if site.avatar and page.show-avatar != false %}
<div class="avatar-container"> <div class="avatar-container">
<div class="avatar-img-border"> <div class="avatar-img-border">
<a href="{{ '' | absolute_url }}"> <a href="{{ '' | absolute_url }}">
<img alt="Navbar avatar" class="avatar-img" src="{{ page.image | relative_url }}" /> <img alt="Navigation bar avatar" class="avatar-img" src="{{ site.avatar | relative_url }}" />
</a>
</div>
</div>
{% elsif site.avatar and (layout.show-avatar or page.show-avatar) %}
<div class="avatar-container">
<div class="avatar-img-border">
<a href="{{ '' | absolute_url }}">
<img alt="Navbar avatar" class="avatar-img" src="{{ site.avatar | relative_url }}" />
</a> </a>
</div> </div>
</div> </div>
{% endif %} {% endif %}
</nav> </nav>
{% include search.html %}

View File

@ -6,10 +6,10 @@
{% assign number = finalReadTime | round %} {% assign number = finalReadTime | round %}
{% if number >= 1 %} {% if number >= 1 %}
{% assign yesReadTime = number | append: " minute read" %} {% assign yesReadTime = number | append: " minute read" %}
<span class="reader-time post-meta"><span class="d-none d-md-inline middot">&middot;</span> {{ yesReadTime }}</span> <span class="post-meta"><span class="d-none d-md-inline middot">&middot;</span> {{ yesReadTime }}</span>
{% elsif number < 1 %} {% elsif number < 1 %}
{% assign minReadTime = '&lt; 1 minute read' %} {% assign minReadTime = '&lt; 1 minute read' %}
<span class="reader-time post-meta"><span class="d-none d-md-inline middot">&middot;</span> {{ minReadTime }}</span> <span class="post-meta"><span class="d-none d-md-inline middot">&middot;</span> {{ minReadTime }}</span>
{% else %} {% else %}
{% assign nilReadTime = number | replace:'0',' ' %} {% assign nilReadTime = number | replace:'0',' ' %}
{{ nilReadTime }} {{ nilReadTime }}

39
_includes/search.html Normal file
View File

@ -0,0 +1,39 @@
{% if site.post_search %}
<div id="beautifuljekyll-search-overlay">
<div id="nav-search-exit" title="Exit search"></div>
<input type="text" id="nav-search-input" placeholder="Search">
<ul id="search-results-container"></ul>
<script src="https://unpkg.com/simple-jekyll-search@latest/dest/simple-jekyll-search.min.js"></script>
<script>
var searchjson = '[ \
{% for post in site.posts %} \
{ \
"title" : "{% if post.title != "" %}{{ post.title | escape }}{% else %}{{ post.excerpt | strip_html | escape | strip }}{%endif%}", \
"category" : "{{ post.tags | join: \', \' }}", \
"url" : "{{ site.baseurl }}{{ post.url }}", \
"date" : "{{ post.date | date: "%B %e, %Y" | default: "January 1, 1970" }}" \
}, \
{% endfor %} \
{% for page in site.html_pages %}{% if page.title != "{title}" and page.title != "404 - Page not found" %} \
{ \
"title" : "{% if page.title != "" %}{{ page.title | escape }}{% else %}{{ page.excerpt | strip_html | escape | strip }}{% endif %}", \
"category" : "{% if page.tags %}{{ page.tags | join: \', \' }}{% else %}page{% endif %}", \
"url" : "{{ site.baseurl }}{{ page.url }}", \
"date" : "{{ page.date | date: '%B %e, %Y' | default: "January 1, 1970" }}" \
}{% unless forloop.last %},{% endunless %} \
{% endif %}{% endfor %} \
]';
searchjson = JSON.parse(searchjson);
var sjs = SimpleJekyllSearch({
searchInput: document.getElementById('nav-search-input'),
resultsContainer: document.getElementById('search-results-container'),
json: searchjson
});
</script>
</div>
{% endif %}

View File

@ -1,6 +1,6 @@
<ul class="list-inline text-center footer-links"> <ul class="list-inline text-center footer-links">
{%- if site.social-network-links.rss -%} {%- if site.rss-description -%}
<li class="list-inline-item"> <li class="list-inline-item">
<a href="{{ '/feed.xml' | relative_url }}" title="RSS"> <a href="{{ '/feed.xml' | relative_url }}" title="RSS">
<span class="fa-stack fa-lg" aria-hidden="true"> <span class="fa-stack fa-lg" aria-hidden="true">
@ -59,7 +59,7 @@
</a> </a>
</li> </li>
{%- endif -%} {%- endif -%}
{%- if site.social-network-links.github -%} {%- if site.social-network-links.github -%}
<li class="list-inline-item"> <li class="list-inline-item">
<a href="https://github.com/{{ site.social-network-links.github }}" title="GitHub"> <a href="https://github.com/{{ site.social-network-links.github }}" title="GitHub">
@ -228,4 +228,76 @@
</li> </li>
{%- endif -%} {%- endif -%}
{%- if site.social-network-links.mastodon -%}
<li class="list-inline-item">
<a href="https://{{ site.social-network-links.mastodon }}" title="Mastodon">
<span class="fa-stack fa-lg" aria-hidden="true">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-mastodon fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">Mastodon</span>
</a>
</li>
{%- endif -%}
{%- if site.social-network-links.ORCID -%}
<li class="list-inline-item">
<a href="https://orcid.org/{{ site.social-network-links.ORCID }}" title="ORCID">
<span class="fa-stack fa-lg" aria-hidden="true">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-orcid fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">ORCID</span>
</a>
</li>
{%- endif -%}
{%- if site.social-network-links.google-scholar -%}
<li class="list-inline-item">
<a href="https://scholar.google.com/{{ site.social-network-links.google-scholar }}" title="Google Scholar">
<span class="fa-stack fa-lg" aria-hidden="true">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fa fa-graduation-cap fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">Google Scholar</span>
</a>
</li>
{%- endif -%}
{%- if site.social-network-links.patreon -%}
<li class="list-inline-item">
<a href="https://patreon.com/{{ site.social-network-links.patreon }}" title="Patreon">
<span class="fa-stack fa-lg" aria-hidden="true">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-patreon fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">Patreon</span>
</a>
</li>
{%- endif -%}
{%- if site.social-network-links.medium -%}
<li class="list-inline-item">
<a href="https://medium.com/@{{ site.social-network-links.medium }}" title="Medium">
<span class="fa-stack fa-lg" aria-hidden="true">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-medium fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">Medium</span>
</a>
</li>
{%- endif -%}
{%- if site.social-network-links.itchio -%}
<li class="list-inline-item">
<a href="https://{{ site.social-network-links.itchio }}.itch.io/" title="Itchio">
<span class="fa-stack fa-lg" aria-hidden="true">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-itch-io fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">Itchio</span>
</a>
</li>
{%- endif -%}
</ul> </ul>

View File

@ -34,6 +34,22 @@
</a> </a>
{% endif %} {% endif %}
{% if site.share-links-active.vk %}
<a href="https://vk.com/share.php?url={{ page.url | absolute_url | url_encode }}"
class="btn btn-social-icon btn-vk" title="Share on VK">
<span class="fab fa-fw fa-vk" aria-hidden="true"></span>
<span class="sr-only">VK</span>
</a>
{% endif %}
{% if site.share-links-active.reddit %}
<a href="https://www.reddit.com/submit?url={{ page.url | absolute_url | url_encode }}"
class="btn btn-social-icon btn-reddit" title="Share on Reddit">
<span class="fab fa-fw fa-reddit" aria-hidden="true"></span>
<span class="sr-only">Reddit</span>
</a>
{% endif %}
</section> </section>
{% endif %} {% endif %}

View File

@ -39,7 +39,7 @@
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label> <label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/> <input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
</div> </div>
<div class="form-group hidden" style="display: none;"> <div class="form-group d-none" style="display: none;">
<input type="hidden" name="options[origin]" value="{{ page.url | absolute_url }}"> <input type="hidden" name="options[origin]" value="{{ page.url | absolute_url }}">
<input type="hidden" name="options[slug]" value="{{ page.slug }}"> <input type="hidden" name="options[slug]" value="{{ page.slug }}">
<label for="comment-form-location">Not used. Leave blank if you are a human.</label> <label for="comment-form-location">Not used. Leave blank if you are a human.</label>
@ -48,9 +48,9 @@
{% if site.staticman.reCaptcha.secret %}<input type="hidden" name="options[reCaptcha][secret]" value="{{ site.staticman.reCaptcha.secret }}">{% endif %} {% if site.staticman.reCaptcha.secret %}<input type="hidden" name="options[reCaptcha][secret]" value="{{ site.staticman.reCaptcha.secret }}">{% endif %}
</div> </div>
<!-- Start comment form alert messaging --> <!-- Start comment form alert messaging -->
<p class="hidden js-notice"> <p class="d-none js-notice alert">
<strong class="js-notice-text-success hidden">{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}</strong> <strong class="js-notice-text-success d-none">{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}</strong>
<strong class="js-notice-text-failure hidden">{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}</strong> <strong class="js-notice-text-failure d-none">{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}</strong>
</p> </p>
<!-- End comment form alert messaging --> <!-- End comment form alert messaging -->
{% if site.staticman.reCaptcha.siteKey %} {% if site.staticman.reCaptcha.siteKey %}
@ -59,8 +59,8 @@
</div> </div>
{% endif %} {% endif %}
<div class="form-group"> <div class="form-group">
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--primary btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button> <button type="submit" id="comment-form-submit" tabindex="5" class="btn btn-primary btn-lg">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
<button type="submit" id="comment-form-submitted" tabindex="5" class="btn btn--primary btn--large hidden" disabled>{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}</button> <button type="submit" id="comment-form-submitted" tabindex="5" class="btn btn-primary btn-lg d-none" disabled>{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}</button>
</div> </div>
</form> </form>
</div> </div>
@ -75,7 +75,7 @@
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! --> <!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
<script> <script>
if (typeof jQuery == 'undefined') { if (typeof jQuery == 'undefined') {
document.write('<script src="{{ "/assets/js/jquery-1.11.2.min.js" | relative_url }}"></scr' + 'ipt>'); document.write('<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></scr' + 'ipt>');
} }
</script> </script>
<script src="{{ "/assets/js/staticman.js" | relative_url }}"></script> <script src="{{ "/assets/js/staticman.js" | relative_url }}"></script>

View File

@ -4,7 +4,7 @@
repo="{{ site.utterances.repository }}" repo="{{ site.utterances.repository }}"
issue-term="{{ site.utterances.issue-term }}" issue-term="{{ site.utterances.issue-term }}"
theme="{{ site.utterances.theme}}" theme="{{ site.utterances.theme}}"
label="{{ site.utterances.label}}" label="{{ site.utterances.label}}"
crossorigin="anonymous" crossorigin="anonymous"
async> async>
</script> </script>

View File

@ -1,40 +1,45 @@
--- ---
common-css: common-css:
- "/assets/css/fonts.css"
- "/assets/css/bootstrap.min.css"
- "/assets/css/fontawesome5121/all.min.css"
- "/assets/css/bootstrap-social.css" - "/assets/css/bootstrap-social.css"
- "/assets/css/main.css" - "/assets/css/beautifuljekyll.css"
common-ext-css: common-ext-css:
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" #- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" # sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
- "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" #- "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css"
- "https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" #- "https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic"
- "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" #- "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
common-ext-js: common-ext-js:
- href: "https://code.jquery.com/jquery-3.4.1.min.js" #- href: "https://code.jquery.com/jquery-3.5.1.slim.min.js"
sri: "sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" # sri: "sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs="
- href: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" #- href: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" # sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" #- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
sri: "sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" # sri: "sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
common-js: common-js:
- "/assets/js/main.js" - "/assets/js/jquery-3.5.1.slim.min.js"
- "/assets/js/bootstrap.bundle.min.js"
- "/assets/js/beautifuljekyll.js"
--- ---
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ page.language | default: site.language | default: 'en' }}"> <html lang="{{ page.language | default: site.language | default: 'en' }}">
<!-- Beautiful Jekyll | MIT license | Copyright Dean Attali 2020 --> <!-- Beautiful Jekyll 5.0.0 | Copyright Dean Attali 2020 -->
{% include head.html %} {% include head.html %}
<body> <body>
{% include gtm_body.html %} {% include gtm_body.html %}
{% include nav.html %}
{{ content }} {% include nav.html %}
{% include footer.html %} {{ content }}
{% include footer-scripts.html %} {% include footer.html %}
</body> {% include footer-scripts.html %}
</body>
</html> </html>

View File

@ -4,6 +4,22 @@ layout: base
<div class="intro-header"></div> <div class="intro-header"></div>
<div role="main" class="container-md"> <div role="main" class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}">
{% if page.before-content %}
<div class="before-content">
{% for file in page.before-content %}
{% include {{ file }} %}
{% endfor %}
</div>
{% endif %}
{{ content }} {{ content }}
{% if page.after-content %}
<div class="after-content">
{% for file in page.after-content %}
{% include {{ file }} %}
{% endfor %}
</div>
{% endif %}
</div> </div>

View File

@ -9,7 +9,32 @@ layout: page
<div class="posts-list"> <div class="posts-list">
{% for post in posts %} {% for post in posts %}
<article class="post-preview"> <article class="post-preview">
<a href="{{ post.url | relative_url }}">
{%- capture thumbnail -%}
{% if post.thumbnail-img %}
{{ post.thumbnail-img }}
{% elsif post.cover-img %}
{% if post.cover-img.first %}
{{ post.cover-img[0].first.first }}
{% else %}
{{ post.cover-img }}
{% endif %}
{% else %}
{% endif %}
{% endcapture %}
{% assign thumbnail=thumbnail | strip %}
{% if site.feed_show_excerpt == false %}
{% if thumbnail != "" %}
<div class="post-image post-image-normal">
<a href="{{ post.url | absolute_url }}" aria-label="Thumbnail">
<img src="{{ thumbnail | absolute_url }}" alt="Post thumbnail">
</a>
</div>
{% endif %}
{% endif %}
<a href="{{ post.url | absolute_url }}">
<h2 class="post-title">{{ post.title }}</h2> <h2 class="post-title">{{ post.title }}</h2>
{% if post.subtitle %} {% if post.subtitle %}
@ -24,35 +49,40 @@ layout: page
Posted on {{ post.date | date: date_format }} Posted on {{ post.date | date: date_format }}
</p> </p>
<div class="post-entry-container"> {% if thumbnail != "" %}
{% if post.image %} <div class="post-image post-image-small">
<div class="post-image"> <a href="{{ post.url | absolute_url }}" aria-label="Thumbnail">
<a href="{{ post.url | relative_url }}"> <img src="{{ thumbnail | absolute_url }}" alt="Post thumbnail">
<img src="{{ post.image | relative_url }}"> </a>
</a>
</div>
{% endif %}
<div class="post-entry">
{% assign excerpt_length = site.excerpt_length | default: 50 %}
{{ post.excerpt | strip_html | xml_escape | truncatewords: excerpt_length }}
{% assign excerpt_word_count = post.excerpt | number_of_words %}
{% if post.content != post.excerpt or excerpt_word_count > excerpt_length %}
<a href="{{ post.url | relative_url }}" class="post-read-more">[Read&nbsp;More]</a>
{% endif %}
</div>
</div> </div>
{% endif %}
{% if post.tags.size > 0 %} {% unless site.feed_show_excerpt == false %}
<div class="blog-tags"> {% if thumbnail != "" %}
Tags: <div class="post-image post-image-short">
{% if site.link-tags %} <a href="{{ post.url | absolute_url }}" aria-label="Thumbnail">
{% for tag in post.tags %} <img src="{{ thumbnail | absolute_url }}" alt="Post thumbnail">
<a href="{{ '/tags' | relative_url }}#{{- tag -}}">{{- tag -}}</a> </a>
{% endfor %} </div>
{% else %} {% endif %}
{{ post.tags | join: ", " }}
<div class="post-entry">
{% assign excerpt_length = site.excerpt_length | default: 50 %}
{{ post.excerpt | strip_html | xml_escape | truncatewords: excerpt_length }}
{% assign excerpt_word_count = post.excerpt | number_of_words %}
{% if post.content != post.excerpt or excerpt_word_count > excerpt_length %}
<a href="{{ post.url | absolute_url }}" class="post-read-more">[Read&nbsp;More]</a>
{% endif %} {% endif %}
</div> </div>
{% endunless %}
{% if site.feed_show_tags != false and post.tags.size > 0 %}
<div class="blog-tags">
<span>Tags:</span>
{% for tag in post.tags %}
<a href="{{ '/tags' | absolute_url }}#{{- tag -}}">{{- tag -}}</a>
{% endfor %}
</div>
{% endif %} {% endif %}
</article> </article>
@ -63,12 +93,12 @@ layout: page
<ul class="pagination main-pager"> <ul class="pagination main-pager">
{% if paginator.previous_page %} {% if paginator.previous_page %}
<li class="page-item previous"> <li class="page-item previous">
<a class="page-link" href="{{ paginator.previous_page_path | relative_url }}">&larr; Newer Posts</a> <a class="page-link" href="{{ paginator.previous_page_path | absolute_url }}">&larr; Newer Posts</a>
</li> </li>
{% endif %} {% endif %}
{% if paginator.next_page %} {% if paginator.next_page %}
<li class="page-item next"> <li class="page-item next">
<a class="page-link" href="{{ paginator.next_page_path | relative_url }}">Older Posts &rarr;</a> <a class="page-link" href="{{ paginator.next_page_path | absolute_url }}">Older Posts &rarr;</a>
</li> </li>
{% endif %} {% endif %}
</ul> </ul>

View File

@ -1,12 +1,12 @@
--- ---
common-css: common-css:
- "/assets/css/main-minimal.css" - "/assets/css/beautifuljekyll-minimal.css"
common-ext-css: common-ext-css:
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" - href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
common-ext-js: common-ext-js:
- href: "https://code.jquery.com/jquery-3.4.1.min.js" - href: "https://code.jquery.com/jquery-3.5.1.slim.min.js"
sri: "sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" sri: "sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs="
- href: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" - href: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" - href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
@ -20,8 +20,24 @@ common-ext-js:
<body> <body>
<div role="main" class="container-md main-content"> <div role="main" class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %} main-content">
{% if page.before-content %}
<div class="before-content">
{% for file in page.before-content %}
{% include {{ file }} %}
{% endfor %}
</div>
{% endif %}
{{ content }} {{ content }}
{% if page.after-content %}
<div class="after-content">
{% for file in page.after-content %}
{% include {{ file }} %}
{% endfor %}
</div>
{% endif %}
</div> </div>
{% include footer-minimal.html %} {% include footer-minimal.html %}

View File

@ -4,10 +4,27 @@ layout: base
{% include header.html type="page" %} {% include header.html type="page" %}
<div class="container-md" role="main"> <div class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}" role="main">
<div class="row"> <div class="row">
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1"> <div class="{% if page.full-width %} col {% else %} col-xl-8 offset-xl-2 col-lg-10 offset-lg-1 {% endif %}">
{% if page.before-content %}
<div class="before-content">
{% for file in page.before-content %}
{% include {{ file }} %}
{% endfor %}
</div>
{% endif %}
{{ content }} {{ content }}
{% if page.after-content %}
<div class="after-content">
{% for file in page.after-content %}
{% include {{ file }} %}
{% endfor %}
</div>
{% endif %}
{% include comments.html %} {% include comments.html %}
</div> </div>
</div> </div>

View File

@ -4,9 +4,9 @@ layout: base
{% include header.html type="post" %} {% include header.html type="post" %}
<div class="container-md"> <div class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}">
<div class="row"> <div class="row">
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1"> <div class="{% if page.full-width %} col {% else %} col-xl-8 offset-xl-2 col-lg-10 offset-lg-1 {% endif %}">
{% if page.gh-repo %} {% if page.gh-repo %}
{% assign gh_split = page.gh-repo | split:'/' %} {% assign gh_split = page.gh-repo | split:'/' %}
@ -31,20 +31,32 @@ layout: base
</div> </div>
{% endif %} {% endif %}
{% if page.before-content %}
<div class="before-content">
{% for file in page.before-content %}
{% include {{ file }} %}
{% endfor %}
</div>
{% endif %}
<article role="main" class="blog-post"> <article role="main" class="blog-post">
{{ content }} {{ content }}
</article> </article>
{% if page.tags.size > 0 %} {% if page.tags.size > 0 %}
<div class="blog-tags"> <div class="blog-tags">
Tags: <span>Tags:</span>
{% if site.link-tags %}
{% for tag in page.tags %} {% for tag in page.tags %}
<a href="{{ '/tags' | relative_url }}#{{- tag -}}">{{- tag -}}</a> <a href="{{ '/tags' | relative_url }}#{{- tag -}}">{{- tag -}}</a>
{% endfor %} {% endfor %}
{% else %} </div>
{{ page.tags | join: ", " }} {% endif %}
{% endif %}
{% if page.after-content %}
<div class="after-content">
{% for file in page.after-content %}
{% include {{ file }} %}
{% endfor %}
</div> </div>
{% endif %} {% endif %}

View File

@ -3,6 +3,8 @@ layout: post
title: Flake it till you make it title: Flake it till you make it
subtitle: Excerpt from Soulshaping by Jeff Brown subtitle: Excerpt from Soulshaping by Jeff Brown
cover-img: /assets/img/path.jpg cover-img: /assets/img/path.jpg
thumbnail-img: /assets/img/thumb.png
share-img: /assets/img/path.jpg
tags: [books, test] tags: [books, test]
--- ---

View File

@ -11,6 +11,6 @@ My name is Inigo Montoya. I have the following qualities:
What else do you need? What else do you need?
### my history ### My story
To be honest, I'm having some trouble remembering right now, so why don't you just watch [my movie](https://en.wikipedia.org/wiki/The_Princess_Bride_%28film%29) and it will answer **all** your questions. To be honest, I'm having some trouble remembering right now, so why don't you just watch [my movie](https://en.wikipedia.org/wiki/The_Princess_Bride_%28film%29) and it will answer **all** your questions.

View File

@ -10,4 +10,4 @@ footer.footer-min {
background-color: #f5f5f5; background-color: #f5f5f5;
border-top: 1px solid #eeeeee; border-top: 1px solid #eeeeee;
text-align: center; text-align: center;
} }

View File

@ -13,7 +13,7 @@ html {
body { body {
font-family: 'Lora', 'Times New Roman', serif; font-family: 'Lora', 'Times New Roman', serif;
font-size: 1.125rem; font-size: 1.125rem;
color: #404040; color: {{ site.text-col | default: "#404040" }};
position: relative; position: relative;
background-color: {{ site.page-col | default: "#FFFFFF" }}; background-color: {{ site.page-col | default: "#FFFFFF" }};
{% if site.page-img %} {% if site.page-img %}
@ -42,6 +42,9 @@ h3 {
h4 { h4 {
font-size: 1.125rem; font-size: 1.125rem;
} }
h1, h2, h3, h4 {
margin-top: 1.25rem;
}
a { a {
color: {{ site.link-col | default: "#008AFF" }}; color: {{ site.link-col | default: "#008AFF" }};
} }
@ -65,42 +68,33 @@ hr.small {
} }
/* fix in-page anchors to not be behind fixed header */ /* fix in-page anchors to not be behind fixed header */
:target:before { :target:before {
content: ""; content: "";
display: block; display: block;
height: 3.125rem; /* navbar height */ height: 3.125rem; /* navbar height */
margin: -3.125rem 0 0; margin: -3.125rem 0 0;
} }
.main-content {
padding-top: 5rem;
}
@media (min-width: 768px) {
.main-content {
padding-top: 8.125rem;
}
}
.hideme { .hideme {
display: none; display: none;
} }
::-moz-selection { ::-moz-selection {
color: white; color: #fff;
text-shadow: none; text-shadow: none;
background-color: {{ site.hover-col | default: "#0085A1" }}; background-color: {{ site.hover-col | default: "#0085A1" }};
} }
::selection { ::selection {
color: white; color: #fff;
text-shadow: none; text-shadow: none;
background-color: {{ site.hover-col | default: "#0085A1" }}; background-color: {{ site.hover-col | default: "#0085A1" }};
} }
img::selection { img::selection {
color: white; color: #fff;
background: transparent; background: transparent;
} }
img::-moz-selection { img::-moz-selection {
color: white; color: #fff;
background: transparent; background: transparent;
} }
@ -108,6 +102,13 @@ img {
max-width: 100%; max-width: 100%;
} }
.linked-section {
padding-top: 3.75rem;
margin-top: -1.5625rem;
}
/* Comments */
.disqus-comments { .disqus-comments {
margin-top: 1.875rem; margin-top: 1.875rem;
} }
@ -118,24 +119,19 @@ img {
} }
} }
.linked-section {
padding-top: 3.75rem;
margin-top: -1.5625rem;
}
/* --- Navbar --- */ /* --- Navbar --- */
.navbar-custom { .navbar-custom {
background-color: {{ site.navbar-col | default: "#F5F5F5" }}; background-color: {{ site.navbar-col | default: "#EAEAEA" }};
border-bottom: 1px solid {{ site.navbar-border-col | default: "#EAEAEA" }}; border-bottom: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
{% if site.navbar-img %} {% if site.navbar-img %}
background-image: url({{ site.navbar-img | relative_url }}); background-image: url({{ site.navbar-img | relative_url }});
background-attachment: fixed; background-attachment: fixed;
{% endif %} {% endif %}
-webkit-transition: background .5s ease-in-out,padding .5s ease-in-out; -webkit-transition: padding .5s ease-in-out;
-moz-transition: background .5s ease-in-out,padding .5s ease-in-out; -moz-transition: padding .5s ease-in-out;
transition: background .5s ease-in-out,padding .5s ease-in-out; transition: padding .5s ease-in-out;
} }
.navbar-custom, .navbar-custom,
@ -177,27 +173,18 @@ img {
height: 2.5rem; height: 2.5rem;
} }
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus ,
.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link:focus,
.navbar-custom .navbar-nav .dropdown-item:hover,
.navbar-custom .navbar-nav .dropdown-item:focus {
color: {{ site.hover-col | default: "#0085A1" }};
}
.navbar-custom .navbar-nav .nav-item { .navbar-custom .navbar-nav .nav-item {
text-transform: uppercase; text-transform: uppercase;
font-size: 0.75rem; font-size: 0.8125rem;
letter-spacing: 0.0625rem; letter-spacing: 0.0625rem;
} }
.navbar-custom .navbar-nav .nav-link { .navbar-custom .navbar-nav .nav-link {
padding-top: 0; padding-top: 0;
padding-bottom: 0; padding-bottom: 0;
line-height: 1.5; line-height: 1.25rem;
padding-top: 1rem; padding-top: 0.9375rem;
padding-bottom: 1rem; padding-bottom: 0.9375rem;
} }
.navbar-custom .navbar-brand, .navbar-custom .navbar-brand,
@ -223,7 +210,7 @@ img {
border-width: 0.4em; border-width: 0.4em;
} }
@media (min-width: 768px) { @media (min-width: 1200px) {
.navbar-custom { .navbar-custom {
padding-top: 1.25rem; padding-top: 1.25rem;
padding-bottom: 1.25rem; padding-bottom: 1.25rem;
@ -238,16 +225,17 @@ img {
height: 3.125rem; height: 3.125rem;
} }
.navbar-expand-md .navbar-nav .nav-link { .navbar-expand-xl .navbar-nav .nav-link {
padding-left: 0.9375rem; padding-left: 0.9375rem;
padding-right: 0.9375rem; padding-right: 0.9375rem;
} }
.navbar-expand-md .navbar-nav .nav-item:last-child .nav-link {
.navbar-expand-xl .navbar-nav .nav-item:not(.dropdown):last-child .nav-link {
padding-right: 0; padding-right: 0;
} }
} }
@media (min-width: 768px) { @media (min-width: 1200px) {
.navbar-custom .nav-item.dropdown:hover { .navbar-custom .nav-item.dropdown:hover {
background: rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.1);
} }
@ -269,27 +257,28 @@ img {
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item { .navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
white-space: normal; white-space: normal;
padding: 0.625rem; padding: 0.625rem;
background-color: {{ site.navbar-col | default: "#F5F5F5" }}; background-color: {{ site.navbar-col | default: "#EAEAEA" }};
text-decoration: none !important; text-decoration: none !important;
border-width: 0 1px 1px 1px; border-width: 0 1px 1px 1px;
font-weight: normal; font-weight: normal;
color: {{ site.navbar-text-col | default: "#404040" }};
} }
@media (min-width: 768px) { @media (min-width: 1200px) {
.navbar-custom .nav-item.dropdown .dropdown-menu { .navbar-custom .nav-item.dropdown .dropdown-menu {
text-align: center; text-align: center;
} }
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item { .navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
padding-left: 0.625rem; padding-left: 0.625rem;
border: 1px solid {{ site.navbar-border-col | default: "#EAEAEA" }}; border: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
border-width: 0 1px 1px; border-width: 0 1px 1px;
} }
} }
@media (max-width: 767px) { @media (max-width: 1199px) {
.navbar-custom .navbar-collapse { .navbar-custom .navbar-collapse {
border-top: 1px solid {{ site.navbar-border-col | default: "#EAEAEA" }}; border-top: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
margin: 0 -1rem; margin: 0 -1rem;
} }
@ -309,12 +298,20 @@ img {
padding-left: 2rem; padding-left: 2rem;
} }
} }
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus ,
.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link:focus,
.navbar-custom .navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-custom .navbar-nav .dropdown-menu .dropdown-item:focus {
color: {{ site.hover-col | default: "#0085A1" }};
}
.navbar-custom .avatar-container { .navbar-custom .avatar-container {
position: absolute; position: absolute;
left: 50%; left: 50%;
width: 3.125rem; width: 3.125rem;
margin-top: 1.75rem; bottom: -1.5rem;
transition: opacity 0.5s ease-in-out; transition: opacity 0.5s ease-in-out;
-webkit-transition: opacity 0.5s ease-in-out; -webkit-transition: opacity 0.5s ease-in-out;
-moz-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out;
@ -329,7 +326,6 @@ img {
.navbar-custom .avatar-container .avatar-img-border { .navbar-custom .avatar-container .avatar-img-border {
width: 100%; width: 100%;
display: inline-block;
margin-left: -50%; margin-left: -50%;
{% unless site.round-avatar == false %} {% unless site.round-avatar == false %}
border-radius: 50%; border-radius: 50%;
@ -350,12 +346,13 @@ img {
display: none; display: none;
} }
@media (min-width: 768px) { @media (min-width: 1200px) {
.navbar-custom .avatar-container { .navbar-custom.top-nav-regular .avatar-container {
width: 6.25rem; width: 6.25rem;
bottom: -1.9375rem;
} }
.navbar-custom .avatar-container .avatar-img-border { .navbar-custom.top-nav-regular .avatar-container .avatar-img-border {
width: 100%; width: 100%;
{% unless site.round-avatar == false %} {% unless site.round-avatar == false %}
box-shadow: 1px 1px 2px rgba(0, 0, 0, .8); box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
@ -364,7 +361,7 @@ img {
{% endunless %} {% endunless %}
} }
.navbar-custom .avatar-container .avatar-img { .navbar-custom.top-nav-regular .avatar-container .avatar-img {
width: 100%; width: 100%;
} }
} }
@ -376,7 +373,7 @@ footer {
border-top: 1px #EAEAEA solid; border-top: 1px #EAEAEA solid;
margin-top: 3.125rem; margin-top: 3.125rem;
font-size: 0.875rem; font-size: 0.875rem;
background-color: {{ site.footer-col | default: "#F5F5F5" }}; background-color: {{ site.footer-col | default: "#EAEAEA" }};
{% if site.footer-img %} {% if site.footer-img %}
background-image: url({{ site.footer-img | relative_url }}); background-image: url({{ site.footer-img | relative_url }});
background-attachment: fixed; background-attachment: fixed;
@ -427,11 +424,12 @@ footer .footer-custom-content {
} }
} }
/* --- Post preview --- */ /* --- Post preview (feed) --- */
.post-preview { .post-preview {
padding: 1.25rem 0; padding: 1.25rem 0;
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
overflow: hidden;
} }
@media (min-width: 768px) { @media (min-width: 768px) {
@ -446,7 +444,8 @@ footer .footer-custom-content {
.post-preview a { .post-preview a {
text-decoration: none; text-decoration: none;
color: #404040; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
color: {{ site.text-col | default: "#404040" }};
} }
.post-preview a:focus, .post-preview a:focus,
@ -470,32 +469,70 @@ footer .footer-custom-content {
font-size: 1.125rem; font-size: 1.125rem;
font-style: italic; font-style: italic;
margin: 0 0 0.625rem; margin: 0 0 0.625rem;
font-family: 'Lora', 'Times New Roman', serif;
}
.post-heading .post-meta {
display: inline-block;
}
@media (max-width: 767px) {
.post-heading .post-meta {
display: block;
margin-bottom: 0;
}
}
.post-heading .post-meta .middot {
margin: 0 0.625rem;
} }
.post-preview .post-entry { .post-preview .post-entry {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.post-entry-container {
display: inline-block;
width: 100%; width: 100%;
} }
.post-entry { .post-preview .post-image {
width: 100%;
}
.post-image {
float: right; float: right;
margin-left: 0.625rem;
height: 12rem; height: 12rem;
width: 12rem; width: 12rem;
margin-top: -2.1875rem;
filter: grayscale(90%);
} }
.post-image:hover { .post-preview .post-image {
filter: grayscale(40%);
}
.post-preview .post-image:hover {
filter: grayscale(0%); filter: grayscale(0%);
} }
.post-image img { .post-preview .post-image img {
border-radius: 6.25rem; max-height: 100%;
height: 12rem; max-width: 100%;
width: 12rem;
} }
.post-preview .post-image-short {
margin-top: -2.1875rem;
}
@media (max-width: 767px) {
.post-preview .post-image {
height: 9rem;
width: 9rem;
}
.post-preview .post-image-short {
margin-top: 0;
}
}
.post-preview .post-image-small {
width: 100%;
height: 100%;
text-align: center;
display: none;
}
.post-preview .post-image-small img {
max-width: 6.25rem;
max-height: 6.25rem;
}
@media (max-width: 500px) {
.post-preview .post-image {
display: none;
}
.post-preview .post-image-small {
display: block;
}
}
.post-preview .post-read-more { .post-preview .post-read-more {
font-weight: 800; font-weight: 800;
} }
@ -510,21 +547,28 @@ footer .footer-custom-content {
.blog-tags { .blog-tags {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
color: #999;
font-size: 0.9375rem; font-size: 0.9375rem;
margin-bottom: 1.875rem; margin: 1.875rem 0;
}
.blog-tags span {
color: {{ site.text-col | default: "#404040" }};
opacity: 0.8;
} }
.blog-tags a { .blog-tags a {
color: {{ site.link-col | default: "#008AFF" }}; color: {{ site.text-col | default: "#404040" }};
text-decoration: none; text-decoration: none;
padding: 0 0.3125rem; padding: 0 0.3125rem;
opacity: 0.8;
border: 1px solid transparent;
border-radius: 0.1875rem;
} }
.blog-tags a:hover { .blog-tags a:hover {
border-radius: 2px; opacity: 1;
color: {{ site.hover-col | default: "#0085A1" }}; color: {{ site.text-col | default: "#404040" }};
background-color: #EEE; border-color: {{ site.text-col | default: "#404040" }};
} }
.post-preview .blog-tags { .post-preview .blog-tags {
@ -538,19 +582,30 @@ footer .footer-custom-content {
} }
} }
@media (max-width: 500px) { /* Tags page */
.post-image, .post-image img {
height: 6.25rem;
width: 6.25rem;
}
.post-image { .tag-btn {
width: 100%; margin: 0.3125rem;
text-align: center;
margin-top: 0;
float: left;
}
} }
#full-tags-list {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
#full-tags-list .tag-entry {
margin: 0 0 0.9375rem 1.5625rem;
}
#full-tags-list .tag-entry a {
font-size: 1.25rem;
}
#full-tags-list .tag-entry .entry-date {
color: #808080;
font-style: italic;
font-size: 1rem;
}
/* --- Post and page headers --- */ /* --- Post and page headers --- */
.intro-header { .intro-header {
@ -566,6 +621,12 @@ footer .footer-custom-content {
margin-top: 3.1875rem; /* The small navbar is 50px tall + 1px border */ margin-top: 3.1875rem; /* The small navbar is 50px tall + 1px border */
margin-bottom: 2.1875rem; margin-bottom: 2.1875rem;
} }
nav.top-nav-short-permanent ~ header > .intro-header {
margin-top: 5rem;
}
nav.top-nav-short-permanent ~ header > .intro-header.big-img {
margin-top: 3.1875rem;
}
.intro-header.big-img .big-img-transition { .intro-header.big-img .big-img-transition {
position: absolute; position: absolute;
width: 100%; width: 100%;
@ -632,7 +693,7 @@ footer .footer-custom-content {
bottom: 0; bottom: 0;
display: none; display: none;
} }
@media (min-width: 768px) { @media (min-width: 1200px) {
.intro-header { .intro-header {
margin-top: 8.125rem; margin-top: 8.125rem;
} }
@ -687,17 +748,6 @@ footer .footer-custom-content {
} }
} }
.caption {
text-align: center;
font-size: 0.875rem;
padding: 0.625rem;
font-style: italic;
margin: 0;
display: block;
border-bottom-right-radius: 0.3125rem;
border-bottom-left-radius: 0.3125rem;
}
#header-gh-btns { #header-gh-btns {
margin-bottom: 0.9375rem; margin-bottom: 0.9375rem;
} }
@ -708,18 +758,6 @@ footer .footer-custom-content {
} }
} }
.reader-time {
display: inline-block;
}
@media (max-width: 767px) {
.reader-time {
display: block;
}
}
.reader-time .middot {
margin: 0 0.625rem;
}
/* --- Pagination --- */ /* --- Pagination --- */
.pagination { .pagination {
@ -750,7 +788,7 @@ footer .footer-custom-content {
padding: 0.625rem 0.3125rem; padding: 0.625rem 0.3125rem;
background-color: #FFF; background-color: #FFF;
border-radius: 0; border-radius: 0;
color: #404040; color: {{ site.text-col | default: "#404040" }};
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.pagination .page-item .page-link { .pagination .page-item .page-link {
@ -802,9 +840,22 @@ table tr td :last-child {
/* --- Code blocks --- */ /* --- Code blocks --- */
code {
padding: 0.125rem 0.25rem;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 0.25rem;
}
pre code {
padding: 0;
background-color: transparent;
border-radius: 0;
}
pre { pre {
font-size: 1rem; font-size: 0.875rem;
line-height: 1.5; line-height: 1.5em;
border-radius: 0.25rem; border-radius: 0.25rem;
padding: 0.59375rem; padding: 0.59375rem;
} }
@ -815,7 +866,7 @@ pre {
} }
.highlight > pre { .highlight > pre {
background-image: linear-gradient( background-image: linear-gradient(
rgba(0,0,0,0.06), rgba(0,0,0,0.06) 1.5em, rgba(0,0,0,0.03) 1.5em, rgba(0,0,0,0.03) 3em); rgba(0,0,0,0.03), rgba(0,0,0,0.03) 1.5em, rgba(0,0,0,0.02) 1.5em, rgba(0,0,0,0.02) 3em);
background-size: auto 3em; background-size: auto 3em;
background-position-y: 0.625rem; background-position-y: 0.625rem;
border: 1px solid rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.1);
@ -824,7 +875,9 @@ pre {
.highlight > pre:not([class~="highlight"]) { /* code block with line number */ .highlight > pre:not([class~="highlight"]) { /* code block with line number */
padding: 0; padding: 0;
} }
.highlight table, .highlight tr, .highlight td { /* to be removed after fixing table styles */ .highlight table,
.highlight tr,
.highlight td { /* to be removed after fixing table styles */
border: none; border: none;
background: none; background: none;
padding: 0; padding: 0;
@ -847,14 +900,28 @@ pre {
background: none; background: none;
} }
/* Fix table border github gist snippets */
.gist, .gist-file table tr {
border: unset;
}
.gist, .gist-file table tr td {
border: unset;
}
/* --- Social media sharing section --- */ /* --- Social media sharing section --- */
#social-share-section { #social-share-section {
margin-bottom: 1.875rem; margin-bottom: 1.875rem;
margin-top: 1.875rem;
} }
/* --- Notification boxes --- */ /* --- Notification boxes --- */
.box-note, .box-warning, .box-error, .box-success { .box-note,
.box-warning,
.box-error,
.box-success {
padding: 0.9375rem 0.9375rem 0.9375rem 0.625rem; padding: 0.9375rem 0.9375rem 0.9375rem 0.625rem;
margin: 1.25rem 1.25rem 1.25rem 0.3125rem; margin: 1.25rem 1.25rem 1.25rem 0.3125rem;
border: 1px solid #eee; border: 1px solid #eee;
@ -882,36 +949,148 @@ pre {
border-left-color: #3CB371; border-left-color: #3CB371;
} }
/* Fix table border github gist snippets */ /* --- Misc blog post styles --- */
.gist, .gist-file table tr { .blog-post :first-child {
border: unset; margin-top: 0;
} }
.gist, .gist-file table tr td { .blog-post img {
border: unset; max-width: 100%;
} }
/* Tags page */ .blog-post .caption {
text-align: center;
.tag-btn { font-size: 0.875rem;
margin: 0.3125rem; padding: 0.625rem;
}
#full-tags-list {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
#full-tags-list .tag-entry {
margin: 0 0 0.9375rem 1.5625rem;
}
#full-tags-list .tag-entry a {
font-size: 1.25rem;
}
#full-tags-list .tag-entry .entry-date {
color: #808080;
font-style: italic; font-style: italic;
font-size: 1rem; color: #777;
margin: 0;
display: block;
border-bottom-right-radius: 0.3125rem;
border-bottom-left-radius: 0.3125rem;
}
.blog-post hr {
max-width: 25%;
border-width: 0.25rem;
border-radius: 0.1875rem;
border-color: #808080;
}
.blog-post blockquote {
padding: 0.625rem 1.25rem;
margin: 0 0 1.25rem;
font-size: 1.1rem;
border-left: 0.3125rem solid #eee;
}
.blog-post blockquote p:last-child {
margin-bottom: 0;
}
.center {
display: block;
margin: 0 auto;
}
/* Search bar */
#beautifuljekyll-search-overlay {
display: none;
z-index: 999999;
position: fixed;
background: rgba(0,0,0,0.9);
left: 0;
right: 0;
top: 0;
bottom: 0;
text-align: center;
padding: 1rem;
}
#nav-search-exit {
position: absolute;
top: 1.5rem;
cursor: pointer;
right: 25%;
margin-right: 2rem;
color: #555;
font-size: 2rem;
line-height: 2rem;
font-weight: bold;
}
#nav-search-exit:hover {
color: #000;
}
#nav-search-input {
text-align: center;
background: #e7edee;
margin: auto;
display: block;
font-size: 2rem;
width: 50%;
transition: width 300ms ease;
color: #222;
border-radius: 5rem;
outline: none;
border: none;
padding: 0 3rem;
}
@media (max-width: 1199px) {
#nav-search-input {
width: 75%;
}
#nav-search-exit {
right: 12.5%;
}
}
@media (max-width: 767px) {
#nav-search-input {
width: 100%;
}
#nav-search-exit {
right: 0;
}
}
#nav-search-input:focus {
background: #f3f8fe;
box-shadow: 0px 0.15rem 1rem #e7f4ff;
outline: none;
}
#nav-search-input::placeholder {
color: #777;
}
#search-results-container {
list-style: none;
padding-left: unset;
margin-top: 1.5rem;
color: #fff;
font-size: 1.5rem;
max-height: calc(100vh - 6.5rem);
overflow-y: auto;
}
#search-results-container a {
color: #fff;
text-decoration: none;
}
#search-results-container a:hover {
color: #fff;
text-decoration: underline;
}
#nav-search-icon {
display: inline-block;
}
#nav-search-text {
display: none;
}
@media (max-width: 1199px) {
#nav-search-icon {
display: none;
}
#nav-search-text {
display: inline-block;
}
} }

7
assets/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

182
assets/css/fonts.css Normal file
View File

@ -0,0 +1,182 @@
/* open-sans-300 - latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: url('../fonts/open-sans-v15-latin-300.eot'); /* IE9 Compat Modes */
src: local('Open Sans Light'), local('OpenSans-Light'),
url('../fonts/open-sans-v15-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/open-sans-v15-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v15-latin-300.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v15-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/open-sans-v15-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-300italic - latin */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 300;
src: url('../fonts/open-sans-v15-latin-300italic.eot'); /* IE9 Compat Modes */
src: local('Open Sans Light Italic'), local('OpenSans-LightItalic'),
url('../fonts/open-sans-v15-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/open-sans-v15-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v15-latin-300italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v15-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/open-sans-v15-latin-300italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-regular - latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: url('../fonts/open-sans-v15-latin-regular.eot'); /* IE9 Compat Modes */
src: local('Open Sans Regular'), local('OpenSans-Regular'),
url('../fonts/open-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/open-sans-v15-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-italic - latin */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
src: url('../fonts/open-sans-v15-latin-italic.eot'); /* IE9 Compat Modes */
src: local('Open Sans Italic'), local('OpenSans-Italic'),
url('../fonts/open-sans-v15-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/open-sans-v15-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v15-latin-italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v15-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/open-sans-v15-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600italic - latin */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
src: url('../fonts/open-sans-v15-latin-600italic.eot'); /* IE9 Compat Modes */
src: local('Open Sans SemiBold Italic'), local('OpenSans-SemiBoldItalic'),
url('../fonts/open-sans-v15-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/open-sans-v15-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v15-latin-600italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v15-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/open-sans-v15-latin-600italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600 - latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: url('../fonts/open-sans-v15-latin-600.eot'); /* IE9 Compat Modes */
src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
url('../fonts/open-sans-v15-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/open-sans-v15-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v15-latin-600.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v15-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/open-sans-v15-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: url('../fonts/open-sans-v15-latin-700.eot'); /* IE9 Compat Modes */
src: local('Open Sans Bold'), local('OpenSans-Bold'),
url('../fonts/open-sans-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/open-sans-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v15-latin-700.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v15-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/open-sans-v15-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700italic - latin */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
src: url('../fonts/open-sans-v15-latin-700italic.eot'); /* IE9 Compat Modes */
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'),
url('../fonts/open-sans-v15-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/open-sans-v15-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v15-latin-700italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v15-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/open-sans-v15-latin-700italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-800 - latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
src: url('../fonts/open-sans-v15-latin-800.eot'); /* IE9 Compat Modes */
src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'),
url('../fonts/open-sans-v15-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/open-sans-v15-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v15-latin-800.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v15-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/open-sans-v15-latin-800.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-800italic - latin */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 800;
src: url('../fonts/open-sans-v15-latin-800italic.eot'); /* IE9 Compat Modes */
src: local('Open Sans ExtraBold Italic'), local('OpenSans-ExtraBoldItalic'),
url('../fonts/open-sans-v15-latin-800italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/open-sans-v15-latin-800italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v15-latin-800italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v15-latin-800italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/open-sans-v15-latin-800italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* lora-regular - latin */
@font-face {
font-family: 'Lora';
font-style: normal;
font-weight: 400;
src: url('../fonts/lora-v12-latin-regular.eot'); /* IE9 Compat Modes */
src: local('Lora Regular'), local('Lora-Regular'),
url('../fonts/lora-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/lora-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/lora-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/lora-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/lora-v12-latin-regular.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-italic - latin */
@font-face {
font-family: 'Lora';
font-style: italic;
font-weight: 400;
src: url('../fonts/lora-v12-latin-italic.eot'); /* IE9 Compat Modes */
src: local('Lora Italic'), local('Lora-Italic'),
url('../fonts/lora-v12-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/lora-v12-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/lora-v12-latin-italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/lora-v12-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/lora-v12-latin-italic.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-700 - latin */
@font-face {
font-family: 'Lora';
font-style: normal;
font-weight: 700;
src: url('../fonts/lora-v12-latin-700.eot'); /* IE9 Compat Modes */
src: local('Lora Bold'), local('Lora-Bold'),
url('../fonts/lora-v12-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/lora-v12-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/lora-v12-latin-700.woff') format('woff'), /* Modern Browsers */
url('../fonts/lora-v12-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/lora-v12-latin-700.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-700italic - latin */
@font-face {
font-family: 'Lora';
font-style: italic;
font-weight: 700;
src: url('../fonts/lora-v12-latin-700italic.eot'); /* IE9 Compat Modes */
src: local('Lora Bold Italic'), local('Lora-BoldItalic'),
url('../fonts/lora-v12-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/lora-v12-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/lora-v12-latin-700italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/lora-v12-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/lora-v12-latin-700italic.svg#Lora') format('svg'); /* Legacy iOS */
}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More