miniscule 0.2.0 → 0.2.1

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: d7f55f79428cd74c2aac4b4879e99316b7e1d0c5a8beeb49c719a00a41dce0bf
4
- data.tar.gz: 66832d78d993f1c849acc7ee6258267980566517f7afdece5880367b504b7f1b
3
+ metadata.gz: 3d31143680de3ab5e8fd3a2d82015f7ba6b14eb6d67cfbe3a02c90104a489d33
4
+ data.tar.gz: d025c5c795c8aaf390570e8f38ed8ae188b0dc4c973e611b964d1f83bbb7af7d
5
5
  SHA512:
6
- metadata.gz: 1d383b784a42901ce70802acfe167c8f2913b9c68e2c1a2e8f0df4346551f560bd7a68fe97bd4573e9ac2073beeb3b27fd341eaa7e8b7b97d5a02c0ab39b065c
7
- data.tar.gz: 6f7768b678fb40b085f4fa1eac11f6f1329e834dbcc78819bd1b821cb2128250d4320ef9b0c51251ef774a21d40eaff3e8307df999ca519cc98c15810cbd2087
6
+ metadata.gz: ed7ecf79d5c7fef9bb994ee0371ef8892c0b73e4b3e1dfe9dc677a2f7941c4685479310b8cf9a5403c5554a3f8c6794836eed010ea424e400957496b11d55b63
7
+ data.tar.gz: fa8ba3e13d282f7092245a4ce98cf8a9acadcbdfff91917a0677665d16e6391bcc0629066ee5a50b5a8e10dd23aca60d877e5d601d040271a5d7da2f4efe2da4
data/README.md CHANGED
@@ -100,6 +100,29 @@ fork_me_url: https://example.com
100
100
  show_fork_me: true
