miniscule 0.1.5 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0f38f5c59a0d6595e5923a2744314c301235d64e
4
- data.tar.gz: 95d7f727f44093c1b0a0ff4565362955b742c960
2
+ SHA256:
3
+ metadata.gz: 6c08d7988933d54daff52eff97b237669d2c70834c52607569043ff22a6b29dd
4
+ data.tar.gz: b7db4b77baaa9ce6382bc1d86d65bd058c23b2e844bc3f40dbdf2653b1418914
5
5
  SHA512:
6
- metadata.gz: 56a48647c16a91f9ba9c10a8cd23a3097fbb290db5e3b5879a667c830c862cb24617f8c8f189ec9877ce0c39a6ecdedfc34d13bd66c4336ebda43321a591c8a7
7
- data.tar.gz: fe76d6ceb89cc8b1dd1d8c009207358190b3ca062fb2d875224ac04fc6644263675c984c2dcf060c386ec3f177d504fc4c90424cefa1605bf3f80ce68894e7f0
6
+ metadata.gz: a6567abcc2bb104ec3ea5d49547a9f8b2cd60208d7037303647fb2b1b92488d646be98b2322a238ac3fe530a5db37ef8f301f13da820a5c0759f631d6a32beaa
7
+ data.tar.gz: be3929272ca8dd069f8d4e6ad5d12120fcf3daae5737c67b813e9be236ca99437141f3afdadbd9d9049e93cd9361454fa1a121bdf9f422247b3917854064b42b
data/README.md CHANGED
@@ -100,6 +100,29 @@ fork_me_url: https://example.com
100
100
  show_fork_me: true
