jekyll-theme-lcsb-default 0.2.13 → 0.2.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.txt +21 -21
- data/README.md +131 -119
- data/_includes/css-imports.html +2 -2
- data/_includes/footer.html +21 -21
- data/_includes/google-analytics.html +12 -12
- data/_includes/head.html +15 -15
- data/_includes/header.html +65 -65
- data/_includes/scripts.html +8 -8
- data/_includes/social.html +16 -16
- data/_layouts/default.html +20 -20
- data/_layouts/external.html +37 -0
- data/_layouts/frozen.html +21 -21
- data/_layouts/page.html +5 -5
- data/_layouts/paginated_index.html +83 -83
- data/_layouts/post.html +5 -5
- data/_sass/minima.scss +57 -57
- data/_sass/minima/_base.scss +299 -299
- data/_sass/minima/_frozen.scss +43 -43
- data/_sass/minima/_layout.scss +396 -396
- data/_sass/minima/_lcsb.scss +144 -144
- data/_sass/minima/_syntax-highlighting.scss +71 -71
- data/assets/banners/lcsb-logo.svg +583 -583
- data/assets/banners/uni-logo.svg +231 -231
- data/assets/fontawesome/css/fa-brands.css +13 -13
- data/assets/fontawesome/css/fa-brands.min.css +4 -4
- data/assets/fontawesome/css/fa-regular.css +14 -14
- data/assets/fontawesome/css/fa-regular.min.css +4 -4
- data/assets/fontawesome/css/fa-solid.css +15 -15
- data/assets/fontawesome/css/fa-solid.min.css +4 -4
- data/assets/fontawesome/css/fontawesome-all.css +2726 -2726
- data/assets/fontawesome/css/fontawesome-all.min.css +4 -4
- data/assets/fontawesome/css/fontawesome.css +2696 -2696
- data/assets/fontawesome/css/fontawesome.min.css +4 -4
- data/assets/fontawesome/less/_animated.less +19 -19
- data/assets/fontawesome/less/_bordered-pulled.less +16 -16
- data/assets/fontawesome/less/_core.less +12 -12
- data/assets/fontawesome/less/_fixed-width.less +6 -6
- data/assets/fontawesome/less/_icons.less +833 -833
- data/assets/fontawesome/less/_larger.less +27 -27
- data/assets/fontawesome/less/_list.less +18 -18
- data/assets/fontawesome/less/_mixins.less +57 -57
- data/assets/fontawesome/less/_rotated-flipped.less +23 -23
- data/assets/fontawesome/less/_screen-reader.less +5 -5
- data/assets/fontawesome/less/_stacked.less +22 -22
- data/assets/fontawesome/less/_variables.less +842 -842
- data/assets/fontawesome/less/fa-brands.less +21 -21
- data/assets/fontawesome/less/fa-regular.less +22 -22
- data/assets/fontawesome/less/fa-solid.less +23 -23
- data/assets/fontawesome/less/fontawesome.less +16 -16
- data/assets/fontawesome/scss/_animated.scss +20 -20
- data/assets/fontawesome/scss/_bordered-pulled.scss +20 -20
- data/assets/fontawesome/scss/_core.scss +16 -16
- data/assets/fontawesome/scss/_fixed-width.scss +6 -6
- data/assets/fontawesome/scss/_icons.scss +833 -833
- data/assets/fontawesome/scss/_larger.scss +23 -23
- data/assets/fontawesome/scss/_list.scss +18 -18
- data/assets/fontawesome/scss/_mixins.scss +57 -57
- data/assets/fontawesome/scss/_rotated-flipped.scss +23 -23
- data/assets/fontawesome/scss/_screen-reader.scss +5 -5
- data/assets/fontawesome/scss/_stacked.scss +31 -31
- data/assets/fontawesome/scss/_variables.scss +846 -846
- data/assets/fontawesome/scss/fa-brands.scss +21 -21
- data/assets/fontawesome/scss/fa-regular.scss +22 -22
- data/assets/fontawesome/scss/fa-solid.scss +23 -23
- data/assets/fontawesome/scss/fontawesome.scss +16 -16
- data/assets/fontawesome/webfonts/fa-brands-400.svg +1008 -1008
- data/assets/fontawesome/webfonts/fa-regular-400.svg +366 -366
- data/assets/fontawesome/webfonts/fa-solid-900.svg +1518 -1518
- data/assets/main.scss +5 -5
- data/assets/minima-social-icons.svg +33 -33
- metadata +4 -3
data/_includes/scripts.html
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
{% comment %}
|
2
|
-
Add here additional javascript libraries and code.
|
3
|
-
Uncomment those if needed.
|
4
|
-
{% endcomment %}
|
5
|
-
|
6
|
-
{% comment %}
|
7
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
8
|
-
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
1
|
+
{% comment %}
|
2
|
+
Add here additional javascript libraries and code.
|
3
|
+
Uncomment those if needed.
|
4
|
+
{% endcomment %}
|
5
|
+
|
6
|
+
{% comment %}
|
7
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
8
|
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
9
9
|
{% endcomment %}
|
data/_includes/social.html
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
<ul class="social-media-list">
|
2
|
-
{%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon svg-icon-fb"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
3
|
-
{%- if site.twitter_username -%}<li><a href="https://www.twitter.com/{{ site.twitter_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon svg-icon-twitter"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
4
|
-
{%- if site.linkedin_schoolname -%}<li><a href="https://www.linkedin.com/school/{{ site.linkedin_schoolname| cgi_escape | escape }}" target="_parent"><svg class="svg-icon svg-icon-linkedin"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
5
|
-
|
6
|
-
{%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{%- endif -%}
|
7
|
-
{%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{%- endif -%}
|
8
|
-
{%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{%- endif -%}
|
9
|
-
{%- if site.instagram_username -%}<li><a href="https://instagram.com/{{ site.instagram_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{%- endif -%}
|
10
|
-
{%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username">{{ site.linkedin_schoolname| escape }}</span></a></li>{%- endif -%}
|
11
|
-
{%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{%- endif -%}
|
12
|
-
{%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username">{{ mst.username|escape }}</span></a></li>{%- endif -%}{%- endfor -%}
|
13
|
-
{%- if site.youtube_username -%}<li><a href="https://youtube.com/{{ site.youtube_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{%- endif -%}
|
14
|
-
{%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{%- endif -%}
|
15
|
-
{%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{%- endif -%}
|
16
|
-
</ul>
|
1
|
+
<ul class="social-media-list">
|
2
|
+
{%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon svg-icon-fb"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
3
|
+
{%- if site.twitter_username -%}<li><a href="https://www.twitter.com/{{ site.twitter_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon svg-icon-twitter"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
4
|
+
{%- if site.linkedin_schoolname -%}<li><a href="https://www.linkedin.com/school/{{ site.linkedin_schoolname| cgi_escape | escape }}" target="_parent"><svg class="svg-icon svg-icon-linkedin"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
5
|
+
|
6
|
+
{%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{%- endif -%}
|
7
|
+
{%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{%- endif -%}
|
8
|
+
{%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{%- endif -%}
|
9
|
+
{%- if site.instagram_username -%}<li><a href="https://instagram.com/{{ site.instagram_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{%- endif -%}
|
10
|
+
{%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username">{{ site.linkedin_schoolname| escape }}</span></a></li>{%- endif -%}
|
11
|
+
{%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{%- endif -%}
|
12
|
+
{%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username">{{ mst.username|escape }}</span></a></li>{%- endif -%}{%- endfor -%}
|
13
|
+
{%- if site.youtube_username -%}<li><a href="https://youtube.com/{{ site.youtube_username| cgi_escape | escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{%- endif -%}
|
14
|
+
{%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{%- endif -%}
|
15
|
+
{%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}" target="_parent"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{%- endif -%}
|
16
|
+
</ul>
|
data/_layouts/default.html
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
-
|
4
|
-
{%- include head.html -%}
|
5
|
-
|
6
|
-
<body>
|
7
|
-
<div class="main">
|
8
|
-
<div class="content-wrapper">
|
9
|
-
{%- include header.html -%}
|
10
|
-
<main class="page-content" aria-label="Content">
|
11
|
-
<div class="wrapper">
|
12
|
-
{{ content }}
|
13
|
-
</div>
|
14
|
-
</main>
|
15
|
-
</div>
|
16
|
-
{%- include footer.html -%}
|
17
|
-
</div>
|
18
|
-
</body>
|
19
|
-
{%- include scripts.html -%}
|
20
|
-
</html>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
<div class="main">
|
8
|
+
<div class="content-wrapper">
|
9
|
+
{%- include header.html -%}
|
10
|
+
<main class="page-content" aria-label="Content">
|
11
|
+
<div class="wrapper">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</main>
|
15
|
+
</div>
|
16
|
+
{%- include footer.html -%}
|
17
|
+
</div>
|
18
|
+
</body>
|
19
|
+
{%- include scripts.html -%}
|
20
|
+
</html>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
<head>
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
|
+
|
9
|
+
<meta http-equiv="Refresh" content="0; url={{page.redirect_to}}" />
|
10
|
+
|
11
|
+
{%- seo -%}
|
12
|
+
<link rel="shortcut icon" type="image/png" href="{{ '/assets/favicon.png' | relative_url }}"/>
|
13
|
+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
14
|
+
<link rel="stylesheet" href="{{ '/assets/fontawesome/css/fontawesome-all.min.css' | relative_url }}">
|
15
|
+
|
16
|
+
{%- include css-imports.html -%}
|
17
|
+
|
18
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
19
|
+
{%- include google-analytics.html -%}
|
20
|
+
{%- endif -%}
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body>
|
24
|
+
<div class="main">
|
25
|
+
<div class="content-wrapper">
|
26
|
+
{%- include header.html -%}
|
27
|
+
<main class="page-content" aria-label="Content">
|
28
|
+
<div class="wrapper">
|
29
|
+
You are being redirected to: <a href="{{page.redirect_to}}">{{page.redirect_to}}</a>. <br /> Please click the link above, if it does not happen automatically.
|
30
|
+
</div>
|
31
|
+
</main>
|
32
|
+
</div>
|
33
|
+
{%- include footer.html -%}
|
34
|
+
</div>
|
35
|
+
</body>
|
36
|
+
{%- include scripts.html -%}
|
37
|
+
</html>
|
data/_layouts/frozen.html
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
-
|
4
|
-
{%- include head.html -%}
|
5
|
-
|
6
|
-
<body>
|
7
|
-
<div class="main">
|
8
|
-
<div class="content-wrapper">
|
9
|
-
{%- include header.html -%}
|
10
|
-
<main class="fpage-content" aria-label="Content">
|
11
|
-
<div class="wrapper">
|
12
|
-
{{ content }}
|
13
|
-
</div>
|
14
|
-
</main>
|
15
|
-
</div>
|
16
|
-
{%- include footer.html -%}
|
17
|
-
</div>
|
18
|
-
|
19
|
-
</body>
|
20
|
-
{%- include scripts.html -%}
|
21
|
-
</html>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
<div class="main">
|
8
|
+
<div class="content-wrapper">
|
9
|
+
{%- include header.html -%}
|
10
|
+
<main class="fpage-content" aria-label="Content">
|
11
|
+
<div class="wrapper">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</main>
|
15
|
+
</div>
|
16
|
+
{%- include footer.html -%}
|
17
|
+
</div>
|
18
|
+
|
19
|
+
</body>
|
20
|
+
{%- include scripts.html -%}
|
21
|
+
</html>
|
data/_layouts/page.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
@@ -1,84 +1,84 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<style>
|
6
|
-
h2 {margin-bottom: 3px;}
|
7
|
-
ul.pager { text-align: center; list-style: none; }
|
8
|
-
ul.pager li {display: inline; padding: 10px; margin: 5px; border: solid 1px #e3e3e3; }
|
9
|
-
ul.pager li:hover { text-decoration: none; border: solid 1px #929292; }
|
10
|
-
ul.pager a:hover { text-decoration: none; }
|
11
|
-
ul.pager li.pager-active { background-color: white; border: solid 1px #929292; }
|
12
|
-
</style>
|
13
|
-
|
14
|
-
<div class="home">
|
15
|
-
<h1 class="page-heading">
|
16
|
-
Posts
|
17
|
-
</h1>
|
18
|
-
|
19
|
-
{{ content }}
|
20
|
-
|
21
|
-
<ul class="post-list">
|
22
|
-
{% comment %}
|
23
|
-
Here is the main paginator logic called.
|
24
|
-
All calls to site.posts should be replaced by paginator.posts
|
25
|
-
{% endcomment %}
|
26
|
-
|
27
|
-
{% for post in paginator.posts %}
|
28
|
-
<li>
|
29
|
-
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
|
30
|
-
|
31
|
-
<h2>
|
32
|
-
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
33
|
-
</h2>
|
34
|
-
|
35
|
-
<span class="post-meta">{% if post.synopsis %}{{ post.synopsis }}{% endif %}</span>
|
36
|
-
</li>
|
37
|
-
{% endfor %}
|
38
|
-
</ul>
|
39
|
-
|
40
|
-
{% comment %}
|
41
|
-
Showing buttons to move to the next and to the previous list of posts (pager buttons).
|
42
|
-
|
43
|
-
Some legacy code (might be useful):
|
44
|
-
{% if paginator.total_pages > 1 %}
|
45
|
-
<ul class="pager">
|
46
|
-
{% if paginator.previous_page %}
|
47
|
-
<li class="previous">
|
48
|
-
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">← Newer Posts</a>
|
49
|
-
</li>
|
50
|
-
{% endif %}
|
51
|
-
{% if paginator.next_page %}
|
52
|
-
<li class="next">
|
53
|
-
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older Posts →</a>
|
54
|
-
</li>
|
55
|
-
{% endif %}
|
56
|
-
</ul>
|
57
|
-
{% endif %}
|
58
|
-
{% endcomment %}
|
59
|
-
|
60
|
-
|
61
|
-
{% if paginator.page_trail %}
|
62
|
-
<ul class="pager" style="margin-top: 60px;">
|
63
|
-
{% if paginator.previous_page %}
|
64
|
-
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">
|
65
|
-
<li class="previous">«</li>
|
66
|
-
</a>
|
67
|
-
{% endif %}
|
68
|
-
|
69
|
-
{% for trail in paginator.page_trail %}
|
70
|
-
<a href="{{ trail.path | prepend: site.baseurl }}" title="{{trail.title}}">
|
71
|
-
<li {% if page.url == trail.path %}class="pager-active"{% endif %}>{{ trail.num | replace: " ", "" }}</li>
|
72
|
-
</a>
|
73
|
-
{% endfor %}
|
74
|
-
|
75
|
-
{% if paginator.next_page %}
|
76
|
-
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">
|
77
|
-
<li class="next">»</li>
|
78
|
-
</a>
|
79
|
-
{% endif %}
|
80
|
-
</ul>
|
81
|
-
{% endif %}
|
82
|
-
|
83
|
-
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<style>
|
6
|
+
h2 {margin-bottom: 3px;}
|
7
|
+
ul.pager { text-align: center; list-style: none; }
|
8
|
+
ul.pager li {display: inline; padding: 10px; margin: 5px; border: solid 1px #e3e3e3; }
|
9
|
+
ul.pager li:hover { text-decoration: none; border: solid 1px #929292; }
|
10
|
+
ul.pager a:hover { text-decoration: none; }
|
11
|
+
ul.pager li.pager-active { background-color: white; border: solid 1px #929292; }
|
12
|
+
</style>
|
13
|
+
|
14
|
+
<div class="home">
|
15
|
+
<h1 class="page-heading">
|
16
|
+
Posts
|
17
|
+
</h1>
|
18
|
+
|
19
|
+
{{ content }}
|
20
|
+
|
21
|
+
<ul class="post-list">
|
22
|
+
{% comment %}
|
23
|
+
Here is the main paginator logic called.
|
24
|
+
All calls to site.posts should be replaced by paginator.posts
|
25
|
+
{% endcomment %}
|
26
|
+
|
27
|
+
{% for post in paginator.posts %}
|
28
|
+
<li>
|
29
|
+
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
|
30
|
+
|
31
|
+
<h2>
|
32
|
+
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
33
|
+
</h2>
|
34
|
+
|
35
|
+
<span class="post-meta">{% if post.synopsis %}{{ post.synopsis }}{% endif %}</span>
|
36
|
+
</li>
|
37
|
+
{% endfor %}
|
38
|
+
</ul>
|
39
|
+
|
40
|
+
{% comment %}
|
41
|
+
Showing buttons to move to the next and to the previous list of posts (pager buttons).
|
42
|
+
|
43
|
+
Some legacy code (might be useful):
|
44
|
+
{% if paginator.total_pages > 1 %}
|
45
|
+
<ul class="pager">
|
46
|
+
{% if paginator.previous_page %}
|
47
|
+
<li class="previous">
|
48
|
+
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">← Newer Posts</a>
|
49
|
+
</li>
|
50
|
+
{% endif %}
|
51
|
+
{% if paginator.next_page %}
|
52
|
+
<li class="next">
|
53
|
+
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older Posts →</a>
|
54
|
+
</li>
|
55
|
+
{% endif %}
|
56
|
+
</ul>
|
57
|
+
{% endif %}
|
58
|
+
{% endcomment %}
|
59
|
+
|
60
|
+
|
61
|
+
{% if paginator.page_trail %}
|
62
|
+
<ul class="pager" style="margin-top: 60px;">
|
63
|
+
{% if paginator.previous_page %}
|
64
|
+
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">
|
65
|
+
<li class="previous">«</li>
|
66
|
+
</a>
|
67
|
+
{% endif %}
|
68
|
+
|
69
|
+
{% for trail in paginator.page_trail %}
|
70
|
+
<a href="{{ trail.path | prepend: site.baseurl }}" title="{{trail.title}}">
|
71
|
+
<li {% if page.url == trail.path %}class="pager-active"{% endif %}>{{ trail.num | replace: " ", "" }}</li>
|
72
|
+
</a>
|
73
|
+
{% endfor %}
|
74
|
+
|
75
|
+
{% if paginator.next_page %}
|
76
|
+
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">
|
77
|
+
<li class="next">»</li>
|
78
|
+
</a>
|
79
|
+
{% endif %}
|
80
|
+
</ul>
|
81
|
+
{% endif %}
|
82
|
+
|
83
|
+
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
|
84
84
|
</div>
|
data/_layouts/post.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
data/_sass/minima.scss
CHANGED
@@ -1,57 +1,57 @@
|
|
1
|
-
@charset "utf-8";
|
2
|
-
|
3
|
-
// Define defaults for each variable.
|
4
|
-
|
5
|
-
$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
6
|
-
$base-font-size: 16px !default;
|
7
|
-
$base-font-weight: 400 !default;
|
8
|
-
$small-font-size: $base-font-size * 0.875 !default;
|
9
|
-
$base-line-height: 1.5 !default;
|
10
|
-
|
11
|
-
$spacing-unit: 30px !default;
|
12
|
-
|
13
|
-
$text-color: #111 !default;
|
14
|
-
$background-color: #fdfdfd !default;
|
15
|
-
$brand-color: #2a7ae2 !default;
|
16
|
-
|
17
|
-
$grey-color: #5c5c5c !default;
|
18
|
-
$grey-color-light: lighten($grey-color, 40%) !default;
|
19
|
-
$grey-color-dark: darken($grey-color, 25%) !default;
|
20
|
-
|
21
|
-
$table-text-align: left !default;
|
22
|
-
|
23
|
-
// Width of the content area
|
24
|
-
$content-width: 1080px !default;
|
25
|
-
|
26
|
-
$on-palm: 640px !default;
|
27
|
-
$on-laptop: 1080px !default;
|
28
|
-
|
29
|
-
// height of the banner
|
30
|
-
$banner-height: 100px;
|
31
|
-
$footer-height: 50px;
|
32
|
-
|
33
|
-
// Use media queries like this:
|
34
|
-
// @include media-query($on-palm) {
|
35
|
-
// .wrapper {
|
36
|
-
// padding-right: $spacing-unit / 2;
|
37
|
-
// padding-left: $spacing-unit / 2;
|
38
|
-
// }
|
39
|
-
// }
|
40
|
-
@mixin media-query($device) {
|
41
|
-
@media screen and (max-width: $device) {
|
42
|
-
@content;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
@mixin relative-font-size($ratio) {
|
47
|
-
font-size: $base-font-size * $ratio;
|
48
|
-
}
|
49
|
-
|
50
|
-
// Import partials.
|
51
|
-
@import
|
52
|
-
"minima/base",
|
53
|
-
"minima/layout",
|
54
|
-
"minima/frozen",
|
55
|
-
"minima/syntax-highlighting",
|
56
|
-
"minima/lcsb"
|
57
|
-
;
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
// Define defaults for each variable.
|
4
|
+
|
5
|
+
$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
6
|
+
$base-font-size: 16px !default;
|
7
|
+
$base-font-weight: 400 !default;
|
8
|
+
$small-font-size: $base-font-size * 0.875 !default;
|
9
|
+
$base-line-height: 1.5 !default;
|
10
|
+
|
11
|
+
$spacing-unit: 30px !default;
|
12
|
+
|
13
|
+
$text-color: #111 !default;
|
14
|
+
$background-color: #fdfdfd !default;
|
15
|
+
$brand-color: #2a7ae2 !default;
|
16
|
+
|
17
|
+
$grey-color: #5c5c5c !default;
|
18
|
+
$grey-color-light: lighten($grey-color, 40%) !default;
|
19
|
+
$grey-color-dark: darken($grey-color, 25%) !default;
|
20
|
+
|
21
|
+
$table-text-align: left !default;
|
22
|
+
|
23
|
+
// Width of the content area
|
24
|
+
$content-width: 1080px !default;
|
25
|
+
|
26
|
+
$on-palm: 640px !default;
|
27
|
+
$on-laptop: 1080px !default;
|
28
|
+
|
29
|
+
// height of the banner
|
30
|
+
$banner-height: 100px;
|
31
|
+
$footer-height: 50px;
|
32
|
+
|
33
|
+
// Use media queries like this:
|
34
|
+
// @include media-query($on-palm) {
|
35
|
+
// .wrapper {
|
36
|
+
// padding-right: $spacing-unit / 2;
|
37
|
+
// padding-left: $spacing-unit / 2;
|
38
|
+
// }
|
39
|
+
// }
|
40
|
+
@mixin media-query($device) {
|
41
|
+
@media screen and (max-width: $device) {
|
42
|
+
@content;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
@mixin relative-font-size($ratio) {
|
47
|
+
font-size: $base-font-size * $ratio;
|
48
|
+
}
|
49
|
+
|
50
|
+
// Import partials.
|
51
|
+
@import
|
52
|
+
"minima/base",
|
53
|
+
"minima/layout",
|
54
|
+
"minima/frozen",
|
55
|
+
"minima/syntax-highlighting",
|
56
|
+
"minima/lcsb"
|
57
|
+
;
|