101
101
  ```
102
102
 
103
+ ## Build and publish
104
+
105
+ Normal build:
106
+
107
+ ```
108
+ bundle install
109
+ bundle exec jekyll build
110
+ bundle exec jekyll serve
111
+ ```
112
+
113
+ Should show sample blog.
114
+
115
+ ### Releasing gem:
116
+
117
+ Bump version in miniscule.gemspec
118
+
119
+ ```
120
+ gem build miniscule.gemspec
121
+ gem push miniscule-XXX.gemspec
122
+ ```
123
+
124
+ Note that the rubygems creds are required
125
+
103
126
  ## License
104
127
 
105
128
  The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -3,40 +3,14 @@
3
3
 
4
4
  <div class="wrapper">
5
5
  <div class="footer-col-wrapper no-print">
6
- <div class="footer-col footer-col-1">
7
- <ul class="contact-list">
8
- <li class="p-name">
9
- {%- if site.author and site.show_author -%}
10
- {{ site.author | escape }}
11
- {%- endif -%}
12
- </li>
13
- {%- if site.email -%}
14
- <li><h2 class="footer-heading">{{ site.title | escape }}</li>
15
- <li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
16
- {%- endif -%}
17
- <li><p class="feed-subscribe" style="padding-top: 1em"><svg class="svg-icon orange"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg><a href="{{ "/feed.xml" | relative_url }}">Subscribe</a></p></li>
18
- </ul>
19
- </div>
20
-
21
- <div class="footer-col footer-col-2">
22
- {%- include social.html -%}
23
- </div>
24
-
25
- <div class="footer-col footer-col-3">
26
- <p>{{- site.description | escape -}}</p>
27
- <p>
28
- {%- if site.show_fork_me && site.fork_me_url -%}
29
- <a href={{ site.fork_me_url }}>Like this website? Make your own!</a>
30
- {%- endif -%}
31
- </p>
6
+ <div style="display: flex; flex-direction: row; justify-content: space-between; flex-wrap: wrap;">
7
+ <div style="max-width: 20em; margin-right: 5px;">
8
+ {{- site.description | escape -}}
9
+ </div>
10
+ <div>
11
+ {%- include social.html -%}
12
+ </div>
32
13
  </div>
33
14
  </div>
34
- {%- if site.url -%}
35
- <div class="print-only" style="margin: auto; width: 100%; text-align: center">
36
- <small>
37
- <strong>{{ site.url | escape }}</strong></a>
38
- </small>
39
- </div>
40
- {%- endif -%}
41
15
  </div>
42
16
  </footer>
@@ -1,17 +1,17 @@
1
1
  <ul class="social-media-list">
2
- {%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{%- endif -%}
3
- {%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg> <span class="username">{{ site.facebook_username| escape }}</span></a></li>{%- endif -%}
4
- {%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{%- endif -%}
5
- {%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{%- endif -%}
6
- {%- if site.instagram_username -%}<li><a href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{%- endif -%}
7
- {%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username">{{ site.linkedin_username| escape }}</span></a></li>{%- endif -%}
8
- {%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{%- endif -%}
9
- {%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a rel="me" href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username">{{ mst.username|escape }}</span></a></li>{%- endif -%}{%- endfor -%}
10
- {%- if site.twitter_username -%}<li><a href="https://twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg> <span class="username">{{ site.twitter_username| escape }}</span></a></li>{%- endif -%}
11
- {%- if site.youtube_username -%}<li><a href="https://www.youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{%- endif -%}
2
+ {%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
3
+ {%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
4
+ {%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
5
+ {%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
6
+ {%- if site.instagram_username -%}<li><a href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
7
+ {%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
8
+ {%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
9
+ {%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a rel="me" href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}{%- endfor -%}
10
+ {%- if site.twitter_username -%}<li><a href="https://twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
11
+ {%- if site.youtube_username -%}<li><a href="https://www.youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username"></span></a></li>{%- endif -%}
12
12
  {%- if site.youtube_channel -%}<li><a href="https://www.youtube.com/channel/{{ site.youtube_channel| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg><span class="username">{%- if site.youtube_channel_name -%}{{ site.youtube_channel_name | escape }}{%- else -%}YouTube{%- endif -%}</span></a></li>{%- endif -%}
13
13
  {%- if site.telegram_username -%}<li><a href="https://t.me/{{ site.telegram_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#telegram' | relative_url }}"></use></svg> <span class="username">{{ site.telegram_username| escape }}</span></a></li>{%- endif -%}
14
14
  {%- if site.microdotblog_username -%}<li><a href="https://micro.blog/{{ site.microdotblog_username| cgi_escape | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#microdotblog' | relative_url }}"></use></svg> <span class="username">{{ site.microdotblog_username| escape }}</span></a></li>{%- endif -%}
15
15
  {%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{%- endif -%}
16
- {%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{%- endif -%}
16
+ <li><a href="{{ "/feed.xml" | relative_url }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg></a></li>
17
17
  </ul>
@@ -12,18 +12,25 @@ layout: default
12
12
  {%- if site.posts.size > 0 -%}
13
13
  <div style="display: flex; flex-direction: row; justify-content: flex-start; flex-wrap: wrap;" class="post-list">
14
14
  {%- for post in site.posts -%}
15
- <div style="border: #f0f0f0 solid 1px; padding: 7px; margin: 5px; max-width: 150px; min-height: 220px">
16
- {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
17
- <h3>
18
- <a class="post-link" href="{{ post.url | relative_url }}">
19
- {{ post.title | escape }}
20
- </a>
21
- </h3>
22
- <span class="post-meta">{{ post.date | date: date_format }}</span>
23
- {%- if site.show_excerpts -%}
24
- {{ post.excerpt }}
25
- {%- endif -%}
26
- </div>
15
+ <a href="{{ post.url | relative_url }}">
16
+ <div style="border: #f0f0f0 solid 1px; margin: 5px; max-width: 150px; min-height: 220px; border-radius: 3px;">
17
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
18
+ {%- if post.image -%}
19
+ <div style="padding:0;margin:0; text-align: center;">
20
+ <img src="{{ post.image | relative_url }}" style="border-radius: 3px; max-width: 150px; margin: auto;" />
21
+ </div>
22
+ {%- endif -%}
23
+ <div style="padding: 7px">
24
+ <h3>
25
+ {{ post.title | escape }}
26
+ </h3>
27
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
28
+ {%- if site.show_excerpts -%}
29
+ {{ post.excerpt }}
30
+ {%- endif -%}
31
+ </div>
32
+ </div>
33
+ </a>
27
34
  {%- endfor -%}
28
35
  </div>
29
36
 
@@ -16,6 +16,12 @@ layout: default
16
16
  </header>
17
17
 
18
18
  <div class="post-content e-content" itemprop="articleBody">
19
+ {%- if page.image -%}
20
+ <div style="text-align: center; padding: 0; margin: 0;">
21
+ <img src="{{ page.image | relative_url }}" />
22
+ </div>
23
+ {%- endif -%}
24
+
19
25
  {{ content }}
20
26
  </div>
21
27
 
@@ -138,6 +138,10 @@
138
138
  margin-left: 0;
139
139
  }
140
140
 
141
+ .social-media-list li {
142
+ display: inline;
143
+ }
144
+
141
145
  .footer-col-wrapper {
142
146
  @include relative-font-size(0.9375);
143
147
  color: $grey-color;
@@ -161,6 +165,7 @@
161
165
  .footer-col-3 {
162
166
  width: -webkit-calc(100% - (#{$spacing-unit} / 2));
163
167
  width: calc(100% - (#{$spacing-unit} / 2));
168
+ text-align: right;
164
169
  }
165
170
 
166
171
  @media screen and (min-width: $on-large) {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miniscule
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ronen Agranat
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-23 00:00:00.000000000 Z
11
+ date: 2020-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll