vitrina 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +13 -0
- data/.github/FUNDING.yml +4 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.github/workflows/gempush.yml +41 -0
- data/.gitignore +7 -0
- data/.travis.yml +8 -0
- data/404.md +5 -0
- data/CHANGELOG.md +59 -0
- data/Gemfile +9 -0
- data/LICENSE +21 -0
- data/README.md +407 -0
- data/_config.yml +39 -0
- data/_data/general.json +133 -0
- data/_data/home.json +316 -0
- data/_data/links.json +34 -0
- data/_data/resume.json +80 -0
- data/_includes/foot.html +6 -0
- data/_includes/footer.html +21 -0
- data/_includes/head.html +13 -0
- data/_includes/header.html +63 -0
- data/_includes/pagination.html +75 -0
- data/_includes/util/grid_columns.html +49 -0
- data/_includes/util/item_content.html +8 -0
- data/_includes/util/items.html +63 -0
- data/_includes/util/navbar_items.html +76 -0
- data/_includes/util/prepend_link.html +5 -0
- data/_includes/util/timeline_cards.html +20 -0
- data/_layouts/blog.html +53 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/contact.html +80 -0
- data/_layouts/default.html +33 -0
- data/_layouts/error.html +10 -0
- data/_layouts/home.html +103 -0
- data/_layouts/papers.html +80 -0
- data/_layouts/post.html +33 -0
- data/_layouts/projects.html +58 -0
- data/_layouts/resume.html +62 -0
- data/_papers/A-systematic-review-on-the-productive-effects-of-hobbies.md +15 -0
- data/_papers/Applications-of-open-collaboration-in-software-development.md +14 -0
- data/_posts/2019-04-03-welcome-human.md +52 -0
- data/_projects/Make.md +5 -0
- data/_projects/Meet.md +5 -0
- data/_projects/Mood.md +5 -0
- data/_projects/Take.md +5 -0
- data/_projects/Think.md +5 -0
- data/_sass/_bulma.scss +3 -0
- data/_sass/_fork_awesome.scss +11 -0
- data/_sass/code.scss +128 -0
- data/_sass/customize.scss +69 -0
- data/_sass/elements.scss +489 -0
- data/assets/css/styles.scss +15 -0
- data/assets/img/card.png +0 -0
- data/assets/img/icon.png +0 -0
- data/assets/img/logo.png +0 -0
- data/assets/img/made-with-bulma.png +0 -0
- data/assets/img/make.png +0 -0
- data/assets/img/meet.png +0 -0
- data/assets/img/mood.png +0 -0
- data/assets/img/take.png +0 -0
- data/assets/img/think.png +0 -0
- data/assets/js/navbar.js +10 -0
- data/assets/js/validate.js +77 -0
- data/blog/index.html +4 -0
- data/contact.md +4 -0
- data/index.md +3 -0
- data/node_modules/.yarn-integrity +18 -0
- data/node_modules/bulma/CHANGELOG.md +1390 -0
- data/node_modules/bulma/LICENSE +21 -0
- data/node_modules/bulma/README.md +130 -0
- data/node_modules/bulma/bulma.sass +9 -0
- data/node_modules/bulma/css/bulma.css +10855 -0
- data/node_modules/bulma/css/bulma.css.map +1 -0
- data/node_modules/bulma/css/bulma.min.css +1 -0
- data/node_modules/bulma/package.json +52 -0
- data/node_modules/bulma/sass/.DS_Store +0 -0
- data/node_modules/bulma/sass/base/_all.sass +5 -0
- data/node_modules/bulma/sass/base/generic.sass +142 -0
- data/node_modules/bulma/sass/base/helpers.sass +281 -0
- data/node_modules/bulma/sass/base/minireset.sass +79 -0
- data/node_modules/bulma/sass/components/_all.sass +15 -0
- data/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
- data/node_modules/bulma/sass/components/card.sass +79 -0
- data/node_modules/bulma/sass/components/dropdown.sass +81 -0
- data/node_modules/bulma/sass/components/level.sass +77 -0
- data/node_modules/bulma/sass/components/list.sass +39 -0
- data/node_modules/bulma/sass/components/media.sass +50 -0
- data/node_modules/bulma/sass/components/menu.sass +57 -0
- data/node_modules/bulma/sass/components/message.sass +99 -0
- data/node_modules/bulma/sass/components/modal.sass +113 -0
- data/node_modules/bulma/sass/components/navbar.sass +441 -0
- data/node_modules/bulma/sass/components/pagination.sass +150 -0
- data/node_modules/bulma/sass/components/panel.sass +119 -0
- data/node_modules/bulma/sass/components/tabs.sass +151 -0
- data/node_modules/bulma/sass/elements/_all.sass +15 -0
- data/node_modules/bulma/sass/elements/box.sass +24 -0
- data/node_modules/bulma/sass/elements/button.sass +323 -0
- data/node_modules/bulma/sass/elements/container.sass +24 -0
- data/node_modules/bulma/sass/elements/content.sass +155 -0
- data/node_modules/bulma/sass/elements/form.sass +1 -0
- data/node_modules/bulma/sass/elements/icon.sass +21 -0
- data/node_modules/bulma/sass/elements/image.sass +71 -0
- data/node_modules/bulma/sass/elements/notification.sass +43 -0
- data/node_modules/bulma/sass/elements/other.sass +39 -0
- data/node_modules/bulma/sass/elements/progress.sass +67 -0
- data/node_modules/bulma/sass/elements/table.sass +127 -0
- data/node_modules/bulma/sass/elements/tag.sass +128 -0
- data/node_modules/bulma/sass/elements/title.sass +70 -0
- data/node_modules/bulma/sass/form/_all.sass +8 -0
- data/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
- data/node_modules/bulma/sass/form/file.sass +180 -0
- data/node_modules/bulma/sass/form/input-textarea.sass +64 -0
- data/node_modules/bulma/sass/form/select.sass +85 -0
- data/node_modules/bulma/sass/form/shared.sass +55 -0
- data/node_modules/bulma/sass/form/tools.sass +205 -0
- data/node_modules/bulma/sass/grid/_all.sass +4 -0
- data/node_modules/bulma/sass/grid/columns.sass +504 -0
- data/node_modules/bulma/sass/grid/tiles.sass +34 -0
- data/node_modules/bulma/sass/layout/_all.sass +5 -0
- data/node_modules/bulma/sass/layout/footer.sass +9 -0
- data/node_modules/bulma/sass/layout/hero.sass +145 -0
- data/node_modules/bulma/sass/layout/section.sass +13 -0
- data/node_modules/bulma/sass/utilities/.DS_Store +0 -0
- data/node_modules/bulma/sass/utilities/_all.sass +8 -0
- data/node_modules/bulma/sass/utilities/animations.sass +5 -0
- data/node_modules/bulma/sass/utilities/controls.sass +50 -0
- data/node_modules/bulma/sass/utilities/derived-variables.sass +106 -0
- data/node_modules/bulma/sass/utilities/functions.sass +110 -0
- data/node_modules/bulma/sass/utilities/initial-variables.sass +77 -0
- data/node_modules/bulma/sass/utilities/mixins.sass +261 -0
- data/node_modules/fork-awesome/CHANGELOG.md +91 -0
- data/node_modules/fork-awesome/CONTRIBUTORS.md +31 -0
- data/node_modules/fork-awesome/LICENSES +452 -0
- data/node_modules/fork-awesome/README.md +93 -0
- data/node_modules/fork-awesome/css/fork-awesome.css +2573 -0
- data/node_modules/fork-awesome/css/fork-awesome.min.css +12 -0
- data/node_modules/fork-awesome/css/fork-awesome.min.css.map +1 -0
- data/node_modules/fork-awesome/css/v5-compat.css +446 -0
- data/node_modules/fork-awesome/css/v5-compat.min.css +12 -0
- data/node_modules/fork-awesome/css/v5-compat.min.css.map +1 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.eot +0 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.svg +2849 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.ttf +0 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.woff +0 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.woff2 +0 -0
- data/node_modules/fork-awesome/less/animated.less +34 -0
- data/node_modules/fork-awesome/less/bordered-pulled.less +25 -0
- data/node_modules/fork-awesome/less/core.less +12 -0
- data/node_modules/fork-awesome/less/fixed-width.less +6 -0
- data/node_modules/fork-awesome/less/fork-awesome.less +27 -0
- data/node_modules/fork-awesome/less/icons.less +879 -0
- data/node_modules/fork-awesome/less/larger.less +13 -0
- data/node_modules/fork-awesome/less/list.less +19 -0
- data/node_modules/fork-awesome/less/mixins.less +60 -0
- data/node_modules/fork-awesome/less/path.less +15 -0
- data/node_modules/fork-awesome/less/rotated-flipped.less +20 -0
- data/node_modules/fork-awesome/less/screen-reader.less +5 -0
- data/node_modules/fork-awesome/less/stacked.less +20 -0
- data/node_modules/fork-awesome/less/v5-compat.less +176 -0
- data/node_modules/fork-awesome/less/variables.less +890 -0
- data/node_modules/fork-awesome/package.json +49 -0
- data/node_modules/fork-awesome/scss/_animated.scss +34 -0
- data/node_modules/fork-awesome/scss/_bordered-pulled.scss +25 -0
- data/node_modules/fork-awesome/scss/_core.scss +12 -0
- data/node_modules/fork-awesome/scss/_fixed-width.scss +6 -0
- data/node_modules/fork-awesome/scss/_functions.scss +11 -0
- data/node_modules/fork-awesome/scss/_icons.scss +879 -0
- data/node_modules/fork-awesome/scss/_larger.scss +13 -0
- data/node_modules/fork-awesome/scss/_list.scss +19 -0
- data/node_modules/fork-awesome/scss/_mixins.scss +60 -0
- data/node_modules/fork-awesome/scss/_path.scss +15 -0
- data/node_modules/fork-awesome/scss/_rotated-flipped.scss +20 -0
- data/node_modules/fork-awesome/scss/_screen-reader.scss +5 -0
- data/node_modules/fork-awesome/scss/_stacked.scss +20 -0
- data/node_modules/fork-awesome/scss/_variables.scss +890 -0
- data/node_modules/fork-awesome/scss/fork-awesome.scss +28 -0
- data/package.json +32 -0
- data/papers.md +4 -0
- data/projects.md +4 -0
- data/resume.md +4 -0
- data/screenshot.png +0 -0
- data/scripts/build.sh +10 -0
- data/scripts/install.sh +4 -0
- data/scripts/validate.rb +28 -0
- data/vitrina.gemspec +23 -0
- metadata +187 -2
@@ -0,0 +1,20 @@
|
|
1
|
+
{% assign side = "left" %}
|
2
|
+
|
3
|
+
{% for card in part.cards %}
|
4
|
+
<div class="timeline-card {{ side }}">
|
5
|
+
<div class="timeline-content {{ card.style }}">
|
6
|
+
|
7
|
+
{% for item in card.content %}
|
8
|
+
{% include util/items.html %}
|
9
|
+
{% endfor %}
|
10
|
+
|
11
|
+
</div> {% comment %} timeline-content {% endcomment %}
|
12
|
+
</div> {% comment %} timeline-card {% endcomment %}
|
13
|
+
|
14
|
+
{% if side == "left" %}
|
15
|
+
{% assign side = "right" %}
|
16
|
+
{% else %}
|
17
|
+
{% assign side = "left" %}
|
18
|
+
{% endif %}
|
19
|
+
|
20
|
+
{% endfor %}
|
data/_layouts/blog.html
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<div class="page-head">
|
8
|
+
<h1 class="title is-size-1 has-text-centered has-text-info">{{ page.title }}</h1>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<div class="section blog">
|
12
|
+
<div class="container page">
|
13
|
+
{% if paginator.posts[0] %}
|
14
|
+
{% for post in paginator.posts %}
|
15
|
+
<h1>
|
16
|
+
<a class="title" href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
17
|
+
</h1>
|
18
|
+
|
19
|
+
<p class="author">
|
20
|
+
{% if post.author %}
|
21
|
+
<span>by {{ post.author }}</span>
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
{% if post.author and post.date %}
|
25
|
+
<span> - </span>
|
26
|
+
{% endif %}
|
27
|
+
|
28
|
+
{% if post.date %}
|
29
|
+
<span>{{ post.date | date: '%B %d, %Y' }}</span>
|
30
|
+
{% endif %}
|
31
|
+
</p>
|
32
|
+
|
33
|
+
<p class="categories">
|
34
|
+
{% for category in post.categories %}
|
35
|
+
<span>{{ category }}</span>
|
36
|
+
{% endfor %}
|
37
|
+
</p>
|
38
|
+
|
39
|
+
<div class="post-body">{{ post.excerpt }}</div><hr>
|
40
|
+
|
41
|
+
{% endfor %}
|
42
|
+
|
43
|
+
{% else %}
|
44
|
+
<div class="post-body">
|
45
|
+
<p class="has-text-centered">There's no content to be shown here!</p>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
{% endif %}
|
49
|
+
|
50
|
+
{% include pagination.html %}
|
51
|
+
|
52
|
+
</div> {% comment %} container {% endcomment %}
|
53
|
+
</div> {% comment %} section {% endcomment %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
# Jekyll layout that compresses HTML
|
3
|
+
# v3.1.0
|
4
|
+
# http://jch.penibelst.de/
|
5
|
+
# © 2014–2015 Anatol Broder
|
6
|
+
# MIT License
|
7
|
+
---
|
8
|
+
|
9
|
+
{% capture _LINE_FEED %}
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment or site.compress_html.ignore.envs == "all" %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<div class="contacts">
|
8
|
+
<h1 class="title is-size-1 has-text-centered has-text-primary">{{ page.title }}</h1>
|
9
|
+
<div class="section section-card">
|
10
|
+
<div class="container page">
|
11
|
+
<div class="columns">
|
12
|
+
<div class="column contact">
|
13
|
+
<h1 class="is-size-3 has-text-centered">Links</h1>
|
14
|
+
<p class="links has-text-centered">
|
15
|
+
{% assign data = site.data.links %}
|
16
|
+
|
17
|
+
{% for link in data %}
|
18
|
+
<span class="link">
|
19
|
+
<a class="has-text-info" href="{{ link.reference }}">
|
20
|
+
<i class="fa fa-5x {{ link.icon }}"></i>
|
21
|
+
</a>
|
22
|
+
</span>
|
23
|
+
|
24
|
+
{% endfor %}
|
25
|
+
|
26
|
+
</p> {% comment %} links {% endcomment %}
|
27
|
+
</div>
|
28
|
+
<div class="column has-text-dark">
|
29
|
+
<h1 class="is-size-2">Get in touch!</h1>
|
30
|
+
<p>Use the form below to send me a message.</p>
|
31
|
+
<form name="contact">
|
32
|
+
<div class="field">
|
33
|
+
<label class="label">Name</label>
|
34
|
+
<div class="control">
|
35
|
+
<input class="input" type="text" name="name" placeholder="e.g. Vitrina" required>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
<div class="field">
|
39
|
+
<label class="label">Email</label>
|
40
|
+
<div class="control has-icons-left">
|
41
|
+
<input class="input" type="email" name="email" placeholder="e.g. vitrina@example.com" required>
|
42
|
+
<span class="icon is-small is-left">
|
43
|
+
<i class="fa fa-envelope"></i>
|
44
|
+
</span>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
<div class="field">
|
48
|
+
<label class="label">Subject</label>
|
49
|
+
<div class="control">
|
50
|
+
<input class="input" type="text" name="subject" placeholder="Message subject..." required>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
<div class="field">
|
54
|
+
<label class="label">Message</label>
|
55
|
+
<div class="control">
|
56
|
+
<textarea class="textarea" name="message" placeholder="Message contents..." required></textarea>
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
<div class="field">
|
60
|
+
<div class="control">
|
61
|
+
<label class="checkbox">
|
62
|
+
<input type="checkbox" name="terms" required>
|
63
|
+
I agree to the <a href="#">terms and conditions</a>
|
64
|
+
</label>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
<div class="field is-grouped">
|
68
|
+
<div class="control">
|
69
|
+
<input type="submit" class="button is-primary" value="Submit">
|
70
|
+
</div>
|
71
|
+
<div class="control">
|
72
|
+
<input type="reset" class="button is-link is-light" value="Cancel">
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
</form>
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
</div>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
4
|
+
|
5
|
+
<!DOCTYPE html>
|
6
|
+
<html lang="{{ site.lang | default: 'en-US' }}">
|
7
|
+
<head>
|
8
|
+
{% include head.html %}
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body>
|
12
|
+
{% if site.data.general.header %}
|
13
|
+
<header>
|
14
|
+
{% include header.html %}
|
15
|
+
</header>
|
16
|
+
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
<main>
|
20
|
+
{{ content }}
|
21
|
+
</main>
|
22
|
+
|
23
|
+
{% if site.data.general.footer %}
|
24
|
+
<footer class="footer">
|
25
|
+
{% include footer.html %}
|
26
|
+
</footer>
|
27
|
+
|
28
|
+
{% endif %}
|
29
|
+
|
30
|
+
{% include foot.html %}
|
31
|
+
|
32
|
+
</body>
|
33
|
+
</html>
|
data/_layouts/error.html
ADDED
data/_layouts/home.html
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
{% assign data = site.data.home %}
|
8
|
+
|
9
|
+
{% for part in data %}
|
10
|
+
|
11
|
+
{% if part.structure == "hero" %}
|
12
|
+
|
13
|
+
{% if part.background %}
|
14
|
+
<section class="hero is-fullheight is-primary has-background {{ part.style }}">
|
15
|
+
{% assign link = part.background %}
|
16
|
+
{% include util/prepend_link.html %}
|
17
|
+
<img class="hero-background" src="{{ link }}" alt="{{ part.name }}">
|
18
|
+
|
19
|
+
{% else %}
|
20
|
+
<section class="hero is-fullheight is-light {{ part.style }}">
|
21
|
+
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
<div class="hero-body">
|
25
|
+
<div class="container">
|
26
|
+
|
27
|
+
{% for item in part.content %}
|
28
|
+
{% include util/items.html %}
|
29
|
+
{% endfor %}
|
30
|
+
|
31
|
+
</div> {% comment %} hero-body {% endcomment %}
|
32
|
+
</div> {% comment %} container {% endcomment %}
|
33
|
+
</section> {% comment %} hero {% endcomment %}
|
34
|
+
|
35
|
+
{% elsif part.structure == "level" %}
|
36
|
+
<section class="section">
|
37
|
+
<nav class="level {{ part.style }}">
|
38
|
+
|
39
|
+
{% for level in part.content %}
|
40
|
+
<div class="level-item {{ level.style }}">
|
41
|
+
<div>
|
42
|
+
|
43
|
+
{% for item in level.items %}
|
44
|
+
{% include util/items.html %}
|
45
|
+
{% endfor %}
|
46
|
+
|
47
|
+
</div>
|
48
|
+
</div> {% comment %} level-item {% endcomment %}
|
49
|
+
|
50
|
+
{% endfor %}
|
51
|
+
|
52
|
+
</nav> {% comment %} level {% endcomment %}
|
53
|
+
</section> {% comment %} section {% endcomment %}
|
54
|
+
|
55
|
+
{% elsif part.structure == "section" %}
|
56
|
+
<section class="section {{ part.style }}">
|
57
|
+
<div class="container">
|
58
|
+
|
59
|
+
{% if part.title %}
|
60
|
+
<h1 class="title">{{ part.title }}</h1>
|
61
|
+
{% endif %}
|
62
|
+
|
63
|
+
{% for item in part.content %}
|
64
|
+
{% include util/items.html %}
|
65
|
+
{% endfor %}
|
66
|
+
|
67
|
+
</div> {% comment %} container {% endcomment %}
|
68
|
+
</section> {% comment %} section {% endcomment %}
|
69
|
+
|
70
|
+
{% elsif part.structure == "timeline" %}
|
71
|
+
<section class="section {{ part.style }}">
|
72
|
+
{% if part.title %}
|
73
|
+
<div class="container content">
|
74
|
+
<h1 class="title">{{ part.title }}</h1>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
{% endif %}
|
78
|
+
|
79
|
+
<div class="timeline">
|
80
|
+
{% include util/timeline_cards.html %}
|
81
|
+
</div>
|
82
|
+
|
83
|
+
</section> {% comment %} section {% endcomment %}
|
84
|
+
|
85
|
+
{% elsif part.structure == "grid" %}
|
86
|
+
<section class="section grid{{ part.style }}">
|
87
|
+
|
88
|
+
{% if part.title %}
|
89
|
+
<div class="container content">
|
90
|
+
<h1 class="title">{{ part.title }}</h1>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
{% endif %}
|
94
|
+
|
95
|
+
<div class="container">
|
96
|
+
{% include util/grid_columns.html %}
|
97
|
+
</div>
|
98
|
+
|
99
|
+
</section> {% comment %} section {% endcomment %}
|
100
|
+
|
101
|
+
{% endif %}
|
102
|
+
|
103
|
+
{% endfor %}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<div class="page-head">
|
8
|
+
<h1 class="title is-size-1 has-text-centered has-text-info">{{ page.title }}</h1>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<div class="section papers">
|
12
|
+
<div class="container page">
|
13
|
+
{% if site.papers[0] %}
|
14
|
+
{% for paper in site.papers %}
|
15
|
+
<div class="paper">
|
16
|
+
<p class="information">
|
17
|
+
<span>{{ paper.type | default: 'Article' }}</span>
|
18
|
+
|
19
|
+
{% if paper.access.open %}
|
20
|
+
<span class="icon has-text-success">
|
21
|
+
<i class="fa fa-circle"></i>
|
22
|
+
</span>
|
23
|
+
<span><em>Text available</em></span>
|
24
|
+
|
25
|
+
{% else %}
|
26
|
+
<span class="icon has-text-danger">
|
27
|
+
<i class="fa fa-circle"></i>
|
28
|
+
</span>
|
29
|
+
<span><em>Text unavailable</em></span>
|
30
|
+
|
31
|
+
{% endif %}
|
32
|
+
|
33
|
+
</p> {% comment %} information {% endcomment %}
|
34
|
+
|
35
|
+
<p class="publication has-text-black">
|
36
|
+
{{ paper.title }}
|
37
|
+
</p>
|
38
|
+
|
39
|
+
<p class="reference">
|
40
|
+
{% if paper.publication.name %}
|
41
|
+
{% assign link = paper.publication.link %}
|
42
|
+
{% include util/prepend_link.html %}
|
43
|
+
|
44
|
+
<span><a href="{{ link }}">{{ paper.publication.name }}</a>,</span>
|
45
|
+
<span>{{ paper.publication.reference }}</span>
|
46
|
+
|
47
|
+
{% endif %}
|
48
|
+
|
49
|
+
</p> {% comment %} reference {% endcomment %}
|
50
|
+
|
51
|
+
<p class="author">
|
52
|
+
{{ paper.authors | join: ', ' }}
|
53
|
+
</p>
|
54
|
+
|
55
|
+
<p class="download">
|
56
|
+
{% if paper.access.pdf %}
|
57
|
+
{% assign link = paper.access.pdf %}
|
58
|
+
{% include util/prepend_link.html %}
|
59
|
+
|
60
|
+
<a href="{{ link }}">
|
61
|
+
<span class="icon has-text-danger">
|
62
|
+
<i class="fa fa-file-pdf-o"></i>
|
63
|
+
</span>
|
64
|
+
<span>Download PDF</span>
|
65
|
+
</a>
|
66
|
+
|
67
|
+
{% endif %}
|
68
|
+
|
69
|
+
</p> {% comment %} download {% endcomment %}
|
70
|
+
</div> {% comment %} paper {% endcomment %}
|
71
|
+
|
72
|
+
{% endfor %}
|
73
|
+
|
74
|
+
{% else %}
|
75
|
+
<p class="has-text-centered">There's no content to be shown here!</p>
|
76
|
+
|
77
|
+
{% endif %}
|
78
|
+
|
79
|
+
</div> {% comment %} container {% endcomment %}
|
80
|
+
</div> {% comment %} section {% endcomment %}
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="page-head">
|
6
|
+
<h1 class="title is-size-1 has-text-centered has-text-info">{{ page.title }}</h1>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<div class="section post">
|
10
|
+
<div class="container page">
|
11
|
+
<p class="author has-text-centered">
|
12
|
+
{% if page.author %}
|
13
|
+
<span>by {{ page.author }}</span>
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
{% if page.author and page.date %}
|
17
|
+
<span> - </span>
|
18
|
+
{% endif %}
|
19
|
+
|
20
|
+
{% if page.date %}
|
21
|
+
<span>{{ page.date | date: '%B %d, %Y' }}</span>
|
22
|
+
{% endif %}
|
23
|
+
</p>
|
24
|
+
|
25
|
+
<p class="categories has-text-centered">
|
26
|
+
{% for category in page.categories %}
|
27
|
+
<span>{{ category }}</span>
|
28
|
+
{% endfor %}
|
29
|
+
</p><hr>
|
30
|
+
|
31
|
+
<div class="post-body">{{ content }}</div>
|
32
|
+
</div> {% comment %} container {% endcomment %}
|
33
|
+
</div> {% comment %} section {% endcomment %}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
{% assign per_column = 3 %}
|
8
|
+
|
9
|
+
<div class="projects">
|
10
|
+
<h1 class="title is-size-1 has-text-centered has-text-primary">{{ page.title }}</h1>
|
11
|
+
|
12
|
+
<div class="container">
|
13
|
+
{% if site.projects[0] %}
|
14
|
+
{% assign i = 1 %}
|
15
|
+
|
16
|
+
{% for project in site.projects %}
|
17
|
+
|
18
|
+
{% if i == 1 %}
|
19
|
+
<div class="columns">
|
20
|
+
{% endif %}
|
21
|
+
|
22
|
+
<div class="column">
|
23
|
+
<p class="has-text-centered">{{ project.title }}</p>
|
24
|
+
<figure class="image is-16by9 project">
|
25
|
+
{% assign link = project.link %}
|
26
|
+
{% include util/prepend_link.html %}
|
27
|
+
|
28
|
+
<a class="has-text-centered" href="{{ link }}">
|
29
|
+
<p class="hover has-text-info">
|
30
|
+
<span>{{ project.title | upcase }}</span>
|
31
|
+
<span class="icon">
|
32
|
+
<i class="fa fa-external-link"></i>
|
33
|
+
</span>
|
34
|
+
</p>
|
35
|
+
{% assign link = project.image %}
|
36
|
+
{% include util/prepend_link.html %}
|
37
|
+
|
38
|
+
<img src="{{ link }}" alt="{{ project.title }}">
|
39
|
+
</a>
|
40
|
+
</figure>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
{% if i == per_column %}
|
44
|
+
</div> {% comment %} columns {% endcomment %}
|
45
|
+
{% assign i = 1 %}
|
46
|
+
{% else %}
|
47
|
+
{% assign i = i | plus: 1 %}
|
48
|
+
{% endif %}
|
49
|
+
|
50
|
+
{% endfor %}
|
51
|
+
|
52
|
+
{% else %}
|
53
|
+
<p class="has-text-centered">There's no content to be shown here!</p>
|
54
|
+
|
55
|
+
{% endif %}
|
56
|
+
|
57
|
+
</div> {% comment %} container {% endcomment %}
|
58
|
+
</div> {% comment %} section {% endcomment %}
|