arco 0.3.1 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +43 -6
- data/_config.yml +12 -3
- data/_includes/cover.html +1 -1
- data/_layouts/default.html +1 -0
- data/_layouts/landing.html +1 -0
- data/_layouts/post.html +5 -2
- data/_sass/cover.scss +3 -31
- data/_sass/post.scss +6 -1
- data/_sass/sidebar.scss +4 -4
- data/_sass/syntax-highlighting.scss +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cf35d196050f4bd10853f6114f8c6721116967ffb6ee675a2af18f82759374f
|
4
|
+
data.tar.gz: 6c1dad515a172985ae475af3df05260633c784ca213e22cc965eefc583f4a756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e82d454f28a27de909cde6319a6af6b101d0c36917685a0ffe5ffc8da0244cdddaf18448fd8a998c26d437e5708f106dfc3755d3fa84023683a78a0b8cdcee9e
|
7
|
+
data.tar.gz: dfb34396c18c33ffb6f5ab54441e88b6ba8adb13c2da1e0fe20522f61f0ee1e085b87f7531cd3fed1c055cf0e7cab445e888c39157a2ba557838637c7c87c030
|
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
|
|
@@ -24,35 +28,68 @@ Or install it yourself as:
|
|
24
28
|
|
25
29
|
$ gem install arco
|
26
30
|
|
31
|
+
## Github Pages
|
32
|
+
|
33
|
+
In your `_config.yml` delete the `theme: ` line and add:
|
34
|
+
|
35
|
+
```yaml
|
36
|
+
remote_theme: meebuhs/arco
|
37
|
+
```
|
38
|
+
|
39
|
+
You also need to make the following changes in your `Gemfile`:
|
40
|
+
|
41
|
+
```Gemfile
|
42
|
+
# Comment the jekyll gem
|
43
|
+
# gem "jekyll", "~> 4.1.0"
|
44
|
+
# Uncomment github-pages
|
45
|
+
gem "github-pages", group: :jekyll_plugins
|
46
|
+
```
|
47
|
+
|
27
48
|
## Usage
|
28
49
|
|
50
|
+
### Setup
|
51
|
+
|
52
|
+
To get started you need to copy the `pages` folder from this repository to your site.
|
53
|
+
|
54
|
+
By default it features a landing page, if you would like to bypass the landing page, delete `index.html` and then rename `projects.html` to `index.html`.
|
55
|
+
|
29
56
|
### Site configuration
|
30
57
|
|
31
58
|
The following settings can be configured in your site's `_config.yml`
|
32
59
|
|
33
60
|
```yaml
|
34
|
-
title:
|
35
|
-
|
36
|
-
|
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
|
37
66
|
github_url: https://github.com/meebuhs
|
38
67
|
resume: true | false
|
68
|
+
author: Alex Sharpe
|
69
|
+
lang: en-AU
|
39
70
|
```
|
40
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
|
+
|
41
74
|
### Expected post frontmatter
|
42
75
|
|
43
76
|
```
|
44
77
|
---
|
45
78
|
layout: post
|
46
79
|
title: Post title
|
47
|
-
|
80
|
+
description: Post description
|
48
81
|
category: completed | ongoing
|
49
82
|
permalink: /projects/post-title
|
50
83
|
cover-image: /assets/image-for-front-page.png
|
51
|
-
|
84
|
+
image: /assets/image-for-top-of-post.png
|
52
85
|
mathjax: true | false
|
53
86
|
---
|
54
87
|
```
|
55
88
|
|
89
|
+
### Markdown features
|
90
|
+
|
91
|
+
[Check here](https://meebuhs.github.io/projects/arco) for examples of the supported markdown features.
|
92
|
+
|
56
93
|
### Resume support
|
57
94
|
|
58
95
|
To add a resume to the site, set `resume: true` in your `_config.yml`.
|
data/_config.yml
CHANGED
@@ -1,7 +1,16 @@
|
|
1
|
-
|
2
|
-
|
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
|
-
|
14
|
+
plugins:
|
15
|
+
- jekyll-seo-tag
|
16
|
+
- jekyll-sitemap
|
data/_includes/cover.html
CHANGED
data/_layouts/default.html
CHANGED
data/_layouts/landing.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -2,18 +2,21 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
{%
|
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
|
·
|
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.
|
19
|
+
<img class="post-image" src="{{ page.image }}" />
|
17
20
|
|
18
21
|
<div class="post-content">
|
19
22
|
{{ content }}
|
data/_sass/cover.scss
CHANGED
@@ -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
|
-
}
|
data/_sass/post.scss
CHANGED
@@ -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
|
}
|
data/_sass/sidebar.scss
CHANGED
@@ -32,8 +32,8 @@
|
|
32
32
|
transition: all .35s ease;
|
33
33
|
}
|
34
34
|
|
35
|
-
/*
|
36
|
-
@media only screen and (max-width:
|
35
|
+
/* portrait layout */
|
36
|
+
@media only screen and (max-width: 768px), (orientation: portrait) {
|
37
37
|
#sidebar {
|
38
38
|
flex-direction: row;
|
39
39
|
justify-content: space-evenly;
|
@@ -94,8 +94,8 @@
|
|
94
94
|
}
|
95
95
|
}
|
96
96
|
|
97
|
-
/*
|
98
|
-
@media only screen and (min-width:
|
97
|
+
/* landscape layout */
|
98
|
+
@media only screen and (min-width: 768px), (orientation: landscape) {
|
99
99
|
#sidebar {
|
100
100
|
flex-direction: column;
|
101
101
|
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
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- meebuhs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|