101
101
  ```
102
102
 
103
+ ## Build and publish
104
+
105
+ Normal build:
106
+
107
+ ```
108
+ bundle install
109
+ bundle exec jekyll build
110
+ bundle exec jekyll serve
111
+ ```
112
+
113
+ Should show sample blog.
114
+
115
+ ### Releasing gem:
116
+
117
+ Bump version in miniscule.gemspec
118
+
119
+ ```
120
+ gem build miniscule.gemspec
121
+ gem push miniscule-XXX.gemspec
122
+ ```
123
+
124
+ Note that the rubygems creds are required
125
+
103
126
  ## License
104
127
 
105
128
  The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -2,37 +2,14 @@
2
2
  <data class="u-url" href="{{ "/" | relative_url }}"></data>
3
3
 
4
4
  <div class="wrapper">
5
-
6
-
7
- <div class="footer-col-wrapper">
8
- <div class="footer-col footer-col-1">
9
- <ul class="contact-list">
10
- <li class="p-name">
11
- {%- if site.author and site.show_author -%}
12
- <-- {{ site.author | escape }} -->
13
- {%- else -%}
14
- <!-- {{ site.title | escape }} -->
15
- {%- endif -%}
16
- </li>
17
- {%- if site.email -%}
18
- <li><h2 class="footer-heading">{{ site.title | escape }}</li>
19
- <li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
20
- {%- endif -%}
21
- <li><p class="feed-subscribe" style="padding-top: 1em"><svg class="svg-icon orange"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg><a href="{{ "/feed.xml" | relative_url }}">Subscribe</a></p></li>
22
- </ul>
23
- </div>
24
-
25
- <div class="footer-col footer-col-2">
26
- {%- include social.html -%}
27
- </div>
28
-
29
- <div class="footer-col footer-col-3">
30
- <p>{{- site.description | escape -}}</p>
31
- <p>
32
- {%- if site.show_fork_me && site.fork_me_url -%}
33
- <a href={{ site.fork_me_url }}>Like this website? Make your own!</a>
34
- {%- endif -%}
35
- </p>
5
+ <div class="footer-col-wrapper no-print">
6
+ <div style="display: flex; flex-direction: row; justify-content: space-between; flex-wrap: wrap;">
7
+ <div style="max-width: 20em; margin-right: 5px; padding: 5px;">
8
+ {{- site.description | escape -}}
9
+ </div>
10
+ <div style="padding: 5px;">
11
+ {%- include social.html -%}
12
+ </div>
36
13
  </div>
37
14
  </div>
38
15
  </div>
@@ -1,2 +1,2 @@
1
1
  <!-- http://tholman.com/github-corners/ -->
2
- <a href="{{ site.fork_me_url }}" class="github-corner" aria-label="View source on GitHub"><svg width="40" height="40" viewBox="0 0 250 250" style="fill:#fff; color:#151513; position: absolute; top: 0; border: 0; left: 0; transform: scale(-1, 1);" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
2
+ <a href="{{ site.fork_me_url }}" class="github-corner no-print" aria-label="View source on GitHub"><svg width="40" height="40" viewBox="0 0 250 250" style="fill:#fff; color:#151513; position: absolute; top: 0; border: 0; left: 0; transform: scale(-1, 1);" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
@@ -5,6 +5,7 @@
5
5
  {%- seo -%}
6
6
  <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
7
7
  {%- feed_meta -%}
8
+ {%- include open-graph-tags.html -%}
8
9
  {%- if jekyll.environment == 'production' and site.google_analytics -%}
9
10
  {%- include google-analytics.html -%}
10
11
  {%- endif -%}
@@ -15,6 +16,8 @@
15
16
  <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
16
17
  <link rel="manifest" href="/site.webmanifest">
17
18
  <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
19
+ <!-- https://fonts.google.com/ -->
20
+ <link href="https://fonts.googleapis.com/css?family=Merriweather|Nunito&display=swap" rel="stylesheet">
18
21
  <meta name="msapplication-TileColor" content="#da532c">
19
22
  <meta name="theme-color" content="#ffffff">
20
23
  </head>
@@ -1,41 +1,43 @@
1
- <header class="site-header">
1
+ <header class="site-header no-print">
2
2
  {%- if site.show_fork_me && site.fork_me_url -%}
3
3
  {%- include fork-me.html -%}
4
4
  {%- endif -%}
5
5
 
6
6
  <div class="cover-image">
7
- </div>
8
- <div class="wrapper">
9
- {%- assign default_paths = site.pages | map: "path" -%}
10
- {%- assign page_paths = site.header_pages | default: default_paths -%}
11
- {%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
12
- <a class="site-title" rel="author" href="{{ "/" | relative_url }}">
13
- <img src="{{ site.logo | default: "assets/default-profile.jpg" | relative_url }}" class="site-logo">
14
- </a>
15
- <a class="site-title" rel="author" href="{{ "/" | relative_url }}" style="margin-top: 9px;">
16
- {{ site.title | escape }}
17
- </a>
7
+ <div class="wrapper">
8
+ <a class="site-title" rel="author" href="{{ "/" | relative_url }}">
9
+ <img src="{{ site.logo | default: "assets/default-profile.jpg" | relative_url }}" class="site-logo">
10
+ </a>
11
+ <a class="site-title" rel="author" href="{{ "/" | relative_url }}" style="margin-top: 9px;">
12
+ {{ site.title | escape }}
13
+ </a>
14
+
15
+ {%- assign default_paths = site.pages | map: "path" -%}
16
+ {%- assign page_paths = site.header_pages | default: default_paths -%}
17
+ {%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
18
18
 
19
- {%- if titles_size > 0 -%}
20
- <nav class="site-nav">
21
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
22
- <label for="nav-trigger">
23
- <span class="menu-icon">
24
- <svg viewBox="0 0 18 15" width="18px" height="15px">
25
- <path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
26
- </svg>
27
- </span>
28
- </label>
19
+ {%- if titles_size > 0 -%}
20
+ <nav class="site-nav no-print">
21
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
22
+ <label for="nav-trigger">
23
+ <span class="menu-icon">
24
+ <svg viewBox="0 0 18 15" width="18px" height="15px">
25
+ <path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
26
+ </svg>
27
+ </span>
28
+ </label>
29
29
 
30
- <div class="trigger">
31
- {%- for path in page_paths -%}
32
- {%- assign my_page = site.pages | where: "path", path | first -%}
33
- {%- if my_page.title -%}
34
- <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
35
- {%- endif -%}
36
- {%- endfor -%}
37
- </div>
38
- </nav>
39
- {%- endif -%}
30
+ <div class="trigger no-print">
31
+ {%- for path in page_paths -%}
32
+ {%- assign my_page = site.pages | where: "path", path | first -%}
33
+ {%- if my_page.title -%}
34
+ <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
35
+ {%- endif -%}
36
+ {%- endfor -%}
37
+ </div>
38
+ </nav>
39
+ {%- endif -%}
40
+ </div>
40
41
  </div>
42
+
41
43
  </header>
@@ -0,0 +1,2 @@
1
+ <!-- https://ogp.me/ -->
2
+ <meta property="og:image" content="{{ site.logo | default: "assets/default-profile.jpg" | relative_url }}" />
@@ -0,0 +1,6 @@
1
+ <div class="share-linkedin">
2
+ Share to LinkedIn:
3
+ <script src="https://platform.linkedin.com/in.js" type="text/javascript">lang: en_US</script>
4
+ <script type="IN/Share" data-url="{{ page.url | absolute_url }}"></script>
5
+ </div>
6
+
@@ -1,17 +1,17 @@
1
- <ul class="social-media-list">
2
- {%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{%- endif -%}
3
- {%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg> <span class="username">{{ site.facebook_username| escape }}</span></a></li>{%- endif -%}
4
- {%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{%- endif -%}
5
- {%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{%- endif -%}
6
- {%- if site.instagram_username -%}<li><a href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{%- endif -%}
7
- {%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username">{{ site.linkedin_username| escape }}</span></a></li>{%- endif -%}
8
- {%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{%- endif -%}
9
- {%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a rel="me" href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username">{{ mst.username|escape }}</span></a></li>{%- endif -%}{%- endfor -%}
10
- {%- if site.twitter_username -%}<li><a href="https://twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg> <span class="username">{{ site.twitter_username| escape }}</span></a></li>{%- endif -%}
11
- {%- if site.youtube_username -%}<li><a href="https://www.youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{%- endif -%}
1
+ <ul class="social-media-list" style="margin-left: 0; margin-bottom: 0;">
2
+ {%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
3
+ {%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
4
+ {%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
5
+ {%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
6
+ {%- if site.instagram_username -%}<li><a href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
7
+ {%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
8
+ {%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
9
+ {%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a rel="me" href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}{%- endfor -%}
10
+ {%- if site.twitter_username -%}<li><a href="https://twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
11
+ {%- if site.youtube_username -%}<li><a href="https://www.youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
12
12
  {%- if site.youtube_channel -%}<li><a href="https://www.youtube.com/channel/{{ site.youtube_channel| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg><span class="username">{%- if site.youtube_channel_name -%}{{ site.youtube_channel_name | escape }}{%- else -%}YouTube{%- endif -%}</span></a></li>{%- endif -%}
13
13
  {%- if site.telegram_username -%}<li><a href="https://t.me/{{ site.telegram_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#telegram' | relative_url }}"></use></svg> <span class="username">{{ site.telegram_username| escape }}</span></a></li>{%- endif -%}
14
14
  {%- if site.microdotblog_username -%}<li><a href="https://micro.blog/{{ site.microdotblog_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#microdotblog' | relative_url }}"></use></svg> <span class="username">{{ site.microdotblog_username| escape }}</span></a></li>{%- endif -%}
15
15
  {%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{%- endif -%}
16
- {%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{%- endif -%}
16
+ <li><a href="{{ "/feed.xml" | relative_url }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg></a></li>
17
17
  </ul>
@@ -14,7 +14,6 @@
14
14
  </main>
15
15
 
16
16
  {%- include footer.html -%}
17
-
18
17
  </body>
19
18
 
20
19
  </html>
@@ -10,23 +10,29 @@ layout: default
10
10
  {{ content }}
11
11
 
12
12
  {%- if site.posts.size > 0 -%}
13
- <h2>Blog posts</h2>
14
- <ul class="post-list">
13
+ <div style="display: flex; flex-direction: row; justify-content: flex-start; flex-wrap: wrap;" class="post-list">
15
14
  {%- for post in site.posts -%}
16
- <li>
17
- {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
18
- <strong>
19
- <a class="post-link" href="{{ post.url | relative_url }}">
20
- {{ post.title | escape }}
21
- </a>
22
- </strong>
23
- <span class="post-meta">{{ post.date | date: date_format }}</span>
24
- {%- if site.show_excerpts -%}
25
- {{ post.excerpt }}
26
- {%- endif -%}
27
- </li>
15
+ <a href="{{ post.url | relative_url }}">
16
+ <div style="border: #f0f0f0 solid 1px; margin: 5px; max-width: 150px; min-height: 220px; border-radius: 3px;">
17
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
18
+ {%- if post.image -%}
19
+ <div style="padding:0;margin:0; text-align: center;">
20
+ <img src="{{ post.image | relative_url }}" style="border-radius: 3px; max-width: 150px; margin: auto;" />
21
+ </div>
22
+ {%- endif -%}
23
+ <div style="padding: 7px">
24
+ <h3>
25
+ {{ post.title | escape }}
26
+ </h3>
27
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
28
+ {%- if site.show_excerpts -%}
29
+ {{ post.excerpt }}
30
+ {%- endif -%}
31
+ </div>
32
+ </div>
33
+ </a>
28
34
  {%- endfor -%}
29
- </ul>
35
+ </div>
30
36
 
31
37
  {%- endif -%}
32
38
 
@@ -4,7 +4,7 @@ layout: default
4
4
  <article class="post">
5
5
 
6
6
  <header class="post-header">
7
- <h1 class="post-title">{{ page.title | escape }}</h1>
7
+ <h1 class="post-title">{{ page.display_title | default: page.title | escape }}</h1>
8
8
  </header>
9
9
 
10
10
  <div class="post-content">
@@ -16,9 +16,17 @@ layout: default
16
16
  </header>
17
17
 
18
18
  <div class="post-content e-content" itemprop="articleBody">
19
+ {%- if page.image -%}
20
+ <div style="text-align: center; padding: 0; margin: 0;">
21
+ <img src="{{ page.image | relative_url }}" />
22
+ </div>
23
+ {%- endif -%}
24
+
19
25
  {{ content }}
20
26
  </div>
21
27
 
28
+ {%- include share-linkedin.html -%}
29
+
22
30
  {%- if site.disqus.shortname -%}
23
31
  {%- include disqus_comments.html -%}
24
32
  {%- endif -%}
@@ -2,7 +2,7 @@
2
2
 
3
3
  // Define defaults for each variable.
4
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;
5
+ $base-font-family: 'Merriweather', serif;
6
6
  $base-font-size: 16px !default;
7
7
  $base-font-weight: 400 !default;
8
8
  $small-font-size: $base-font-size * 0.875 !default;
@@ -249,7 +249,7 @@ table {
249
249
  }
250
250
  }
251
251
  th, td {
252
- padding: ($spacing-unit / 3) ($spacing-unit / 2);
252
+ padding: ($spacing-unit / 4) ($spacing-unit / 3);
253
253
  }
254
254
  th {
255
255
  background-color: lighten($grey-color-light, 3%);
@@ -25,8 +25,8 @@
25
25
 
26
26
  .site-nav {
27
27
  position: absolute;
28
- top: 9px;
29
- right: $spacing-unit / 2;
28
+ top: 17px;
29
+ right: 15px;
30
30
  background-color: $background-color;
31
31
  border: 1px solid $grey-color-light;
32
32
  border-radius: 5px;
@@ -70,7 +70,7 @@
70
70
  }
71
71
 
72
72
  .page-link {
73
- color: $text-color;
73
+ color: black;
74
74
  line-height: $base-line-height;
75
75
  display: block;
76
76
  padding: 5px 10px;
@@ -106,6 +106,7 @@
106
106
 
107
107
  .page-link {
108
108
  display: inline;
109
+ color: white;
109
110
  padding: 0;
110
111
 
111
112
  &:not(:last-child) {
@@ -134,13 +135,15 @@
134
135
  .contact-list,
135
136
  .social-media-list {
136
137
  list-style: none;
137
- margin-left: 0;
138
+ }
139
+
140
+ .social-media-list li {
141
+ display: inline;
138
142
  }
139
143
 
140
144
  .footer-col-wrapper {
141
145
  @include relative-font-size(0.9375);
142
146
  color: $grey-color;
143
- margin-left: -$spacing-unit / 2;
144
147
  @extend %clearfix;
145
148
  }
146
149
 
@@ -160,6 +163,7 @@
160
163
  .footer-col-3 {
161
164
  width: -webkit-calc(100% - (#{$spacing-unit} / 2));
162
165
  width: calc(100% - (#{$spacing-unit} / 2));
166
+ text-align: right;
163
167
  }
164
168
 
165
169
  @media screen and (min-width: $on-large) {
@@ -219,7 +223,7 @@
219
223
 
220
224
  .post-link {
221
225
  display: block;
222
- @include relative-font-size(1.5);
226
+ @include relative-font-size(1.2);
223
227
  }
224
228
 
225
229
 
@@ -5,30 +5,63 @@
5
5
  @import "minima";
6
6
 
7
7
  .cover-image {
8
- background-image: url("{{ site.cover_image | default: "assets/default-background.jpg" | relative_url }}");
9
- height: 200px;
8
+ // background-image: url("{{ site.cover_image | default: "assets/default-background.jpg" | relative_url }}");
9
+ background-color: #142375;
10
10
  background-size: cover;
11
11
  background-position: center left;
12
12
  background-repeat: no-repeat;
13
+ padding: 10px 0;
14
+ border-bottom: 1px solid #e8e8e8;
13
15
  }
14
16
 
15
17
  .site-logo {
16
- width: 100px;
17
- height: 100px;
18
+ width: 50px;
19
+ height: 50px;
18
20
  vertical-align: middle;
19
21
  border-radius: 50%;
20
- position: relative;
21
- top: -50px;
22
- border: solid white 3px;
22
+ border: solid white 2px;
23
23
  }
24
24
 
25
- .site-header .wrapper {
26
- margin-bottom: -40px;
25
+ .site-title,
26
+ .site-title:active,
27
+ .site-title:visited {
28
+ font-family: 'Nunito', sans-serif;
29
+ font-weight: bold;
30
+ color: white;
31
+ margin-left: 0.5em;
27
32
  }
28
33
 
29
- .site-title, h2 {
30
- font-family: "Avenir Next W01", "Avenir Next", "Avenir", helvetica, arial, sans-serif;
31
- font-weight: bold;
34
+ h1, h2 {
35
+ font-family: 'Nunito', sans-serif;
36
+ font-weight: bold;
37
+ }
38
+
39
+ .trigger {
40
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
41
+ }
42
+
43
+ @media print
44
+ {
45
+ .no-print, .no-print *
46
+ {
47
+ display: none !important;
48
+ }
49
+ .cover-image {
50
+ height: 50px;
51
+ }
52
+ }
53
+
54
+ /* hidden on-screen */
55
+ .print-only {
56
+ display: none;
57
+ }
58
+
59
+ @media print {
60
+
61
+ /* visible when printed */
62
+ .print-only {
63
+ display: block;
64
+ }
32
65
  }
33
66
 
34
67
  .post-list li {
@@ -37,3 +70,42 @@
37
70
  margin: 5px;
38
71
  border: 1px solid #eee;
39
72
  }
73
+
74
+ /* https://stackoverflow.com/questions/19331362/using-an-image-caption-in-markdown-jekyll */
75
+ img + em {
76
+ display: block;
77
+ text-align: center;
78
+ margin-top: 4px;
79
+ font-size: small;
80
+ font-style: italic;
81
+ font-weight: 400;
82
+ }
83
+
84
+ article.post img {
85
+ display: block;
86
+ margin: 20px auto;
87
+ }
88
+
89
+ .badge {
90
+ display: inline-block;
91
+ padding: .25em .4em;
92
+ font-size: 75%;
93
+ /* font-weight: 700; */
94
+ line-height: 1;
95
+ text-align: center;
96
+ white-space: nowrap;
97
+ vertical-align: baseline;
98
+ border-radius: .25rem;
99
+
100
+ color: #fff;
101
+ background-color: #6c757d;
102
+ }
103
+
104
+ .share-linkedin {
105
+ vertical-align: middle;
106
+ text-align: right;
107
+ border: beige;
108
+ font-size: small;
109
+ font-weight: normal;
110
+ font-style: italic;
111
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miniscule
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ronen Agranat
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-26 00:00:00.000000000 Z
11
+ date: 2020-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -56,16 +56,30 @@ dependencies:
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '1.15'
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: kramdown-parser-gfm
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
67
81
  - !ruby/object:Gem::Version
68
- version: '1.15'
82
+ version: '0'
69
83
  description:
70
84
  email:
71
85
  - ronen.agranat@gmail.com
@@ -85,6 +99,8 @@ files:
85
99
  - _includes/icon-github.svg
86
100
  - _includes/icon-twitter.html
87
101
  - _includes/icon-twitter.svg
102
+ - _includes/open-graph-tags.html
103
+ - _includes/share-linkedin.html
88
104
  - _includes/social.html
89
105
  - _layouts/default.html
90
106
  - _layouts/home.html
@@ -119,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
135
  version: '0'
120
136
  requirements: []
121
137
  rubyforge_project:
122
- rubygems_version: 2.6.11
138
+ rubygems_version: 2.7.6
123
139
  signing_key:
124
140
  specification_version: 4
125
141
  summary: A slightly more beautiful, slightly less minimal theme for Jekyll.