arco 0.4.4 → 0.5.0

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
2
  SHA256:
3
- metadata.gz: 005677b6e82a07acddb77c599807118330bd828ba162c4bc4c113a31ff985e09
4
- data.tar.gz: 614b354a81b60ae41c9615f58a7b577f82dd720d2f464e61c48e341a6a541cef
3
+ metadata.gz: 4bf0684bfe3cbb64808bdb1510ae705f1a09f0127829bed124b86b2da7c17b77
4
+ data.tar.gz: 3f080301fc5926c6646bc1ddc3a7584b91103d02f57d2b2df146527cdfe60729
5
5
  SHA512:
6
- metadata.gz: 244dc7792f5b6a5cc3c1a58a9202863b44dae7dd1abd1cdf65e69fcde3aaa765c2c9f1b031ca1c3cc74b09fba8b95ac82e1b45854865485b2a4403d1a485bf55
7
- data.tar.gz: 4f2b2d30302c761723ee7fa759b4f636489895ede649f4b086b2c57536332e27571653354265c7c5247b62cc2e1540701423945c6f0cf739a4ef2fdec6deb05a
6
+ metadata.gz: 83b1d07dc317b935e82b75bc556ff9358f9b8b09142c040850a5f69e43d749f7914c7398f42cc126d8d6151f408d7715241729743a222b2fa9b47b6d4e8c6df5
7
+ data.tar.gz: 9f474532ebcb6223393c9886b16073115538411ea73047b07bcfd3a9fd975af8a2379ad198b2c382e3bd380f1ee2f4369d7196137a4cbbfeb9e5d79322f34da6
data/README.md CHANGED
@@ -80,12 +80,17 @@ title: Post title
80
80
  description: Post description
81
81
  category: completed | ongoing
82
82
  permalink: /projects/post-title
83
+ source-url: https://project.source/link/
83
84
  cover-image: /assets/image-for-front-page.png
84
85
  image: /assets/image-for-top-of-post.png
85
86
  mathjax: true | false
86
87
  ---
87
88
  ```
88
89
 
90
+ ### Favicon
91
+
92
+ Simply add your favicon `favicon.png` to the root of your site.
93
+
89
94
  ### Markdown features
90
95
 
91
96
  [Check here](https://meebuhs.github.io/projects/arco) for examples of the supported markdown features.
@@ -2,7 +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
+ <link rel="shortcut icon" type="image/png" href="favicon.png?">
6
6
  <link rel="stylesheet" href="/assets/css/main.css">
7
7
  </head>
8
8
  <body>
@@ -2,7 +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
+ <link rel="shortcut icon" type="image/png" href="favicon.png?">
6
6
  <link rel="stylesheet" href="/assets/css/main.css">
7
7
  <link rel="stylesheet" href="/assets/flexmasonry/flexmasonry.css">
8
8
  <script src="/assets/flexmasonry/flexmasonry.js"></script>
@@ -2,7 +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
+ <link rel="shortcut icon" type="image/png" href="favicon.png?">
6
6
  <link rel="stylesheet" href="/assets/css/main.css">
7
7
  {% seo %}
8
8
  </head>
@@ -21,6 +21,9 @@ layout: default
21
21
  <span class="list-post-date">{{ post.date | date_to_string}}</span>
22
22
  &middot;
23
23
  <a href="{{ "/projects/" }}{{ post.category }}" class="fade-onclick"><span class="list-post-category">{{ post.category }}</span></a>
24
+ <div class="list-post-tags">
25
+ {{ post.tags | join: ", "}}
26
+ </div>
24
27
  </div>
25
28
  </div>
26
29
  {% endfor %}
@@ -9,6 +9,13 @@ layout: default
9
9
  <section class="content">
10
10
  <svg id="content-fader"></svg>
11
11
  <div class="post">
12
+ <div class="post-buttons">
13
+ <a href="{{ site.url }}\projects\" class="button-light-secondary">Home</a>
14
+ {% if page.source-url %}
15
+ <a href="{{ page.source-url }}" class="button-light-tertiary">See the source</a>
16
+ {% endif %}
17
+ </div>
18
+
12
19
  <div class="post-title"><h1>{{ page.title }}</h1></div>
13
20
  <div class="post-description">{{ page.description }}</div>
14
21
  <div class="post-header">
@@ -21,6 +28,13 @@ layout: default
21
28
  <div class="post-content">
22
29
  {{ content }}
23
30
  </div>
31
+
32
+ <div class="post-buttons">
33
+ <a href="{{ site.url }}\projects\" class="button-light-secondary">Home</a>
34
+ {% if page.source-url %}
35
+ <a href="{{ page.source-url }}" class="button-light-tertiary">See the source </></a>
36
+ {% endif %}
37
+ </div>
24
38
  </div>
25
39
  {% include footer.html %}
26
40
  </section>
@@ -8,6 +8,7 @@
8
8
  border: 2px solid $background;
9
9
  background-color: $background;
10
10
  color: $highlight;
11
+ font-weight: bold;
11
12
  &:hover, &:focus {
12
13
  background-color: $highlight;
13
14
  color: $background;
@@ -63,4 +63,11 @@
63
63
  &:hover, &:focus {
64
64
  color: lighten($primary-highlight, 14%);
65
65
  }
66
+ }
67
+
68
+ .list-post-tags {
69
+ font-weight: bold;
70
+ font-size: 14px;
71
+ color: $tertiary-highlight;
72
+ margin-top: 0.4em;
66
73
  }
@@ -4,7 +4,7 @@
4
4
  }
5
5
 
6
6
  .post-title h1 {
7
- margin-bottom: 0;
7
+ margin: 1.5em 0 0 0;
8
8
  }
9
9
 
10
10
  .post-description {
@@ -33,6 +33,10 @@
33
33
  }
34
34
  }
35
35
 
36
+ .post-content {
37
+ margin-bottom: 2em;
38
+ }
39
+
36
40
  .post-content img {
37
41
  max-width: 90%;
38
42
  max-height: 600px;
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.4.4
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - meebuhs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-02 00:00:00.000000000 Z
11
+ date: 2020-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll