arco 0.6.3 → 0.6.5

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: ed3afabbd0f0d5eb50c6d5dc2eb291efc093a4bfff6b2bd9d24bb86e2104c8c5
4
- data.tar.gz: 25e40f782d66b71d7aec51e1c3a3d45ce67c919621fc8872b2219479ff172fb3
3
+ metadata.gz: 34c9177715720e4b51a74a81a2d1fbedb52be7a0c723803995646fffa3697529
4
+ data.tar.gz: 1aaff9ca6ce314be160c0c09b2fea63ad6682146ee6d4f92d084ca84bf9e1759
5
5
  SHA512:
6
- metadata.gz: 28544ffe6094e042a600389c647e628dbca4a92da8ac1ba1027dace5b4aa9b1c3e92e58c36346df07da315dc401b4a899d1c0fe3990a39c79e846f0c3953029b
7
- data.tar.gz: f01d4e8da0622fddedd6e4d414744cee5936a2cd519f06827cc96991a8988c61d8d0064c655bdc0c2064ed1a0011a5a4a0dcf9097602535cd53680701877ec91
6
+ metadata.gz: 05bb49b4f18a1ceb6733d234c86bce8e078033e7648a4970fa2f6baf88a8dcb52ba9bc44e3a5def0b0c647997e41f5d501fd2723accd3086cb7c6bf0148bc607
7
+ data.tar.gz: ce9460e3995fdb845acab1980a2208cf29265bccbf100e0ff0d75033c4c7a070d523f3a2f9cab03d19b97d5b9561146b1bcda5057a7d236f5d8b4b5aefe608ea
data/README.md CHANGED
@@ -80,9 +80,12 @@ 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/
84
- cover-image: /assets/image-for-front-page.png
85
- image: /assets/image-for-top-of-post.png
83
+ urls:
84
+ source: https://project.source/link/
85
+ download: https://project.download/link/
86
+ images:
87
+ cover: /assets/image-for-front-page.png
88
+ top: /assets/image-for-top-of-post.png
86
89
  tags: [tags, which, relate, to, post]
87
90
  mathjax: true | false
88
91
  ---
@@ -10,7 +10,9 @@ layout: default
10
10
  <div class="list-post">
11
11
  <a href="{{ post.url }}" class="fade-onclick">
12
12
  <div class="list-post-link">
13
- <img class="list-post-image" src="{{ post.cover-image }}" />
13
+ {% if post.images.cover %}
14
+ <img class="list-post-image" src="{{ post.images.cover }}" />
15
+ {% endif %}
14
16
  <div class="list-post-info">
15
17
  <div class="list-post-title">{{ post.title }}</div>
16
18
  <div class="list-post-summary">{{ post.summary }}</div>
@@ -10,10 +10,14 @@ layout: default
10
10
  <svg id="content-fader"></svg>
11
11
  <div class="post">
12
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>
13
+ <a href="{{ site.url }}\projects\" class="button-light-primary">Home</a>
14
+ {% if page.urls.source %}
15
+ <a href="{{ page.urls.source }}" class="button-light-secondary">See the source</a>
16
16
  {% endif %}
17
+ {% if page.urls.download %}
18
+ <a href="{{ page.urls.download }}" class="button-light-tertiary">Download {{ page.title }}</a>
19
+ {% endif %}
20
+
17
21
  </div>
18
22
 
19
23
  <div class="post-title"><h1>{{ page.title }}</h1></div>
@@ -23,8 +27,8 @@ layout: default
23
27
  &middot;
24
28
  <a href="{{ "/projects/" }}{{ page.category }}" class="fade-onclick"><span class="post-category">{{ page.category }}</span></a>
25
29
  </div>
26
- <a href="{{ page.image }}">
27
- <img class="post-image" alt="{{ page.title }} | {{ page.description | truncate: 80 }}" src="{{ page.image }}" />
30
+ <a href="{{ page.images.top }}">
31
+ <img class="post-image" alt="{{ page.title }} | {{ page.description | truncate: 80 }}" src="{{ page.images.top }}" />
28
32
  </a>
29
33
 
30
34
  <div class="post-content">
@@ -32,9 +36,12 @@ layout: default
32
36
  </div>
33
37
 
34
38
  <div class="post-buttons">
35
- <a href="{{ site.url }}\projects\" class="button-light-secondary">Home</a>
36
- {% if page.source-url %}
37
- <a href="{{ page.source-url }}" class="button-light-tertiary">See the source </></a>
39
+ <a href="{{ site.url }}\projects\" class="button-light-primary">Home</a>
40
+ {% if page.urls.source %}
41
+ <a href="{{ page.urls.source }}" class="button-light-secondary">See the source</a>
42
+ {% endif %}
43
+ {% if page.urls.download %}
44
+ <a href="{{ page.urls.download }}" class="button-light-tertiary">Download {{ page.title }}</a>
38
45
  {% endif %}
39
46
  </div>
40
47
  </div>
@@ -19,7 +19,8 @@
19
19
 
20
20
  .post-image {
21
21
  display: block;
22
- width: 70%;
22
+ max-width: 70%;
23
+ max-height: 50vh;
23
24
  margin: 2em auto 0 auto;
24
25
  border-radius: 5px;
25
26
  }
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.6.3
4
+ version: 0.6.5
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-06 00:00:00.000000000 Z
11
+ date: 2020-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll