flutterby 0.0.22 → 0.0.23

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
  SHA1:
3
- metadata.gz: 228421ceea60b8f82d3269e16d6fc5512c80203c
4
- data.tar.gz: '055628b999ec4a2205f54e4ed04e2aad2d1f742a'
3
+ metadata.gz: b3d131209a422cee9fdc9c3502dd70abf541c130
4
+ data.tar.gz: b5de566cf999dc12ff3c440303f2c561e5d32722
5
5
  SHA512:
6
- metadata.gz: e1d7364fbdfbc303eecfa84cc3d538e442868a8d40068927802214dc498e0f468aa33a39e9270402c3d6ce317a875ae9b8b58578c8f6b744f5f2fc2054733840
7
- data.tar.gz: f98eaf3a429f0abdfe5542e4ef43a5df537e4d1c108150c5a6ac23cfc15a3a4f9e813d86277820a7743510954081da1c91def20b2a18ebfb5123268d8e39a504
6
+ metadata.gz: 8a2b91f72d124a3c606b30563bbb6a71668c9c811538c12f0ea211313d402383571134a3d4df5fb918899b9c05040801ce29a07edc0f6e17d01737bf02844967
7
+ data.tar.gz: 84b780f43df91af52e97be2e1f8d80bdb08ed115552397ff5351a7bbb80c7e32a219daeba40d5d5cecda674a1c31c558cd30e0b4a50c1e75d2b60166fd11983b
@@ -1,3 +1,3 @@
1
1
  module Flutterby
2
- VERSION = "0.0.22"
2
+ VERSION = "0.0.23"
3
3
  end
@@ -0,0 +1,10 @@
1
+ # This is your site's configuration file.
2
+
3
+ [site]
4
+ title = "My Flutterby Site"
5
+ description = """
6
+ This is my new <a href="https://github.com/hmans/flutterby">Flutterby</a> Site. I should probably
7
+ change this description in my site's configuration file,
8
+ found at ./site/_config.toml. Or I can just leave it as is.
9
+ Isn't choice wonderful?
10
+ """
@@ -2,13 +2,17 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>My Site</title>
5
+ <title><%= config["site"]["title"] %></title>
6
6
  <link rel="stylesheet" href="/css/styles.css">
7
7
  <script src="/js/app.js"></script>
8
8
  </head>
9
9
  <body>
10
10
  <div class="container">
11
11
  <%= yield %>
12
+
13
+ <footer role="main">
14
+ <%= config["site"]["description"] %>
15
+ </footer>
12
16
  </div>
13
17
  </body>
14
18
  </html>
@@ -0,0 +1,3 @@
1
+ def config
2
+ find("/_config").data
3
+ end
@@ -10,12 +10,23 @@ div.container {
10
10
  padding: 30px;
11
11
  }
12
12
 
13
+ footer[role="main"] {
14
+ margin-top: 80px;
15
+ border-top: 3px solid lightgrey;
16
+ padding-top: 20px;
17
+ font-size: 82.5%;
18
+ color: grey;
19
+ a { color: inherit }
20
+ }
21
+
13
22
  h1 {
14
23
  font-family: "Arial Black";
24
+ color: #666;
25
+ border-bottom: 10px solid #ddd;
15
26
  }
16
27
 
17
28
  a {
18
- color: blue;
29
+ color: rgb(74, 109, 242);
19
30
  }
20
31
 
21
32
  .post-meta {
@@ -1,4 +1,4 @@
1
- <h1>Hi!</h1>
1
+ <h1><%= config["site"]["title"] %></h1>
2
2
 
3
3
  <p>This is my new website!</p>
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flutterby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hendrik Mans
@@ -293,7 +293,9 @@ files:
293
293
  - lib/flutterby/view.rb
294
294
  - lib/templates/new_project/.gitignore
295
295
  - lib/templates/new_project/Gemfile
296
+ - lib/templates/new_project/site/_config.toml
296
297
  - lib/templates/new_project/site/_layout.erb
298
+ - lib/templates/new_project/site/_view.rb
297
299
  - lib/templates/new_project/site/blog/2017-01-01-hello-world.html.md
298
300
  - lib/templates/new_project/site/blog/_layout.slim
299
301
  - lib/templates/new_project/site/blog/_list.html.slim