arco 0.3.2 → 0.4.4

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: 19a6bad6d5748ed8450e9e5a67e2388b8ab16772d4113d205be2ff0362e87b02
4
- data.tar.gz: 51b3424d79acaab9f13b6781bc597c326e12d60d1e880a8d5530c1178dfd5819
3
+ metadata.gz: 005677b6e82a07acddb77c599807118330bd828ba162c4bc4c113a31ff985e09
4
+ data.tar.gz: 614b354a81b60ae41c9615f58a7b577f82dd720d2f464e61c48e341a6a541cef
5
5
  SHA512:
6
- metadata.gz: 7d2e97ed7ca7c520a0605a702d2519320320273b29ccfbafa6e3467b491a54ac3572f5395b23d32cc0c9b1ca245a2f5dab52918ad31fda0ec6451e9d87569133
7
- data.tar.gz: 202abafe3a29f602f40f8ec23b38c6f427f02def7ba7a05ee100c4aa6d3f240bf0cf11dac31856e6baac25bad7823378fb3169d5cea7ec792f612e8708946e0e
6
+ metadata.gz: 244dc7792f5b6a5cc3c1a58a9202863b44dae7dd1abd1cdf65e69fcde3aaa765c2c9f1b031ca1c3cc74b09fba8b95ac82e1b45854865485b2a4403d1a485bf55
7
+ data.tar.gz: 4f2b2d30302c761723ee7fa759b4f636489895ede649f4b086b2c57536332e27571653354265c7c5247b62cc2e1540701423945c6f0cf739a4ef2fdec6deb05a
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # arco
2
2
 
3
- Arco is a responsive fixed-sidebar layout with a two column masonry grid which also features a landing page, a 404 page and a simple permalink structure.
3
+ Arco is a responsive fixed-sidebar layout with a two column masonry grid which also features a landing page, a 404 page, smooth page transitions and a simple permalink structure.
4
+
5
+ This theme also utilises [jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag) and [jekyll-sitemap](https://github.com/jekyll/jekyll-sitemap) to ensure your work will be seen.
6
+
7
+ See this theme in use at [meebuhs.github.io](https://meebuhs.github.io) and check the [source code](https://github.com/meebuhs/meebuhs.github.io) to get yourself started.
4
8
 
5
9
  ## Installation
6
10
 
@@ -54,24 +58,30 @@ By default it features a landing page, if you would like to bypass the landing p
54
58
  The following settings can be configured in your site's `_config.yml`
55
59
 
56
60
  ```yaml
57
- title: Site title
58
- description: Site description
59
- image: /assets/image.png
61
+ title: site-title
62
+ tagline: site-tagline
63
+ description: site-description
64
+ image: /assets/images/image.png
65
+ url: https://github.com/meebuhs/arco
60
66
  github_url: https://github.com/meebuhs
61
67
  resume: true | false
68
+ author: Alex Sharpe
69
+ lang: en-AU
62
70
  ```
63
71
 
72
+ There are additional parameters which can be set for use with `jekyll-seo-tag`. [See here for a complete list](https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md)
73
+
64
74
  ### Expected post frontmatter
65
75
 
66
76
  ```
67
77
  ---
68
78
  layout: post
69
79
  title: Post title
70
- summary: Post summary
80
+ description: Post description
71
81
  category: completed | ongoing
72
82
  permalink: /projects/post-title
73
83
  cover-image: /assets/image-for-front-page.png
74
- top-image: /assets/image-for-top-of-post.png
84
+ image: /assets/image-for-top-of-post.png
75
85
  mathjax: true | false
76
86
  ---
77
87
  ```
@@ -1,7 +1,16 @@
1
- title: sitetitle
2
- description: sitedescription
1
+ # Site settings
2
+ title: site-title
3
+ tagline: site-tagline
4
+ description: site-description
3
5
  image: /assets/images/image.png
6
+ url: https://github.com/meebuhs/arco
4
7
  github_url: https://github.com/meebuhs
5
8
  resume: true
9
+ author: Alex Sharpe
10
+ lang: en-AU
11
+
12
+ # Build settings
6
13
  theme: arco
7
- highlighter: rouge
14
+ plugins:
15
+ - jekyll-seo-tag
16
+ - jekyll-sitemap
@@ -1,4 +1,4 @@
1
- <section id="cover" class="cover">
1
+ <section class="cover">
2
2
  <div class="cover-text">
3
3
  {% if site.image %}<img class="site-image" src="{{ site.image }}" />{% endif %}
4
4
  <h1>{{ site.title }}</a></h1>
@@ -2,6 +2,7 @@
2
2
  <html lang="en-AU">
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
+ <link rel="shortcut icon" type="image/png" href="/favicon.png">
5
6
  <link rel="stylesheet" href="/assets/css/main.css">
6
7
  </head>
7
8
  <body>
@@ -2,9 +2,11 @@
2
2
  <html lang="en-AU">
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
+ <link rel="shortcut icon" type="image/png" href="/favicon.png">
5
6
  <link rel="stylesheet" href="/assets/css/main.css">
6
7
  <link rel="stylesheet" href="/assets/flexmasonry/flexmasonry.css">
7
8
  <script src="/assets/flexmasonry/flexmasonry.js"></script>
9
+ {% seo %}
8
10
  </head>
9
11
  <body>
10
12
  {% include sidebar.html %}
@@ -2,7 +2,9 @@
2
2
  <html lang="en-AU">
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
+ <link rel="shortcut icon" type="image/png" href="/favicon.png">
5
6
  <link rel="stylesheet" href="/assets/css/main.css">
7
+ {% seo %}
6
8
  </head>
7
9
  <body>
8
10
  {% include cover.html %}
@@ -2,18 +2,21 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% include mathjax.html %}
5
+ {% if page.mathjax %}
6
+ {% include mathjax.html %}
7
+ {% endif %}
6
8
 
7
9
  <section class="content">
8
10
  <svg id="content-fader"></svg>
9
11
  <div class="post">
10
12
  <div class="post-title"><h1>{{ page.title }}</h1></div>
13
+ <div class="post-description">{{ page.description }}</div>
11
14
  <div class="post-header">
12
15
  <span class="post-date">{{ page.date | date_to_string}}</span>
13
16
  &middot;
14
17
  <a href="{{ "/projects/" }}{{ page.category }}" class="fade-onclick"><span class="post-category">{{ page.category }}</span></a>
15
18
  </div>
16
- <img class="post-image" src="{{ page.top-image }}" />
19
+ <img class="post-image" src="{{ page.image }}" />
17
20
 
18
21
  <div class="post-content">
19
22
  {{ content }}
@@ -19,13 +19,6 @@
19
19
  }
20
20
  }
21
21
 
22
- #open-button {
23
- display: flex;
24
- flex-direction: column;
25
- justify-content: center;
26
- text-align: center;
27
- }
28
-
29
22
  .open-button-container {
30
23
  width: 100%;
31
24
  margin-top: 20px;
@@ -43,28 +36,7 @@
43
36
  background: $sidebar-colour;
44
37
  color: $text-colour-light;
45
38
  transition: all .25s ease;
39
+ flex-direction: column;
40
+ text-align: center;
41
+ justify-content: center;
46
42
  }
47
-
48
- /* vertical layout */
49
- @media only screen and (max-width: calc(2 * #{$sidebar-width - 1})), (orientation: portrait) {
50
- #cover {
51
- flex-direction: row;
52
- justify-content: space-evenly;
53
- align-items: center;
54
- text-align: center;
55
- }
56
-
57
- .cover-text {
58
- display: flex;
59
- flex-direction: column;
60
- }
61
- }
62
-
63
- /* horizontal layout */
64
- @media only screen and (min-width: calc(2 * #{$sidebar-width})) and (orientation: landscape) {
65
- #cover {
66
- flex-direction: column;
67
- text-align: center;
68
- justify-content: center;
69
- }
70
- }
@@ -3,10 +3,14 @@
3
3
  width: 100%;
4
4
  }
5
5
 
6
- .post-title h1{
6
+ .post-title h1 {
7
7
  margin-bottom: 0;
8
8
  }
9
9
 
10
+ .post-description {
11
+ margin-bottom: 0.5em;
12
+ }
13
+
10
14
  .post-date {
11
15
  color: $secondary-highlight;
12
16
  font-weight: bold;
@@ -34,4 +38,5 @@
34
38
  max-height: 600px;
35
39
  display: block;
36
40
  margin: 0 auto;
41
+ border-radius: 5px;
37
42
  }
@@ -32,8 +32,7 @@
32
32
  transition: all .35s ease;
33
33
  }
34
34
 
35
- /* vertical layout */
36
- @media only screen and (max-width: calc(2 * #{$sidebar-width - 1})), (orientation: portrait) {
35
+ @media only screen and (orientation: portrait) {
37
36
  #sidebar {
38
37
  flex-direction: row;
39
38
  justify-content: space-evenly;
@@ -94,8 +93,7 @@
94
93
  }
95
94
  }
96
95
 
97
- /* horizontal layout */
98
- @media only screen and (min-width: calc(2 * #{$sidebar-width})) and (orientation: landscape) {
96
+ @media only screen and (orientation: landscape) {
99
97
  #sidebar {
100
98
  flex-direction: column;
101
99
  text-align: center;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arco
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - meebuhs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-29 00:00:00.000000000 Z
11
+ date: 2020-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll