jekyll-theme-basically-basic 1.3.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/README.md +150 -42
- data/_includes/author +30 -30
- data/_includes/contact-list.html +27 -27
- data/_includes/cv/awards.html +23 -23
- data/_includes/cv/basics.html +68 -68
- data/_includes/cv/education.html +36 -36
- data/_includes/cv/interests.html +19 -19
- data/_includes/cv/intro.html +18 -18
- data/_includes/cv/languages.html +19 -19
- data/_includes/cv/publications.html +29 -29
- data/_includes/cv/references.html +23 -23
- data/_includes/cv/volunteer.html +46 -46
- data/_includes/cv/work.html +46 -46
- data/_includes/disqus_comments.html +16 -16
- data/_includes/documents-collection.html +19 -0
- data/_includes/entry.html +37 -29
- data/_includes/footer.html +11 -9
- data/_includes/google-analytics.html +8 -8
- data/_includes/head.html +35 -35
- data/_includes/icon-bitbucket.html +4 -4
- data/_includes/icon-codepen.html +4 -4
- data/_includes/icon-dribbble.html +4 -4
- data/_includes/icon-facebook.html +4 -4
- data/_includes/icon-flickr.html +4 -4
- data/_includes/icon-github.html +4 -4
- data/_includes/icon-gitlab.html +4 -4
- data/_includes/icon-googleplus.html +4 -4
- data/_includes/icon-instagram.html +4 -4
- data/_includes/icon-lastfm.html +4 -4
- data/_includes/icon-linkedin.html +4 -4
- data/_includes/icon-pinterest.html +4 -4
- data/_includes/icon-soundcloud.html +4 -4
- data/_includes/icon-stackoverflow.html +4 -4
- data/_includes/icon-tumblr.html +4 -4
- data/_includes/icon-twitter.html +4 -4
- data/_includes/icon-xing.html +4 -4
- data/_includes/icon-youtube.html +4 -4
- data/_includes/masthead.html +27 -27
- data/_includes/navigation.html +25 -25
- data/_includes/page-intro.html +42 -42
- data/_includes/page-tags.html +14 -0
- data/_includes/posts-all.html +2 -2
- data/_includes/posts-category.html +3 -0
- data/_includes/posts-paginated.html +15 -15
- data/_includes/posts-tag.html +3 -0
- data/_includes/read-time.html +13 -13
- data/_includes/search-form.html +14 -13
- data/_includes/search/algolia-search-scripts.html +52 -52
- data/_includes/search/lunr-search-scripts.html +1 -1
- data/_includes/skip-links.html +8 -8
- data/_layouts/about.html +0 -2
- data/_layouts/categories.html +48 -0
- data/_layouts/category.html +9 -0
- data/_layouts/collection.html +9 -0
- data/_layouts/cv.html +28 -28
- data/_layouts/default.html +2 -1
- data/_layouts/home.html +28 -30
- data/_layouts/page.html +15 -17
- data/_layouts/post.html +18 -20
- data/_layouts/posts.html +29 -0
- data/_layouts/tag.html +9 -0
- data/_layouts/tags.html +48 -0
- data/_sass/basically-basic.scss +1 -1
- data/_sass/basically-basic/_base.scss +116 -118
- data/_sass/basically-basic/_contact-lists.scss +11 -11
- data/_sass/basically-basic/_entries.scss +230 -152
- data/_sass/basically-basic/_footer.scss +37 -13
- data/_sass/basically-basic/_functions.scss +2 -2
- data/_sass/basically-basic/_global.scss +116 -42
- data/_sass/basically-basic/_icons.scss +43 -43
- data/_sass/basically-basic/_intro.scss +3 -1
- data/_sass/basically-basic/_layout.scss +188 -188
- data/_sass/basically-basic/_mixins.scss +5 -5
- data/_sass/basically-basic/_navicons.scss +148 -148
- data/_sass/basically-basic/_navigation.scss +66 -66
- data/_sass/basically-basic/_print.scss +252 -252
- data/_sass/basically-basic/_reset.scss +522 -522
- data/_sass/basically-basic/_responsive-embed.scss +70 -70
- data/_sass/basically-basic/_search.scss +101 -101
- data/_sass/basically-basic/_sidebar.scss +166 -166
- data/_sass/basically-basic/_tables.scss +34 -34
- data/_sass/basically-basic/_utilities.scss +6 -6
- data/_sass/basically-basic/_variables.scss +3 -0
- data/_sass/basically-basic/functions/_color.scss +21 -21
- data/_sass/basically-basic/functions/_fluid-type.scss +33 -33
- data/_sass/basically-basic/mixins/_clearfix.scss +11 -11
- data/_sass/basically-basic/mixins/_float.scss +15 -15
- data/_sass/basically-basic/mixins/_image.scss +38 -38
- data/_sass/basically-basic/mixins/_lists.scss +9 -9
- data/_sass/basically-basic/mixins/_text-truncate.scss +10 -10
- data/_sass/basically-basic/themes/_default.scss +5 -5
- data/_sass/basically-basic/themes/_night.scss +12 -12
- data/_sass/basically-basic/themes/_plum.scss +12 -12
- data/_sass/basically-basic/themes/_sea.scss +12 -12
- data/_sass/basically-basic/utilities/_accessibility.scss +43 -43
- data/_sass/basically-basic/utilities/_align.scss +62 -62
- data/_sass/basically-basic/utilities/_clearfix.scss +7 -7
- data/_sass/basically-basic/utilities/_float.scss +7 -7
- data/_sass/basically-basic/utilities/_text.scss +28 -28
- data/_sass/basically-basic/utilities/_visibility.scss +32 -32
- data/_sass/basically-basic/vendor/breakpoint/_breakpoint.scss +114 -114
- data/_sass/basically-basic/vendor/breakpoint/_context.scss +94 -94
- data/_sass/basically-basic/vendor/breakpoint/_helpers.scss +151 -151
- data/_sass/basically-basic/vendor/breakpoint/_legacy-settings.scss +49 -49
- data/_sass/basically-basic/vendor/breakpoint/_no-query.scss +15 -15
- data/_sass/basically-basic/vendor/breakpoint/_parsers.scss +215 -215
- data/_sass/basically-basic/vendor/breakpoint/_respond-to.scss +82 -82
- data/_sass/basically-basic/vendor/breakpoint/_settings.scss +70 -70
- data/_sass/basically-basic/vendor/breakpoint/parsers/_double.scss +33 -33
- data/_sass/basically-basic/vendor/breakpoint/parsers/_query.scss +82 -82
- data/_sass/basically-basic/vendor/breakpoint/parsers/_resolution.scss +31 -31
- data/_sass/basically-basic/vendor/breakpoint/parsers/_single.scss +26 -26
- data/_sass/basically-basic/vendor/breakpoint/parsers/_triple.scss +36 -36
- data/_sass/basically-basic/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
- data/_sass/basically-basic/vendor/breakpoint/parsers/double/_default.scss +22 -22
- data/_sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
- data/_sass/basically-basic/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
- data/_sass/basically-basic/vendor/breakpoint/parsers/single/_default.scss +13 -13
- data/_sass/basically-basic/vendor/breakpoint/parsers/triple/_default.scss +18 -18
- data/_sass/basically-basic/vendor/susy/_su.scss +4 -4
- data/_sass/basically-basic/vendor/susy/_susy-prefix.scss +13 -13
- data/_sass/basically-basic/vendor/susy/_susy.scss +5 -5
- data/_sass/basically-basic/vendor/susy/plugins/_svg-grid.scss +5 -5
- data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_prefix.scss +7 -7
- data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -114
- data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -67
- data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -14
- data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -18
- data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -133
- data/_sass/basically-basic/vendor/susy/susy/_api.scss +318 -318
- data/_sass/basically-basic/vendor/susy/susy/_normalize.scss +261 -261
- data/_sass/basically-basic/vendor/susy/susy/_parse.scss +163 -163
- data/_sass/basically-basic/vendor/susy/susy/_settings.scss +329 -329
- data/_sass/basically-basic/vendor/susy/susy/_su-math.scss +441 -441
- data/_sass/basically-basic/vendor/susy/susy/_su-validate.scss +213 -213
- data/_sass/basically-basic/vendor/susy/susy/_syntax-helpers.scss +191 -191
- data/_sass/basically-basic/vendor/susy/susy/_unprefix.scss +56 -56
- data/_sass/basically-basic/vendor/susy/susy/_utilities.scss +167 -167
- data/assets/javascripts/lunr/lunr.da.min.js +17 -17
- data/assets/javascripts/lunr/lunr.de.min.js +17 -17
- data/assets/javascripts/lunr/lunr.du.min.js +17 -17
- data/assets/javascripts/lunr/lunr.es.min.js +17 -17
- data/assets/javascripts/lunr/lunr.fi.min.js +17 -17
- data/assets/javascripts/lunr/lunr.fr.min.js +17 -17
- data/assets/javascripts/lunr/lunr.hu.min.js +17 -17
- data/assets/javascripts/lunr/lunr.it.min.js +17 -17
- data/assets/javascripts/lunr/lunr.jp.min.js +1 -1
- data/assets/javascripts/lunr/lunr.min.js +6 -6
- data/assets/javascripts/lunr/lunr.no.min.js +17 -17
- data/assets/javascripts/lunr/lunr.pt.min.js +17 -17
- data/assets/javascripts/lunr/lunr.ro.min.js +17 -17
- data/assets/javascripts/lunr/lunr.ru.min.js +17 -17
- data/assets/javascripts/lunr/lunr.sv.min.js +17 -17
- data/assets/javascripts/lunr/lunr.tr.min.js +17 -17
- data/assets/javascripts/main.js +12 -12
- data/assets/javascripts/search-data.json +43 -27
- data/assets/stylesheets/main.scss +9 -9
- metadata +21 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6edd102295a93f0c2bd7e295faf1f2270b5030ed
|
4
|
+
data.tar.gz: b82490970368af4513ed5c7d31476dd11c55d197
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02bd149e74998b1dc70f5ffec38b43f03d63a9e9ab42835dba8d3fb2252338069a84c483b5a90aba7844b2ee7bf8a93ece3b24ac92a58a39394b06b5a318d563
|
7
|
+
data.tar.gz: dc3926be96aabd70ba2bb9caa69c64dee9bbf3c856651acc47e1ce94aa6773dd68d7f6f53a09e0fc263558469fdf906d3cf78dbdf7ce4d2a23753f4395f047f4
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
7
7
|
|
8
|
+
## [1.4.0] - 2018-04-02
|
9
|
+
|
10
|
+
## Changed
|
11
|
+
- Lint JavaScript.
|
12
|
+
- Update gemspec to use jekyll-seo-tag version `2.4`. [#47](https://github.com/mmistakes/jekyll-theme-basically-basic/pull/47)
|
13
|
+
|
14
|
+
### Added
|
15
|
+
- Accessibility enhancements for Lunr search form.
|
16
|
+
- Add SCSS `$intro-image-color-overlay` variable to enable color overlay on hero images (disabled by default). [#55](https://github.com/mmistakes/jekyll-theme-basically-basic/issues/55)
|
17
|
+
- Add new archive layouts: `posts`, `categories`, `category`, `collection`, `tag`, and `tags`.
|
18
|
+
- Add grid layout via `entries_layout: grid` front matter.
|
19
|
+
- Add support for image thumbnails vial `image.thumbnail` front matter.
|
20
|
+
|
21
|
+
### Fixed
|
22
|
+
- Fix Firefox [flexbox bug](https://bugzilla.mozilla.org/show_bug.cgi?id=939897) when printing pages.
|
23
|
+
- Fix search excerpts that run together because of implied spaces.
|
24
|
+
- Moved `<footer>` outside of `<main>` to be semantically correct.
|
25
|
+
|
8
26
|
## [1.3.1] - 2018-02-16
|
9
27
|
|
10
28
|
### Changed
|
data/README.md
CHANGED
@@ -6,9 +6,8 @@
|
|
6
6
|
[![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip%20me-green.svg?logo=paypal)](https://www.paypal.me/mmistakes)
|
7
7
|
|
8
8
|
Basically Basic is a [Jekyll theme](https://jekyllrb.com/docs/themes/) meant as
|
9
|
-
a substitute for the default
|
10
|
-
|
11
|
-
with a few enhancements thrown in for good measure:
|
9
|
+
a substitute for the default [Minima](https://github.com/jekyll/minima), with a
|
10
|
+
few enhancements thrown in for good measure:
|
12
11
|
|
13
12
|
- Clean responsive design with [six customizable skins](#skin)
|
14
13
|
- Curriculum Vitæ/Resume layout powered by [JSON data](http://registry.jsonresume.org/)
|
@@ -25,49 +24,55 @@ with a few enhancements thrown in for good measure:
|
|
25
24
|
## Table of Contents
|
26
25
|
|
27
26
|
1. [Installation](#installation)
|
28
|
-
|
29
|
-
|
30
|
-
|
27
|
+
1. [Ruby Gem Method](#ruby-gem-method)
|
28
|
+
2. [GitHub Pages Method](#github-pages-method)
|
29
|
+
1. [Remove the Unnecessary](#remove-the-unnecessary)
|
31
30
|
2. [Upgrading](#upgrading)
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
31
|
+
1. [Ruby Gem](#ruby-gem)
|
32
|
+
2. [Remote Theme](#remote-theme)
|
33
|
+
3. [Use Git](#use-git)
|
34
|
+
1. [Pull Down Updates](#pull-down-updates)
|
35
|
+
4. [Update Files Manually](#update-files-manually)
|
37
36
|
3. [Structure](#structure)
|
38
|
-
|
39
|
-
|
37
|
+
1. [Starting Fresh](#starting-fresh)
|
38
|
+
2. [Starting from `jekyll new`](#starting-from-jekyll-new)
|
40
39
|
4. [Configuration](#configuration)
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
40
|
+
1. [Skin](#skin)
|
41
|
+
2. [Google Fonts](#google-fonts)
|
42
|
+
3. [Text](#text)
|
43
|
+
4. [Navigation](#navigation)
|
44
|
+
5. [Pagination](#pagination)
|
45
|
+
6. [Search](#search)
|
46
|
+
1. [Lunr (default)](#lunr-default)
|
47
|
+
2. [Algolia](#algolia)
|
48
|
+
7. [Author](#author)
|
49
|
+
8. [Reading Time](#reading-time)
|
50
|
+
9. [Comments (via Disqus)](#comments-via-disqus)
|
51
|
+
10. [Google Analytics](#google-analytics)
|
53
52
|
5. [Layouts](#layouts)
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
53
|
+
1. [`layout: default`](#layout-default)
|
54
|
+
2. [`layout: post`](#layout-post)
|
55
|
+
3. [`layout: page`](#layout-page)
|
56
|
+
4. [`layout: home`](#layout-home)
|
57
|
+
5. [`layout: posts`](#layout-posts)
|
58
|
+
6. [`layout: categories`](#layout-categories)
|
59
|
+
7. [`layout: tags`](#layout-tags)
|
60
|
+
8. [`layout: collection`](#layout-collection)
|
61
|
+
9. [`layout: category`](#layout-category)
|
62
|
+
10. [`layout: tag`](#layout-tag)
|
63
|
+
11. [`layout: about`](#layout-about)
|
64
|
+
12. [`layout: cv`](#layout-cv)
|
65
|
+
6. [Images](#images)
|
66
|
+
7. [Customization](#customization)
|
67
|
+
1. [Overriding Includes and Layouts](#overriding-includes-and-layouts)
|
68
|
+
2. [Customizing Sass (SCSS)](#customizing-sass-scss)
|
69
|
+
3. [Customizing JavaScript](#customizing-javascript)
|
70
|
+
4. [SVG Icons](#svg-icons)
|
71
|
+
5. [Customizing Sidebar Content](#customizing-sidebar-content)
|
72
|
+
8. [Development](#development)
|
73
|
+
9. [Contributing](#contributing)
|
74
|
+
10. [Credits](#credits)
|
75
|
+
11. [License](#license)
|
71
76
|
|
72
77
|
## Installation
|
73
78
|
|
@@ -464,6 +469,8 @@ For faster and more relevant search ([see demo](https://mmistakes.github.io/jeky
|
|
464
469
|
|
465
470
|
To use the Algolia search with GitHub Pages hosted sites follow [this deployment guide](https://community.algolia.com/jekyll-algolia/github-pages.html). Or this guide for [deploying on Netlify](https://community.algolia.com/jekyll-algolia/netlify.html).
|
466
471
|
|
472
|
+
**Note:** The Jekyll Algolia plugin can be configured in several ways. Be sure to check out [their full documentation](https://community.algolia.com/jekyll-algolia/options.html "Algolia configuration") on how to exclude files and other valuable settings.
|
473
|
+
|
467
474
|
### Author
|
468
475
|
|
469
476
|
Author information is used as meta data for post "by lines" and propagates the
|
@@ -601,6 +608,12 @@ author:
|
|
601
608
|
comments: false # disable comments on this post
|
602
609
|
```
|
603
610
|
|
611
|
+
**Note:** Hero images can be overlaid with a transparent "accent" color to unify them with the theme's palette. To enable, [customize the CSS](#customizing-sass-scss) with the following Sass variable override:
|
612
|
+
|
613
|
+
```scss
|
614
|
+
$intro-image-color-overlay: true;
|
615
|
+
```
|
616
|
+
|
604
617
|
### `layout: page`
|
605
618
|
|
606
619
|
Visually this layout looks and acts the same as `layout: post`, with two minor
|
@@ -616,6 +629,90 @@ addition of the following:
|
|
616
629
|
|
617
630
|
```yaml
|
618
631
|
paginate: true # enables pagination loop, see section above for additional setup
|
632
|
+
entries_layout: # list (default), grid
|
633
|
+
```
|
634
|
+
|
635
|
+
By default, posts are shown in a list view. To change to a grid view add `entries_layout: grid` to the page's front matter.
|
636
|
+
|
637
|
+
### `layout: posts`
|
638
|
+
|
639
|
+
This layout displays all posts grouped by the year they were published. It accommodates the same front matter as `layout: page`.
|
640
|
+
|
641
|
+
By default, posts are shown in a list view. To change to a grid view add `entries_layout: grid` to the page's front matter.
|
642
|
+
|
643
|
+
### `layout: categories`
|
644
|
+
|
645
|
+
This layout displays all posts grouped category. It accommodates the same front matter as `layout: page`.
|
646
|
+
|
647
|
+
By default, posts are shown in a list view. To change to a grid view add `entries_layout: grid` to the page's front matter.
|
648
|
+
|
649
|
+
### `layout: tags`
|
650
|
+
|
651
|
+
This layout displays all posts grouped by tag. It accommodates the same front matter as `layout: page`.
|
652
|
+
|
653
|
+
By default, posts are shown in a list view. To change to a grid view add `entries_layout: grid` to the page's front matter.
|
654
|
+
|
655
|
+
### `layout: collection`
|
656
|
+
|
657
|
+
This layout displays all documents grouped by a specific collection. It accommodates the same front matter as `layout: page` with the addition of the following:
|
658
|
+
|
659
|
+
```yaml
|
660
|
+
collection: # collection name
|
661
|
+
entries_layout: # list (default), grid
|
662
|
+
show_excerpts: # true (default), false
|
663
|
+
sort_by: # date (default) title
|
664
|
+
sort_order: # forward (default), reverse
|
665
|
+
```
|
666
|
+
|
667
|
+
To create a page showing all documents in the `recipes` collection you'd create `recipes.md` in the root of your project and add this front matter:
|
668
|
+
|
669
|
+
```yaml
|
670
|
+
title: Recipes
|
671
|
+
layout: collection
|
672
|
+
permalink: /recipes/
|
673
|
+
collection: recipes
|
674
|
+
```
|
675
|
+
|
676
|
+
By default, documents are shown in a list view. To change to a grid view add `entries_layout: grid` to the page's front matter. If you want to sort the collection by title add `sort_by: title`. If you want reverse sorting, add `sort_order: reverse`.
|
677
|
+
|
678
|
+
### `layout: category`
|
679
|
+
|
680
|
+
This layout displays all posts grouped by a specific category. It accommodates the same front matter as `layout: page` with the addition of the following:
|
681
|
+
|
682
|
+
```yaml
|
683
|
+
taxonomy: # category name
|
684
|
+
entries_layout: # list (default), grid
|
685
|
+
```
|
686
|
+
|
687
|
+
By default, posts are shown in a list view. To change to a grid view add `entries_layout: grid` to the page's front matter.
|
688
|
+
|
689
|
+
To create a page showing all posts assigned to the category `foo` you'd create `foo.md` in the root of your project and add this front matter:
|
690
|
+
|
691
|
+
```yaml
|
692
|
+
title: Foo
|
693
|
+
layout: category
|
694
|
+
permalink: /categories/foo/
|
695
|
+
taxonomy: foo
|
696
|
+
```
|
697
|
+
|
698
|
+
### `layout: tag`
|
699
|
+
|
700
|
+
This layout displays all posts grouped by a specific tag. It accommodates the same front matter as `layout: page` with the addition of the following:
|
701
|
+
|
702
|
+
```yaml
|
703
|
+
taxonomy: # tag name
|
704
|
+
entries_layout: # list (default), grid
|
705
|
+
```
|
706
|
+
|
707
|
+
By default, posts are shown in a list view. To change to a grid view add `entries_layout: grid` to the page's front matter.
|
708
|
+
|
709
|
+
To create a page showing all posts assigned to the tag `foo bar` you'd create `foo-bar.md` in the root of your project and add this front matter:
|
710
|
+
|
711
|
+
```yaml
|
712
|
+
title: Foo Bar
|
713
|
+
layout: tag
|
714
|
+
permalink: /tags/foo-bar/
|
715
|
+
taxonomy: foo bar
|
619
716
|
```
|
620
717
|
|
621
718
|
### `layout: about`
|
@@ -644,6 +741,17 @@ resume data to conveniently render a curriculum vitæ or resume painlessly.
|
|
644
741
|
Simply use JSON Resume's [in-browser resume builder](http://registry.jsonresume.org/)
|
645
742
|
to export a JSON file and save to your project as `_data/cv.json`.
|
646
743
|
|
744
|
+
## Images
|
745
|
+
|
746
|
+
Suggested image sizes in pixels are as follows:
|
747
|
+
|
748
|
+
| Image | Description | Size |
|
749
|
+
| ----- | ----------- | ---- |
|
750
|
+
| `page.image.path` | Large full-width document image. | Tall images will push content down the page. `1600 x 600` is a good middle-ground size to aim for. |
|
751
|
+
| `page.image` | Short-hand for `page.image.path` when used alone (without `thumbnail`, `caption`, or other variables). | Same as `page.image.path` |
|
752
|
+
| `page.image.thumbnail` | Small document image used in grid view. | `400 x 200` |
|
753
|
+
| `author.picture` | Author page image. | `300 x 300` |
|
754
|
+
|
647
755
|
## Customization
|
648
756
|
|
649
757
|
The default structure, style, and scripts of this theme can be overridden and
|
data/_includes/author
CHANGED
@@ -1,31 +1,31 @@
|
|
1
|
-
{% assign author = page.author | default: page.authors[0] | default: site.author %}
|
2
|
-
{% if author %}
|
3
|
-
{% if author.name %}
|
4
|
-
{% assign author_name = author.name %}
|
5
|
-
{% else %}
|
6
|
-
{% if site.data.authors and site.data.authors[author] %}
|
7
|
-
{% assign author_name = site.data.authors[author].name %}
|
8
|
-
{% else %}
|
9
|
-
{% assign author_name = author %}
|
10
|
-
{% endif %}
|
11
|
-
{% endif %}
|
12
|
-
|
13
|
-
{% if author.picture %}
|
14
|
-
{% assign author_picture = author.picture %}
|
15
|
-
{% else %}
|
16
|
-
{% if site.data.authors and site.data.authors[author] %}
|
17
|
-
{% assign author_picture = site.data.authors[author].picture %}
|
18
|
-
{% endif %}
|
19
|
-
{% unless author_picture contains '://' %}{% assign author_picture = author_picture | relative_url %}{% endunless %}
|
20
|
-
{% endif %}
|
21
|
-
|
22
|
-
{% if author.twitter %}
|
23
|
-
{% assign author_twitter = author.twitter %}
|
24
|
-
{% else %}
|
25
|
-
{% if site.data.authors and site.data.authors[author] %}
|
26
|
-
{% assign author_twitter = site.data.authors[author].twitter %}
|
27
|
-
{% else %}
|
28
|
-
{% assign author_twitter = site.twitter_username %}
|
29
|
-
{% endif %}
|
30
|
-
{% endif %}
|
1
|
+
{% assign author = page.author | default: page.authors[0] | default: site.author %}
|
2
|
+
{% if author %}
|
3
|
+
{% if author.name %}
|
4
|
+
{% assign author_name = author.name %}
|
5
|
+
{% else %}
|
6
|
+
{% if site.data.authors and site.data.authors[author] %}
|
7
|
+
{% assign author_name = site.data.authors[author].name %}
|
8
|
+
{% else %}
|
9
|
+
{% assign author_name = author %}
|
10
|
+
{% endif %}
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
{% if author.picture %}
|
14
|
+
{% assign author_picture = author.picture %}
|
15
|
+
{% else %}
|
16
|
+
{% if site.data.authors and site.data.authors[author] %}
|
17
|
+
{% assign author_picture = site.data.authors[author].picture %}
|
18
|
+
{% endif %}
|
19
|
+
{% unless author_picture contains '://' %}{% assign author_picture = author_picture | relative_url %}{% endunless %}
|
20
|
+
{% endif %}
|
21
|
+
|
22
|
+
{% if author.twitter %}
|
23
|
+
{% assign author_twitter = author.twitter %}
|
24
|
+
{% else %}
|
25
|
+
{% if site.data.authors and site.data.authors[author] %}
|
26
|
+
{% assign author_twitter = site.data.authors[author].twitter %}
|
27
|
+
{% else %}
|
28
|
+
{% assign author_twitter = site.twitter_username %}
|
29
|
+
{% endif %}
|
30
|
+
{% endif %}
|
31
31
|
{% endif %}
|
data/_includes/contact-list.html
CHANGED
@@ -1,27 +1,27 @@
|
|
1
|
-
<ul class="contact-list">
|
2
|
-
{% if site.email %}
|
3
|
-
<li>
|
4
|
-
<a href="mailto:{{ site.email }}">
|
5
|
-
<span class="icon icon--email">{% include icon-email.svg %}</span>
|
6
|
-
<span class="label">{{ site.data.theme.t.email | default: 'Email' }}</span>
|
7
|
-
</a>
|
8
|
-
</li>
|
9
|
-
{% endif %}
|
10
|
-
|
11
|
-
{% if site.github_username %}
|
12
|
-
<li>{% include icon-github.html username=site.github_username label='GitHub' %}</li>
|
13
|
-
{% endif %}
|
14
|
-
|
15
|
-
{% if site.twitter_username %}
|
16
|
-
<li>{% include icon-twitter.html username=site.twitter_username label='Twitter' %}</li>
|
17
|
-
{% endif %}
|
18
|
-
|
19
|
-
<li>
|
20
|
-
{% if site.plugins contains 'jekyll-feed' or site.gems contains 'jekyll-feed' %}
|
21
|
-
<a href="{{ site.feed.path | default: 'feed.xml' | relative_url }}" title="Atom Feed">
|
22
|
-
<span class="icon icon--rss">{% include icon-rss.svg %}</span>
|
23
|
-
<span class="label">{{ site.data.theme.t.subscribe | default: 'Subscribe' }}</span>
|
24
|
-
</a>
|
25
|
-
{% endif %}
|
26
|
-
</li>
|
27
|
-
</ul>
|
1
|
+
<ul class="contact-list">
|
2
|
+
{% if site.email %}
|
3
|
+
<li>
|
4
|
+
<a href="mailto:{{ site.email }}">
|
5
|
+
<span class="icon icon--email">{% include icon-email.svg %}</span>
|
6
|
+
<span class="label">{{ site.data.theme.t.email | default: 'Email' }}</span>
|
7
|
+
</a>
|
8
|
+
</li>
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% if site.github_username %}
|
12
|
+
<li>{% include icon-github.html username=site.github_username label='GitHub' %}</li>
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
{% if site.twitter_username %}
|
16
|
+
<li>{% include icon-twitter.html username=site.twitter_username label='Twitter' %}</li>
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
<li>
|
20
|
+
{% if site.plugins contains 'jekyll-feed' or site.gems contains 'jekyll-feed' %}
|
21
|
+
<a href="{{ site.feed.path | default: 'feed.xml' | relative_url }}" title="Atom Feed">
|
22
|
+
<span class="icon icon--rss">{% include icon-rss.svg %}</span>
|
23
|
+
<span class="label">{{ site.data.theme.t.subscribe | default: 'Subscribe' }}</span>
|
24
|
+
</a>
|
25
|
+
{% endif %}
|
26
|
+
</li>
|
27
|
+
</ul>
|
data/_includes/cv/awards.html
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
{% if cv.awards %}
|
2
|
-
<div id="awards" class="entry">
|
3
|
-
<header class="entry-header">
|
4
|
-
<h3 class="entry-title">Awards</h3>
|
5
|
-
</header>
|
6
|
-
|
7
|
-
<div class="entry-content">
|
8
|
-
{% for a in cv.awards %}
|
9
|
-
{% if a.title %}
|
10
|
-
<h4 class="title">{{ a.title }}</h4>
|
11
|
-
{% endif %}
|
12
|
-
{% if a.date %}
|
13
|
-
<div class="date">{{ a.date }}</div>
|
14
|
-
{% endif %}
|
15
|
-
{% if a.awarder %}
|
16
|
-
<h5 class="awarder">{{ a.awarder }}</h5>
|
17
|
-
{% endif %}
|
18
|
-
{% if a.summary %}
|
19
|
-
<div class="summary">{{ a.summary | markdownify }}</div>
|
20
|
-
{% endif %}
|
21
|
-
{% endfor %}
|
22
|
-
</div>
|
23
|
-
</div>
|
1
|
+
{% if cv.awards %}
|
2
|
+
<div id="awards" class="entry">
|
3
|
+
<header class="entry-header">
|
4
|
+
<h3 class="entry-title">Awards</h3>
|
5
|
+
</header>
|
6
|
+
|
7
|
+
<div class="entry-content">
|
8
|
+
{% for a in cv.awards %}
|
9
|
+
{% if a.title %}
|
10
|
+
<h4 class="title">{{ a.title }}</h4>
|
11
|
+
{% endif %}
|
12
|
+
{% if a.date %}
|
13
|
+
<div class="date">{{ a.date }}</div>
|
14
|
+
{% endif %}
|
15
|
+
{% if a.awarder %}
|
16
|
+
<h5 class="awarder">{{ a.awarder }}</h5>
|
17
|
+
{% endif %}
|
18
|
+
{% if a.summary %}
|
19
|
+
<div class="summary">{{ a.summary | markdownify }}</div>
|
20
|
+
{% endif %}
|
21
|
+
{% endfor %}
|
22
|
+
</div>
|
23
|
+
</div>
|
24
24
|
{% endif %}
|
data/_includes/cv/basics.html
CHANGED
@@ -1,69 +1,69 @@
|
|
1
|
-
{% if cv.basics.summary %}
|
2
|
-
<div class="summary">
|
3
|
-
{{ cv.basics.summary | markdownify }}
|
4
|
-
</div>
|
5
|
-
{% endif %}
|
6
|
-
|
7
|
-
<div id="contact" class="entry">
|
8
|
-
<header class="entry-header">
|
9
|
-
<h3 class="entry-title">Contact</h3>
|
10
|
-
</header>
|
11
|
-
|
12
|
-
<div class="entry-content">
|
13
|
-
{% if cv.basics.email %}
|
14
|
-
<div class="email"><strong>Email</strong> <a href="mailto:{{ cv.basics.email }}">{{ cv.basics.email }}</a></div>
|
15
|
-
{% endif %}
|
16
|
-
{% if cv.basics.phone %}
|
17
|
-
<div class="phone"><strong>Phone</strong> {{ cv.basics.phone }}</div>
|
18
|
-
{% endif %}
|
19
|
-
{% if cv.basics.website %}
|
20
|
-
<div class="website"><strong>Website</strong> <a href="{{ cv.basics.website }}">{{ cv.basics.website }}</a></div>
|
21
|
-
{% endif %}
|
22
|
-
{% if cv.basics.profiles %}
|
23
|
-
{% for p in cv.basics.profiles %}
|
24
|
-
<div class="item">
|
25
|
-
{% if p.network %}
|
26
|
-
<strong class="network">{{ p.network | append: ' ' }}</strong>
|
27
|
-
{% endif %}
|
28
|
-
{% if p.username %}
|
29
|
-
<span class="username">
|
30
|
-
{% unless p.url == '' or p.url == nil %}
|
31
|
-
<a href="{{ p.url }}">{{ p.username }}</a>
|
32
|
-
{% else %}
|
33
|
-
{{ p.username }}
|
34
|
-
{% endunless %}
|
35
|
-
</span>
|
36
|
-
{% endif %}
|
37
|
-
</div>
|
38
|
-
{% endfor %}
|
39
|
-
{% endif %}
|
40
|
-
</div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
{% if cv.basics.location %}
|
44
|
-
<div id="location" class="entry">
|
45
|
-
<header class="entry-header">
|
46
|
-
<h3 class="entry-title">Location</h3>
|
47
|
-
</header>
|
48
|
-
|
49
|
-
<div class="entry-content">
|
50
|
-
<address>
|
51
|
-
{% if cv.basics.location.address %}
|
52
|
-
<span class="address">{{ cv.basics.location.address }}</span><br />
|
53
|
-
{% endif %}
|
54
|
-
{% if cv.basics.location.city %}
|
55
|
-
<span class="city">{{ cv.basics.location.city | append: ', ' }}</span>
|
56
|
-
{% endif %}
|
57
|
-
{% if cv.basics.location.region %}
|
58
|
-
<span class="region">{{ cv.basics.location.region | append: ' ' }}</span>
|
59
|
-
{% endif %}
|
60
|
-
{% if cv.basics.location.postalCode %}
|
61
|
-
<span class="postalCode">{{ cv.basics.location.postalCode | append: ' ' }}</span>
|
62
|
-
{% endif %}
|
63
|
-
{% if cv.basics.location.countryCode %}
|
64
|
-
<span class="countryCode">{{ cv.basics.location.countryCode }}</span>
|
65
|
-
{% endif %}
|
66
|
-
</address>
|
67
|
-
</div>
|
68
|
-
</div>
|
1
|
+
{% if cv.basics.summary %}
|
2
|
+
<div class="summary">
|
3
|
+
{{ cv.basics.summary | markdownify }}
|
4
|
+
</div>
|
5
|
+
{% endif %}
|
6
|
+
|
7
|
+
<div id="contact" class="entry">
|
8
|
+
<header class="entry-header">
|
9
|
+
<h3 class="entry-title">Contact</h3>
|
10
|
+
</header>
|
11
|
+
|
12
|
+
<div class="entry-content">
|
13
|
+
{% if cv.basics.email %}
|
14
|
+
<div class="email"><strong>Email</strong> <a href="mailto:{{ cv.basics.email }}">{{ cv.basics.email }}</a></div>
|
15
|
+
{% endif %}
|
16
|
+
{% if cv.basics.phone %}
|
17
|
+
<div class="phone"><strong>Phone</strong> {{ cv.basics.phone }}</div>
|
18
|
+
{% endif %}
|
19
|
+
{% if cv.basics.website %}
|
20
|
+
<div class="website"><strong>Website</strong> <a href="{{ cv.basics.website }}">{{ cv.basics.website }}</a></div>
|
21
|
+
{% endif %}
|
22
|
+
{% if cv.basics.profiles %}
|
23
|
+
{% for p in cv.basics.profiles %}
|
24
|
+
<div class="item">
|
25
|
+
{% if p.network %}
|
26
|
+
<strong class="network">{{ p.network | append: ' ' }}</strong>
|
27
|
+
{% endif %}
|
28
|
+
{% if p.username %}
|
29
|
+
<span class="username">
|
30
|
+
{% unless p.url == '' or p.url == nil %}
|
31
|
+
<a href="{{ p.url }}">{{ p.username }}</a>
|
32
|
+
{% else %}
|
33
|
+
{{ p.username }}
|
34
|
+
{% endunless %}
|
35
|
+
</span>
|
36
|
+
{% endif %}
|
37
|
+
</div>
|
38
|
+
{% endfor %}
|
39
|
+
{% endif %}
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
{% if cv.basics.location %}
|
44
|
+
<div id="location" class="entry">
|
45
|
+
<header class="entry-header">
|
46
|
+
<h3 class="entry-title">Location</h3>
|
47
|
+
</header>
|
48
|
+
|
49
|
+
<div class="entry-content">
|
50
|
+
<address>
|
51
|
+
{% if cv.basics.location.address %}
|
52
|
+
<span class="address">{{ cv.basics.location.address }}</span><br />
|
53
|
+
{% endif %}
|
54
|
+
{% if cv.basics.location.city %}
|
55
|
+
<span class="city">{{ cv.basics.location.city | append: ', ' }}</span>
|
56
|
+
{% endif %}
|
57
|
+
{% if cv.basics.location.region %}
|
58
|
+
<span class="region">{{ cv.basics.location.region | append: ' ' }}</span>
|
59
|
+
{% endif %}
|
60
|
+
{% if cv.basics.location.postalCode %}
|
61
|
+
<span class="postalCode">{{ cv.basics.location.postalCode | append: ' ' }}</span>
|
62
|
+
{% endif %}
|
63
|
+
{% if cv.basics.location.countryCode %}
|
64
|
+
<span class="countryCode">{{ cv.basics.location.countryCode }}</span>
|
65
|
+
{% endif %}
|
66
|
+
</address>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
69
|
{% endif %}
|