runeblog 0.1.94 → 0.1.95
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/default.rb +0 -3
- data/lib/runeblog.rb +2 -3
- data/lib/runeblog_version.rb +1 -1
- data/runeblog.gemspec +1 -1
- data/themes/standard/README +31 -31
- data/themes/standard/blog/head.lt3 +1 -3
- data/themes/standard/etc/blog.css.lt3 +47 -0
- data/themes/standard/post/generate.lt3 +4 -2
- data/themes/standard/post/permalink.lt3 +26 -0
- metadata +5 -7
- data/themes/standard/liveblog.out +0 -27
- data/themes/standard/meta.lt3 +0 -3
- data/themes/standard/tryme.lt3 +0 -47
- data/themes/standard/vars +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c34d3256b5ce72fd7a4186b283291940b673e03ca276ce0425baf4d25760f564
|
4
|
+
data.tar.gz: 9e375ccfa30089a4fa04f774c822a36dbf68b5e966cd208c6354b3e4a0fd8b9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b50e6e90f95618fdcdfb5a717a9f845a00717f85204dc65dd76b60e4d98e2e05d3fb86517dca4c28f2cbcf8729e803deaf9c3c7309b4e0d4085ea823ec732311
|
7
|
+
data.tar.gz: 3b99520e51344079fcafd06b50ae0d6e5ffaf25d756dd9c8341f9ed367ad0b24692c27ffada0f2af874308e5de9a68d04fd9ec6b868a6d72f118d6f9b2a4b1b6
|
data/lib/default.rb
CHANGED
data/lib/runeblog.rb
CHANGED
@@ -177,7 +177,7 @@ class RuneBlog
|
|
177
177
|
x = RuneBlog::Default
|
178
178
|
copy!("#{Themes}", "themes")
|
179
179
|
create_dirs(:assets, :posts)
|
180
|
-
create_dirs(:staging,
|
180
|
+
create_dirs(:staging, "remote/permalink")
|
181
181
|
copy!("themes/standard/*", "staging/")
|
182
182
|
copy!("themes/standard/etc", "remote/")
|
183
183
|
copy!("themes/standard/assets", "remote/")
|
@@ -392,12 +392,10 @@ class RuneBlog
|
|
392
392
|
lt3 = draft.split("/")[-1]
|
393
393
|
# Remember: Some posts may be in more than one view -- careful with links back
|
394
394
|
# system("livetext #{draft} >staging/#{name}/index.html") # permalink?
|
395
|
-
# Structure is borked?
|
396
395
|
copy!("#{@theme}/*", "#{staging}")
|
397
396
|
copy(lt3, staging)
|
398
397
|
html = noext[5..-1]
|
399
398
|
livetext draft, html
|
400
|
-
STDERR.puts "pwd = #{Dir.pwd}"
|
401
399
|
copy(draft, "../../staging/post/index.html")
|
402
400
|
title_line = File.readlines(draft).grep(/^.title /).first
|
403
401
|
title = title_line.split(" ", 2)[1]
|
@@ -408,6 +406,7 @@ STDERR.puts "pwd = #{Dir.pwd}"
|
|
408
406
|
File.open("vars.lt3", "w") {|f| f.puts vars }
|
409
407
|
livetext "post/generate.lt3", html
|
410
408
|
copy html, "../remote"
|
409
|
+
livetext "post/permalink.lt3", "../remote/permalink/#{html}"
|
411
410
|
collect_recent_posts("recent.html")
|
412
411
|
copy("recent.html", "../remote")
|
413
412
|
livetext "blog/generate", "../remote/index"
|
data/lib/runeblog_version.rb
CHANGED
data/runeblog.gemspec
CHANGED
@@ -20,7 +20,7 @@ spec = Gem::Specification.new do |s|
|
|
20
20
|
s.authors = ["Hal Fulton"]
|
21
21
|
s.email = 'rubyhacker@gmail.com'
|
22
22
|
s.executables << "blog"
|
23
|
-
s.add_runtime_dependency 'livetext', '~> 0.8', '>= 0.8.
|
23
|
+
s.add_runtime_dependency 'livetext', '~> 0.8', '>= 0.8.91'
|
24
24
|
s.add_runtime_dependency 'rubytext', '~> 0.1', '>= 0.1.16'
|
25
25
|
|
26
26
|
# Files...
|
data/themes/standard/README
CHANGED
@@ -1,37 +1,37 @@
|
|
1
|
-
New
|
1
|
+
New structure:
|
2
2
|
|
3
|
-
|
4
|
-
├── README
|
5
|
-
├── assets
|
6
|
-
├── banner
|
7
|
-
├── blog
|
8
|
-
│ ├── generate.lt3
|
9
|
-
│ ├── head.lt3
|
10
|
-
│ ├── index.lt3
|
11
|
-
│ └── post_entry.lt3
|
12
|
-
├── etc
|
13
|
-
│ ├── blog.css
|
14
|
-
│ ├── externals.lt3
|
15
|
-
│ └── favicon.ico
|
16
|
-
├── global.lt3
|
17
|
-
├──
|
18
|
-
├──
|
19
|
-
|
20
|
-
├──
|
21
|
-
|
22
|
-
│
|
23
|
-
├──
|
24
|
-
├──
|
25
|
-
│
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
├── news.lt3
|
32
|
-
└── tag-cloud.lt3
|
3
|
+
themes/standard The first "default theme" - more later
|
4
|
+
├── README This file
|
5
|
+
├── assets Assets (images/videos/etc) for entire view
|
6
|
+
├── banner Top banner for the view
|
7
|
+
├── blog All files/info for view
|
8
|
+
│ ├── generate.lt3 Generate index.html from wrapper (rarely edited)
|
9
|
+
│ ├── head.lt3 Header info for index.html
|
10
|
+
│ ├── index.lt3 "Guts" of view (user-edited, wrapped by generate.lt3)
|
11
|
+
│ └── post_entry.lt3
|
12
|
+
├── etc
|
13
|
+
│ ├── blog.css
|
14
|
+
│ ├── externals.lt3
|
15
|
+
│ └── favicon.ico
|
16
|
+
├── global.lt3
|
17
|
+
├── navbar
|
18
|
+
│ ├── about.html
|
19
|
+
│ └── navbar.lt3
|
20
|
+
├── pages
|
21
|
+
├── post
|
22
|
+
│ ├── generate.lt3
|
23
|
+
│ ├── head.lt3
|
24
|
+
│ ├── index.lt3
|
25
|
+
│ └── permalink.lt3
|
26
|
+
└── sidebar
|
27
|
+
├── ad.lt3
|
28
|
+
├── calendar.lt3
|
29
|
+
├── news.lt3
|
30
|
+
└── tag-cloud.lt3
|
33
31
|
|
34
32
|
|
33
|
+
Old structure:
|
34
|
+
|
35
35
|
templates The first "default theme" - more later
|
36
36
|
├── README This file
|
37
37
|
├── about.html An "about" file (will move)
|
@@ -0,0 +1,47 @@
|
|
1
|
+
.nopara
|
2
|
+
|
3
|
+
.variables
|
4
|
+
post_title_color #010101
|
5
|
+
post_title_size 28px
|
6
|
+
|
7
|
+
post_text_color #0101a1
|
8
|
+
post_text_size 22px
|
9
|
+
|
10
|
+
post_date_color #9a9a9a
|
11
|
+
post_date_size 15px
|
12
|
+
.end
|
13
|
+
|
14
|
+
|
15
|
+
\.post-title a {
|
16
|
+
color: $post_title_color;
|
17
|
+
font-size: $post_title_size;
|
18
|
+
float: right;
|
19
|
+
display: inline-block;
|
20
|
+
text-align: top;
|
21
|
+
text-decoration: none;
|
22
|
+
}
|
23
|
+
|
24
|
+
\.post-title a:hover {
|
25
|
+
text-decoration: none;
|
26
|
+
}
|
27
|
+
|
28
|
+
\.post-title-text a {
|
29
|
+
color: $post_text_color;
|
30
|
+
font-size: $post_text_size;
|
31
|
+
# float: right;
|
32
|
+
display: block;
|
33
|
+
text-decoration: none;
|
34
|
+
}
|
35
|
+
|
36
|
+
\.post-title-text a:hover {
|
37
|
+
text-decoration: none;
|
38
|
+
}
|
39
|
+
|
40
|
+
\.post-date {
|
41
|
+
color: $post_date_color;
|
42
|
+
font-size: $post_date_size;
|
43
|
+
display: block;
|
44
|
+
float: left;
|
45
|
+
text-align: top;
|
46
|
+
}
|
47
|
+
|
@@ -6,10 +6,9 @@
|
|
6
6
|
<!-- Editing this file is not recommended. -->
|
7
7
|
<!-- It was generated from $File on $$date. -->
|
8
8
|
|
9
|
-
.include meta.lt3
|
10
9
|
.include global.lt3
|
11
|
-
|
12
10
|
.include vars.lt3
|
11
|
+
|
13
12
|
.head
|
14
13
|
og:title $title
|
15
14
|
description $teaser
|
@@ -20,5 +19,8 @@ description $teaser
|
|
20
19
|
$.include post/index.html
|
21
20
|
</div>
|
22
21
|
</section>
|
22
|
+
|
23
|
+
<br>
|
24
|
+
<a href="javascript:history.go(-1)">[Back]</a>
|
23
25
|
</body>
|
24
26
|
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
.mixin liveblog
|
2
|
+
|
3
|
+
. FIXME?
|
4
|
+
|
5
|
+
<html>
|
6
|
+
<!-- Editing this file is not recommended. -->
|
7
|
+
<!-- It was generated from $File on $$date. -->
|
8
|
+
|
9
|
+
.include global.lt3
|
10
|
+
.include vars.lt3
|
11
|
+
|
12
|
+
.head
|
13
|
+
og:title $title
|
14
|
+
description $teaser
|
15
|
+
.end
|
16
|
+
|
17
|
+
<section class="post">
|
18
|
+
<div class="entry-content">
|
19
|
+
$.include post/index.html
|
20
|
+
</div>
|
21
|
+
</section>
|
22
|
+
|
23
|
+
<br>
|
24
|
+
<a href="../index.html">[Home: $blog]</a>
|
25
|
+
</body>
|
26
|
+
</html>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runeblog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.95
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hal Fulton
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '0.8'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.8.
|
22
|
+
version: 0.8.91
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '0.8'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.8.
|
32
|
+
version: 0.8.91
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rubytext
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -83,22 +83,20 @@ files:
|
|
83
83
|
- themes/standard/blog/index.lt3
|
84
84
|
- themes/standard/blog/post_entry.lt3
|
85
85
|
- themes/standard/etc/blog.css
|
86
|
+
- themes/standard/etc/blog.css.lt3
|
86
87
|
- themes/standard/etc/externals.lt3
|
87
88
|
- themes/standard/etc/favicon.ico
|
88
89
|
- themes/standard/global.lt3
|
89
|
-
- themes/standard/liveblog.out
|
90
|
-
- themes/standard/meta.lt3
|
91
90
|
- themes/standard/navbar/about.html
|
92
91
|
- themes/standard/navbar/navbar.lt3
|
93
92
|
- themes/standard/post/generate.lt3
|
94
93
|
- themes/standard/post/head.lt3
|
95
94
|
- themes/standard/post/index.lt3
|
95
|
+
- themes/standard/post/permalink.lt3
|
96
96
|
- themes/standard/sidebar/ad.lt3
|
97
97
|
- themes/standard/sidebar/calendar.lt3
|
98
98
|
- themes/standard/sidebar/news.lt3
|
99
99
|
- themes/standard/sidebar/tag-cloud.lt3
|
100
|
-
- themes/standard/tryme.lt3
|
101
|
-
- themes/standard/vars
|
102
100
|
homepage: https://github.com/Hal9000/runeblog
|
103
101
|
licenses:
|
104
102
|
- Ruby
|
@@ -1,27 +0,0 @@
|
|
1
|
-
In /Users/Hal/Dropbox/files/runeblog/themes/standard
|
2
|
-
- about to process global.lt3
|
3
|
-
...finished
|
4
|
-
In /Users/Hal/Dropbox/files/runeblog/themes/standard
|
5
|
-
- about to process blog/head.lt3
|
6
|
-
In /Users/Hal/Dropbox/files/runeblog/themes/standard
|
7
|
-
- about to process meta.lt3
|
8
|
-
...finished
|
9
|
-
In /Users/Hal/Dropbox/files/runeblog/themes/standard
|
10
|
-
- about to process navbar.lt3
|
11
|
-
...finished
|
12
|
-
In /Users/Hal/Dropbox/files/runeblog/themes/standard
|
13
|
-
- about to process blog-index.lt3
|
14
|
-
In /Users/Hal/Dropbox/files/runeblog/themes/standard
|
15
|
-
- about to process sidebar/ad.lt3
|
16
|
-
...finished
|
17
|
-
In /Users/Hal/Dropbox/files/runeblog/themes/standard
|
18
|
-
- about to process sidebar/news.lt3
|
19
|
-
...finished
|
20
|
-
In /Users/Hal/Dropbox/files/runeblog/themes/standard
|
21
|
-
- about to process sidebar/calendar.lt3
|
22
|
-
...finished
|
23
|
-
In /Users/Hal/Dropbox/files/runeblog/themes/standard
|
24
|
-
- about to process sidebar/tag-cloud.lt3
|
25
|
-
...finished
|
26
|
-
...finished
|
27
|
-
...finished
|
data/themes/standard/meta.lt3
DELETED
data/themes/standard/tryme.lt3
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
# include variables before this file?
|
2
|
-
|
3
|
-
.set postcolor=#010101
|
4
|
-
|
5
|
-
.raw
|
6
|
-
.post-title a {
|
7
|
-
.end
|
8
|
-
color: $postcolor;
|
9
|
-
font-size: 28px;
|
10
|
-
float: right;
|
11
|
-
display: inline-block;
|
12
|
-
text-align: top;
|
13
|
-
text-decoration: none;
|
14
|
-
}
|
15
|
-
|
16
|
-
.raw
|
17
|
-
.post-title a:hover {
|
18
|
-
.end
|
19
|
-
text-decoration: none;
|
20
|
-
}
|
21
|
-
|
22
|
-
.raw
|
23
|
-
.post-title-text a {
|
24
|
-
.end
|
25
|
-
color: #0101a1;
|
26
|
-
font-size: 22px;
|
27
|
-
# float: right;
|
28
|
-
display: block;
|
29
|
-
text-decoration: none;
|
30
|
-
}
|
31
|
-
|
32
|
-
.raw
|
33
|
-
.post-title-text a:hover {
|
34
|
-
.end
|
35
|
-
text-decoration: none;
|
36
|
-
}
|
37
|
-
|
38
|
-
.raw
|
39
|
-
.post-date {
|
40
|
-
.end
|
41
|
-
color: #9a9a9a;
|
42
|
-
font-size: 15px;
|
43
|
-
display: block;
|
44
|
-
float: left;
|
45
|
-
text-align: top;
|
46
|
-
}
|
47
|
-
|
data/themes/standard/vars
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
|
2
|
-
charset: utf-8
|
3
|
-
blog: My Blog (and Welcome To It)
|
4
|
-
blog_desc: All the stuff you never needed to know
|
5
|
-
site: rubyhacker.com
|
6
|
-
url: localhost:4000//
|
7
|
-
locale: en_US
|
8
|
-
|
9
|
-
<meta charset="utf-8">
|
10
|
-
** <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
11
|
-
** <meta name="viewport" content="width=device-width,initial-scale=1">
|
12
|
-
|
13
|
-
<p>
|
14
|
-
<title>
|
15
|
-
My Blog (and Welcome To It) | All the stuff you never needed to know
|
16
|
-
</title>
|
17
|
-
<meta name="generator" content="Runeblog v 0.1.93">
|
18
|
-
<meta property="og:title" content="My Blog (and Welcome To It)">
|
19
|
-
<meta property="og:locale" content="en_US">
|
20
|
-
<meta name="description" content="All the stuff you never needed to know">
|
21
|
-
<meta property="og:description" content="All the stuff you never needed to know">
|
22
|
-
<link rel="canonical" href="localhost:4000//">
|
23
|
-
<meta property="og:url" content="localhost:4000//">
|
24
|
-
<meta property="og:site_name" content="My Blog (and Welcome To It)">
|
25
|
-
<link rel="stylesheet" href="etc/blog.css">
|
26
|
-
<link type="application/atom+xml" rel="alternate" href="localhost:4000///feed.xml" title="My Blog (and Welcome To It)">
|
27
|
-
<link rel="shortcut icon" type="image/x-icon" href="../etc/favicon.ico">
|
28
|
-
<link rel="apple-touch-icon" href="../etc/favicon.ico">
|
29
|
-
<body>
|