beautiful-jekyll-theme 2.2.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13abeddaf7631ad4c6dd69586d347daa2efea67223809756ff4a72875e2af73e
4
- data.tar.gz: 857382212af724f0ea8fd4f24fa3d122f37cddacd0284a537cec558fe1f35ec8
3
+ metadata.gz: 16d6e98a7d9ba9dac7b0d13b98bde18eed1cdfa4ddb1d471c79443e562757f7b
4
+ data.tar.gz: f3fc30b9193b7244a370242d565974c9af79ff527b1f70731a2571c795a76c53
5
5
  SHA512:
6
- metadata.gz: 7eaac63fe4233d66e59494114dc9ff1489ee97acb49a5b6cf218fe0551e388d1c7c1da30679ebe89e8ba045b7067377edafc9ac3d626bad89f7c47392ca9f051
7
- data.tar.gz: ff74408ddacd8eed700f44a68865cfecc98f8e9fec71c5e8fb21b212b3fcd58ea337f7b7aad0ba26d927eb1a2c0b78b48b5663b069f5cfdbe0166ccae79f5088
6
+ metadata.gz: 9220bbdd313a57fa061f553764db42e80286e01dc7870cf9f1cba83a248212c5ed58ae14902dea2c90371cdb246dfdc4facc05aa3fd11293a8cfc6319d96aa3e
7
+ data.tar.gz: 9a761b938b7388edc553039cb72f2a6bf1f81ca9abf55ccb6be9c90de1789b31033de30f00584bb5a236fb4c2046c0c113f27cab6b2dc1fbed948eb06a40a7c0
data/README.md CHANGED
@@ -128,6 +128,8 @@ image | If you want to add a personalized image to your blog post that wil
128
128
  readtime | If you want to show how many minutes it will take to read a post in the header, add `readtime: true`.
129
129
  share-img | If you want to specify an image to use when sharing the page on Facebook or Twitter, then provide the image's full URL here.
130
130
  social-share | If you don't want to show buttons to share a blog post on social media, use `social-share: false` (this feature is turned on by default).
131
+ footer-extra | If you want to include extra information in the footer, create an HTML file in the `_includes/` folder (for example `_includes/myinfo.html`) and set `footer-extra` to the name of the file (for example `footer-extra: myinfo.html`)
132
+ nav-short | By default, the navigation bar gets shorter after scrolling down the page. If you want the navigation bar to always be short on a certain page, use `nav-short: true`
131
133
  use-site-title | If you want to use the site title rather than page title as HTML document title (ie. browser tab title), use `use-site-title: true`. When set, the document title will take the format `Site Title - Site Description` (eg. `My website - A virtual proof that name is awesome!`). By default, it will use `Page Title` if it exists, or `Site Title` otherwise.
132
134
  language | HTML language code to be set on <html> element (see [W3Schools website](https://www.w3schools.com/tags/ref_language_codes.asp) for more info on this topic). Language can also be set site-wide in `_config.yml`.
133
135
  layout | What type of page this is (default is `post` for blog posts and `page` for other pages). See _Page types_ section below for more information.
@@ -3,6 +3,11 @@
3
3
  <div class="row">
4
4
  <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
5
5
  {% include social-networks-links.html %}
6
+ {% if page.footer-extra %}
7
+ <div class="footer-custom-content">
8
+ {% include {{ page.footer-extra }} %}
9
+ </div>
10
+ {% endif %}
6
11
  <p class="copyright text-muted">
7
12
  {% if site.author %}
8
13
  {{ site.author }}
data/_includes/nav.html CHANGED
@@ -1,4 +1,4 @@
1
- <nav class="navbar navbar-default navbar-fixed-top navbar-custom">
1
+ <nav class="navbar navbar-default navbar-fixed-top navbar-custom {% if page.nav-short %}top-nav-short-permanent{% endif %}">
2
2
  <div class="container-fluid">
3
3
  <div class="navbar-header">
4
4
  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
@@ -1,6 +1,6 @@
1
1
  <ul class="list-inline text-center footer-links">
2
2
 
3
- {%- if site.social-network-links.facebook -%}
3
+ {%- if site.social-network-links.rss -%}
4
4
  <li>
5
5
  <a href="{{ '/feed.xml' | relative_url }}" title="RSS">
6
6
  <span class="fa-stack fa-lg" aria-hidden="true">
@@ -12,6 +12,30 @@
12
12
  </li>
13
13
  {%- endif -%}
14
14
 
15
+ {%- if site.social-network-links.email -%}
16
+ <li>
17
+ <a href="mailto:{{ site.social-network-links.email }}" title="Email me">
18
+ <span class="fa-stack fa-lg" aria-hidden="true">
19
+ <i class="fas fa-circle fa-stack-2x"></i>
20
+ <i class="fas fa-envelope fa-stack-1x fa-inverse"></i>
21
+ </span>
22
+ <span class="sr-only">Email me</span>
23
+ </a>
24
+ </li>
25
+ {%- endif -%}
26
+
27
+ {%- if site.social-network-links.calendly -%}
28
+ <li>
29
+ <a href="https://calendly.com/{{ site.social-network-links.calendly }}" title="Schedule a meeting with me">
30
+ <span class="fa-stack fa-lg" aria-hidden="true">
31
+ <i class="fas fa-circle fa-stack-2x"></i>
32
+ <i class="fas fa-calendar-check fa-stack-1x fa-inverse"></i>
33
+ </span>
34
+ <span class="sr-only">Schedule a meeting with me</span>
35
+ </a>
36
+ </li>
37
+ {%- endif -%}
38
+
15
39
  {%- if site.social-network-links.facebook -%}
16
40
  <li>
17
41
  <a href="https://www.facebook.com/{{ site.social-network-links.facebook }}" title="Facebook">
@@ -72,18 +96,6 @@
72
96
  </li>
73
97
  {%- endif -%}
74
98
 
75
- {%- if site.social-network-links.email -%}
76
- <li>
77
- <a href="mailto:{{ site.social-network-links.email }}" title="Email me">
78
- <span class="fa-stack fa-lg" aria-hidden="true">
79
- <i class="fas fa-circle fa-stack-2x"></i>
80
- <i class="fas fa-envelope fa-stack-1x fa-inverse"></i>
81
- </span>
82
- <span class="sr-only">Email me</span>
83
- </a>
84
- </li>
85
- {%- endif -%}
86
-
87
99
  {%- if site.social-network-links.linkedin -%}
88
100
  <li>
89
101
  <a href="https://linkedin.com/in/{{ site.social-network-links.linkedin }}" title="LinkedIn">
data/assets/css/main.css CHANGED
@@ -47,6 +47,14 @@ hr.small {
47
47
  border-radius: 3px;
48
48
  }
49
49
 
50
+ /* fix in-page anchors to not be behind fixed header */
51
+ :target:before {
52
+ content: "";
53
+ display: block;
54
+ height: 50px; /* navbar height */
55
+ margin: -50px 0 0;
56
+ }
57
+
50
58
  .main-content {
51
59
  padding-top: 80px;
52
60
  }
@@ -161,6 +169,7 @@ img {
161
169
  transition: background .5s ease-in-out,padding .5s ease-in-out;
162
170
  }
163
171
 
172
+ .navbar-custom.top-nav-short-permanent,
164
173
  .navbar-custom.top-nav-short {
165
174
  padding: 0;
166
175
  }
@@ -289,16 +298,23 @@ footer a {
289
298
  footer .list-inline {
290
299
  margin: 0;
291
300
  padding: 0;
301
+ margin-bottom: 30px;
292
302
  }
293
303
  footer .copyright {
294
304
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
295
305
  text-align: center;
296
306
  margin-bottom: 0;
307
+ margin-top: 0;
297
308
  }
298
309
  footer .theme-by {
299
310
  text-align: center;
300
311
  margin: 10px 0 0;
301
312
  }
313
+ footer .footer-custom-content {
314
+ text-align: center;
315
+ margin-bottom: 15px;
316
+ font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
317
+ }
302
318
 
303
319
  @media only screen and (min-width: 768px) {
304
320
  footer {
@@ -310,6 +326,9 @@ footer .theme-by {
310
326
  footer .copyright {
311
327
  font-size: 16px;
312
328
  }
329
+ footer .footer-custom-content {
330
+ font-size: 16px;
331
+ }
313
332
  }
314
333
 
315
334
  /* --- Post preview --- */
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beautiful-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dean Attali
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-27 00:00:00.000000000 Z
11
+ date: 2020-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll