runeblog 0.2.60 → 0.2.65

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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.lt3 +48 -11
  3. data/README.md +50 -11
  4. data/bin/blog +4 -3
  5. data/bin/mkwidget +65 -110
  6. data/empty_view/remote/widgets/ad/GIT_IS_DUMB +2 -0
  7. data/empty_view/remote/widgets/links/GIT_IS_DUMB +2 -0
  8. data/empty_view/remote/widgets/news/GIT_IS_DUMB +2 -0
  9. data/empty_view/remote/widgets/pages/GIT_IS_DUMB +2 -0
  10. data/empty_view/remote/widgets/pinned/GIT_IS_DUMB +2 -0
  11. data/empty_view/themes/standard/blog/generate.lt3 +1 -1
  12. data/empty_view/themes/standard/widgets/pinned/pinned.rb +1 -4
  13. data/lib/liveblog.rb +38 -259
  14. data/lib/repl.rb +4 -0
  15. data/lib/runeblog.rb +6 -17
  16. data/lib/runeblog_version.rb +1 -1
  17. data/test/austin.rb +4 -5
  18. metadata +7 -49
  19. data/empty_view/themes/standard/widgets/bydates/bydates.lt3 +0 -2
  20. data/empty_view/themes/standard/widgets/bydates/local-vars.lt3 +0 -12
  21. data/empty_view/themes/standard/widgets/bydates/pieces/card-head.lt3 +0 -8
  22. data/empty_view/themes/standard/widgets/bydates/pieces/card-tail.lt3 +0 -4
  23. data/empty_view/themes/standard/widgets/bydates/pieces/main-head.lt3 +0 -10
  24. data/empty_view/themes/standard/widgets/bydates/pieces/main-tail.lt3 +0 -4
  25. data/empty_view/themes/standard/widgets/links/links.lt3 +0 -2
  26. data/empty_view/themes/standard/widgets/links/local-vars.lt3 +0 -12
  27. data/empty_view/themes/standard/widgets/links/pieces/card-head.lt3 +0 -8
  28. data/empty_view/themes/standard/widgets/links/pieces/card-tail.lt3 +0 -4
  29. data/empty_view/themes/standard/widgets/links/pieces/main-head.lt3 +0 -10
  30. data/empty_view/themes/standard/widgets/links/pieces/main-tail.lt3 +0 -4
  31. data/empty_view/themes/standard/widgets/news/local-vars.lt3 +0 -12
  32. data/empty_view/themes/standard/widgets/news/news.lt3 +0 -2
  33. data/empty_view/themes/standard/widgets/news/pieces/card-head.lt3 +0 -8
  34. data/empty_view/themes/standard/widgets/news/pieces/card-tail.lt3 +0 -4
  35. data/empty_view/themes/standard/widgets/news/pieces/main-head.lt3 +0 -10
  36. data/empty_view/themes/standard/widgets/news/pieces/main-tail.lt3 +0 -4
  37. data/empty_view/themes/standard/widgets/pages/local-vars.lt3 +0 -12
  38. data/empty_view/themes/standard/widgets/pages/pages.lt3 +0 -2
  39. data/empty_view/themes/standard/widgets/pages/pieces/card-head.lt3 +0 -1
  40. data/empty_view/themes/standard/widgets/pages/pieces/card-tail.lt3 +0 -1
  41. data/empty_view/themes/standard/widgets/pages/pieces/main-head.lt3 +0 -10
  42. data/empty_view/themes/standard/widgets/pages/pieces/main-tail.lt3 +0 -2
  43. data/empty_view/themes/standard/widgets/pinned/local-vars.lt3 +0 -12
  44. data/empty_view/themes/standard/widgets/pinned/pieces/card-head.lt3 +0 -8
  45. data/empty_view/themes/standard/widgets/pinned/pieces/card-tail.lt3 +0 -4
  46. data/empty_view/themes/standard/widgets/pinned/pieces/main-head.lt3 +0 -10
  47. data/empty_view/themes/standard/widgets/pinned/pieces/main-tail.lt3 +0 -4
  48. data/empty_view/themes/standard/widgets/pinned/pinned.lt3 +0 -2
  49. data/empty_view/themes/standard/widgets/search/local-vars.lt3 +0 -12
  50. data/empty_view/themes/standard/widgets/search/pieces/card-head.lt3 +0 -8
  51. data/empty_view/themes/standard/widgets/search/pieces/card-tail.lt3 +0 -4
  52. data/empty_view/themes/standard/widgets/search/pieces/main-head.lt3 +0 -10
  53. data/empty_view/themes/standard/widgets/search/pieces/main-tail.lt3 +0 -4
  54. data/empty_view/themes/standard/widgets/search/search.lt3 +0 -2
  55. data/empty_view/themes/standard/widgets/sitemap/local-vars.lt3 +0 -12
  56. data/empty_view/themes/standard/widgets/sitemap/pieces/card-head.lt3 +0 -8
  57. data/empty_view/themes/standard/widgets/sitemap/pieces/card-tail.lt3 +0 -4
  58. data/empty_view/themes/standard/widgets/sitemap/pieces/main-head.lt3 +0 -10
  59. data/empty_view/themes/standard/widgets/sitemap/pieces/main-tail.lt3 +0 -4
  60. data/empty_view/themes/standard/widgets/sitemap/sitemap.lt3 +0 -2
  61. data/empty_view/themes/standard/widgets/tag-cloud/local-vars.lt3 +0 -12
  62. data/empty_view/themes/standard/widgets/tag-cloud/pieces/card-head.lt3 +0 -8
  63. data/empty_view/themes/standard/widgets/tag-cloud/pieces/card-tail.lt3 +0 -4
  64. data/empty_view/themes/standard/widgets/tag-cloud/pieces/main-head.lt3 +0 -10
  65. data/empty_view/themes/standard/widgets/tag-cloud/pieces/main-tail.lt3 +0 -4
@@ -157,6 +157,10 @@ module RuneBlog::REPL
157
157
  def cmd_preview(arg, testing = false)
158
158
  reset_output
159
159
  local = @blog.view.local_index
160
+ unless File.exist?(local)
161
+ puts "\n No index. Rebuilding..."
162
+ cmd_rebuild(nil)
163
+ end
160
164
  result = system!("open #{local}")
161
165
  raise CantOpen(local) unless result
162
166
  @out
@@ -331,11 +331,11 @@ class RuneBlog
331
331
  text = nil
332
332
  @theme = @view.dir/"themes/standard"
333
333
  post_entry_name = @theme/"blog/post_entry.lt3"
334
- STDERR.puts "-- @pename = #{post_entry_name}"
335
- STDERR.puts "-- @pe = #{@_post_entry.inspect}"
334
+ # STDERR.puts "-- @pename = #{post_entry_name}"
335
+ # STDERR.puts "-- @pe = #{@_post_entry.inspect}"
336
336
  depend = [post_entry_name]
337
337
  xlate src: post_entry_name, dst: "/tmp/post_entry.html" # , deps: depend # , debug: true
338
- STDERR.puts "-- xlate result: #{`ls -l /tmp/post_entry.html`}"
338
+ # STDERR.puts "-- xlate result: #{`ls -l /tmp/post_entry.html`}"
339
339
  @_post_entry ||= File.read("/tmp/post_entry.html")
340
340
  vp = post_lookup(id)
341
341
  nslug, aslug, title, date, teaser_text =
@@ -381,15 +381,13 @@ STDERR.puts "-- xlate result: #{`ls -l /tmp/post_entry.html`}"
381
381
  wanted.times do
382
382
  postid = File.basename(enum.next)
383
383
  postid = postid.to_i
384
- STDERR.puts "-- postid = #{postid}"
385
- # posts.each {|x| STDERR.puts " #{x}" }
386
384
  entry = index_entry(postid)
387
- STDERR.puts "-- entry = #{entry.inspect}"
388
385
  entries << entry
389
386
  text << entry
390
387
  end
391
388
  text << "</body></html>"
392
389
  File.write(@vdir/:remote/file, text)
390
+ return posts.size
393
391
  rescue => err
394
392
  _tmp_error(err)
395
393
  end
@@ -440,20 +438,12 @@ STDERR.puts "-- entry = #{entry.inspect}"
440
438
  log!(enter: __method__, args: [view], pwd: true, dir: true)
441
439
  raise ArgumentError unless view.is_a?(String) || view.is_a?(RuneBlog::View)
442
440
  @vdir = @root/:views/view
443
- collect_recent_posts("recent.html")
441
+ num = collect_recent_posts("recent.html")
442
+ return num
444
443
  rescue => err
445
444
  _tmp_error(err)
446
445
  end
447
446
 
448
- def _hack_pinned_rebuild(view)
449
- tmp = "/tmp/pinned.lt3"
450
- File.open(tmp, "w") do |f|
451
- f.puts ".mixin liveblog\n.pinned_rebuild #{view}"
452
- end
453
- xlate src: tmp, dst: "/tmp/junk.html"
454
- system("rm -f #{tmp} /tmp/junk.html")
455
- end
456
-
457
447
  def generate_view(view) # huh?
458
448
  log!(enter: __method__, args: [view])
459
449
  vdir = @root/:views/view
@@ -467,7 +457,6 @@ STDERR.puts "-- entry = #{entry.inspect}"
467
457
  xlate cwd: vdir/"themes/standard", deps: depend, force: true,
468
458
  src: "blog/generate.lt3", dst: vdir/:remote/"index.html"
469
459
  copy("#{vdir}/assets/*", "#{vdir}/remote/assets/")
470
- # _hack_pinned_rebuild(view) # FIXME experimental
471
460
  copy_widget_html(view)
472
461
  rescue => err
473
462
  _tmp_error(err)
@@ -2,7 +2,7 @@
2
2
  if ! (Object.constants.include?(:RuneBlog) && RuneBlog.constants.include?(:Path))
3
3
 
4
4
  class RuneBlog
5
- VERSION = "0.2.60"
5
+ VERSION = "0.2.65"
6
6
 
7
7
  path = Gem.find_files("runeblog").grep(/runeblog-/).first
8
8
  Path = File.dirname(path)
@@ -50,7 +50,8 @@ end
50
50
 
51
51
  t0 = Time.now
52
52
 
53
- puts bold("\nGenerating test blog...")
53
+ puts
54
+ debug bold("Generating test blog...")
54
55
 
55
56
  system("rm -rf .blogs")
56
57
  RuneBlog.create_new_blog_repo(".blogs")
@@ -151,12 +152,10 @@ x.generate_index("around_austin")
151
152
 
152
153
  debug
153
154
  x.change_view("around_austin")
154
- debug
155
-
156
- puts bold("...finished.\n")
155
+ debug bold("...finished.\n")
157
156
 
158
157
  t1 = Time.now
159
158
 
160
159
  elapsed = t1 - t0
161
- puts "\nElapsed: #{'%3.2f' % elapsed} secs\n "
160
+ puts "Elapsed: #{'%3.2f' % elapsed} secs\n "
162
161
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runeblog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.60
4
+ version: 0.2.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hal Fulton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-11 00:00:00.000000000 Z
11
+ date: 2019-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: livetext
@@ -69,6 +69,11 @@ files:
69
69
  - empty_view/remote/banner/top.html
70
70
  - empty_view/remote/etc/GIT_IS_DUMB
71
71
  - empty_view/remote/permalink/GIT_IS_DUMB
72
+ - empty_view/remote/widgets/ad/GIT_IS_DUMB
73
+ - empty_view/remote/widgets/links/GIT_IS_DUMB
74
+ - empty_view/remote/widgets/news/GIT_IS_DUMB
75
+ - empty_view/remote/widgets/pages/GIT_IS_DUMB
76
+ - empty_view/remote/widgets/pinned/GIT_IS_DUMB
72
77
  - empty_view/themes/standard/README
73
78
  - empty_view/themes/standard/banner/about.lt3
74
79
  - empty_view/themes/standard/banner/austin-pano.jpg
@@ -97,40 +102,22 @@ files:
97
102
  - empty_view/themes/standard/widgets/ad/ad3.png
98
103
  - empty_view/themes/standard/widgets/ad/ad4.png
99
104
  - empty_view/themes/standard/widgets/bydates/README
100
- - empty_view/themes/standard/widgets/bydates/bydates.lt3
101
105
  - empty_view/themes/standard/widgets/bydates/bydates.rb
102
106
  - empty_view/themes/standard/widgets/bydates/card.css
103
107
  - empty_view/themes/standard/widgets/bydates/custom.rb
104
- - empty_view/themes/standard/widgets/bydates/local-vars.lt3
105
108
  - empty_view/themes/standard/widgets/bydates/main.css
106
- - empty_view/themes/standard/widgets/bydates/pieces/card-head.lt3
107
- - empty_view/themes/standard/widgets/bydates/pieces/card-tail.lt3
108
- - empty_view/themes/standard/widgets/bydates/pieces/main-head.lt3
109
- - empty_view/themes/standard/widgets/bydates/pieces/main-tail.lt3
110
109
  - empty_view/themes/standard/widgets/links/README
111
110
  - empty_view/themes/standard/widgets/links/card.css
112
111
  - empty_view/themes/standard/widgets/links/custom.rb
113
- - empty_view/themes/standard/widgets/links/links.lt3
114
112
  - empty_view/themes/standard/widgets/links/links.rb
115
113
  - empty_view/themes/standard/widgets/links/list.data
116
- - empty_view/themes/standard/widgets/links/local-vars.lt3
117
114
  - empty_view/themes/standard/widgets/links/main.css
118
- - empty_view/themes/standard/widgets/links/pieces/card-head.lt3
119
- - empty_view/themes/standard/widgets/links/pieces/card-tail.lt3
120
- - empty_view/themes/standard/widgets/links/pieces/main-head.lt3
121
- - empty_view/themes/standard/widgets/links/pieces/main-tail.lt3
122
115
  - empty_view/themes/standard/widgets/news/README
123
116
  - empty_view/themes/standard/widgets/news/card.css
124
117
  - empty_view/themes/standard/widgets/news/custom.rb
125
118
  - empty_view/themes/standard/widgets/news/list.data
126
- - empty_view/themes/standard/widgets/news/local-vars.lt3
127
119
  - empty_view/themes/standard/widgets/news/main.css
128
- - empty_view/themes/standard/widgets/news/news.lt3
129
120
  - empty_view/themes/standard/widgets/news/news.rb
130
- - empty_view/themes/standard/widgets/news/pieces/card-head.lt3
131
- - empty_view/themes/standard/widgets/news/pieces/card-tail.lt3
132
- - empty_view/themes/standard/widgets/news/pieces/main-head.lt3
133
- - empty_view/themes/standard/widgets/news/pieces/main-tail.lt3
134
121
  - empty_view/themes/standard/widgets/pages/README
135
122
  - empty_view/themes/standard/widgets/pages/card.css
136
123
  - empty_view/themes/standard/widgets/pages/custom.rb
@@ -138,59 +125,30 @@ files:
138
125
  - empty_view/themes/standard/widgets/pages/faq.lt3
139
126
  - empty_view/themes/standard/widgets/pages/like-dislike.lt3
140
127
  - empty_view/themes/standard/widgets/pages/list.data
141
- - empty_view/themes/standard/widgets/pages/local-vars.lt3
142
128
  - empty_view/themes/standard/widgets/pages/local.rb
143
129
  - empty_view/themes/standard/widgets/pages/main.css
144
130
  - empty_view/themes/standard/widgets/pages/other-stuff.lt3
145
- - empty_view/themes/standard/widgets/pages/pages.lt3
146
131
  - empty_view/themes/standard/widgets/pages/pages.rb
147
- - empty_view/themes/standard/widgets/pages/pieces/card-head.lt3
148
- - empty_view/themes/standard/widgets/pages/pieces/card-tail.lt3
149
- - empty_view/themes/standard/widgets/pages/pieces/main-head.lt3
150
- - empty_view/themes/standard/widgets/pages/pieces/main-tail.lt3
151
132
  - empty_view/themes/standard/widgets/pinned/README
152
133
  - empty_view/themes/standard/widgets/pinned/card.css
153
134
  - empty_view/themes/standard/widgets/pinned/custom.rb
154
- - empty_view/themes/standard/widgets/pinned/local-vars.lt3
155
135
  - empty_view/themes/standard/widgets/pinned/main.css
156
- - empty_view/themes/standard/widgets/pinned/pieces/card-head.lt3
157
- - empty_view/themes/standard/widgets/pinned/pieces/card-tail.lt3
158
- - empty_view/themes/standard/widgets/pinned/pieces/main-head.lt3
159
- - empty_view/themes/standard/widgets/pinned/pieces/main-tail.lt3
160
- - empty_view/themes/standard/widgets/pinned/pinned.lt3
161
136
  - empty_view/themes/standard/widgets/pinned/pinned.rb
162
137
  - empty_view/themes/standard/widgets/search/README
163
138
  - empty_view/themes/standard/widgets/search/card.css
164
139
  - empty_view/themes/standard/widgets/search/custom.rb
165
- - empty_view/themes/standard/widgets/search/local-vars.lt3
166
140
  - empty_view/themes/standard/widgets/search/main.css
167
- - empty_view/themes/standard/widgets/search/pieces/card-head.lt3
168
- - empty_view/themes/standard/widgets/search/pieces/card-tail.lt3
169
- - empty_view/themes/standard/widgets/search/pieces/main-head.lt3
170
- - empty_view/themes/standard/widgets/search/pieces/main-tail.lt3
171
- - empty_view/themes/standard/widgets/search/search.lt3
172
141
  - empty_view/themes/standard/widgets/search/search.rb
173
142
  - empty_view/themes/standard/widgets/sitemap/README
174
143
  - empty_view/themes/standard/widgets/sitemap/card.css
175
144
  - empty_view/themes/standard/widgets/sitemap/custom.rb
176
- - empty_view/themes/standard/widgets/sitemap/local-vars.lt3
177
145
  - empty_view/themes/standard/widgets/sitemap/main.css
178
- - empty_view/themes/standard/widgets/sitemap/pieces/card-head.lt3
179
- - empty_view/themes/standard/widgets/sitemap/pieces/card-tail.lt3
180
- - empty_view/themes/standard/widgets/sitemap/pieces/main-head.lt3
181
- - empty_view/themes/standard/widgets/sitemap/pieces/main-tail.lt3
182
- - empty_view/themes/standard/widgets/sitemap/sitemap.lt3
183
146
  - empty_view/themes/standard/widgets/sitemap/sitemap.rb
184
147
  - empty_view/themes/standard/widgets/tag-cloud/OLD-example.lt3
185
148
  - empty_view/themes/standard/widgets/tag-cloud/README
186
149
  - empty_view/themes/standard/widgets/tag-cloud/card.css
187
150
  - empty_view/themes/standard/widgets/tag-cloud/custom.rb
188
- - empty_view/themes/standard/widgets/tag-cloud/local-vars.lt3
189
151
  - empty_view/themes/standard/widgets/tag-cloud/main.css
190
- - empty_view/themes/standard/widgets/tag-cloud/pieces/card-head.lt3
191
- - empty_view/themes/standard/widgets/tag-cloud/pieces/card-tail.lt3
192
- - empty_view/themes/standard/widgets/tag-cloud/pieces/main-head.lt3
193
- - empty_view/themes/standard/widgets/tag-cloud/pieces/main-tail.lt3
194
152
  - empty_view/themes/standard/widgets/tag-cloud/tag-cloud.lt3
195
153
  - empty_view/themes/standard/widgets/tag-cloud/tag-cloud.rb
196
154
  - lib/Javascript.stuff
@@ -1,2 +0,0 @@
1
- .mixin liveblog
2
- .make_main_links bydates Posts by Date
@@ -1,12 +0,0 @@
1
- # bydates: Posts by Date
2
- .set widget.name = "Posts by Date"
3
-
4
- . heredocs (in case of embedded commas)
5
-
6
- .heredoc card.title
7
- $widget.name
8
- .end
9
-
10
- .heredoc main.title
11
- $widget.name
12
- .end
@@ -1,8 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go before card data
3
- <html>
4
- <head>
5
- <style src="card.css"></style>
6
- </head>
7
- <body>
8
- <h1>Posts by Date</h1>
@@ -1,4 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go after main data
3
- </body>
4
- </html>
@@ -1,10 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go before main data
3
- <html>
4
- <head>
5
- <style src="main.css"></style>
6
- <!-- ^ Why doesn't this work? -->
7
- <style>* { font-family: verdana }</style>
8
- </head>
9
- <body>
10
- <h1>$card.title</h1><hr>
@@ -1,4 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go after main data
3
- </body>
4
- </html>
@@ -1,2 +0,0 @@
1
- .mixin liveblog
2
- .make_main_links links External Links
@@ -1,12 +0,0 @@
1
- # links: External Links
2
- .set widget.name = "External Links"
3
-
4
- . heredocs (in case of embedded commas)
5
-
6
- .heredoc card.title
7
- $widget.name
8
- .end
9
-
10
- .heredoc main.title
11
- $widget.name
12
- .end
@@ -1,8 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go before card data
3
- <html>
4
- <head>
5
- <style src="card.css"></style>
6
- </head>
7
- <body>
8
- <h1>External Links</h1>
@@ -1,4 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go after main data
3
- </body>
4
- </html>
@@ -1,10 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go before main data
3
- <html>
4
- <head>
5
- <style src="main.css"></style>
6
- <!-- ^ Why doesn't this work? -->
7
- <style>* { font-family: verdana }</style>
8
- </head>
9
- <body>
10
- <h1>$card.title</h1><hr>
@@ -1,4 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go after main data
3
- </body>
4
- </html>
@@ -1,12 +0,0 @@
1
- # news: Recent News
2
- .set widget.name = "Recent News"
3
-
4
- . heredocs (in case of embedded commas)
5
-
6
- .heredoc card.title
7
- $widget.name
8
- .end
9
-
10
- .heredoc main.title
11
- $widget.name
12
- .end
@@ -1,2 +0,0 @@
1
- .mixin liveblog
2
- .make_main_links news Recent News
@@ -1,8 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go before card data
3
- <html>
4
- <head>
5
- <style src="card.css"></style>
6
- </head>
7
- <body>
8
- <h1>Recent News</h1>
@@ -1,4 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go after main data
3
- </body>
4
- </html>
@@ -1,10 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go before main data
3
- <html>
4
- <head>
5
- <style src="main.css"></style>
6
- <!-- ^ Why doesn't this work? -->
7
- <style>* { font-family: verdana }</style>
8
- </head>
9
- <body>
10
- <h1>$card.title</h1><hr>
@@ -1,4 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go after main data
3
- </body>
4
- </html>
@@ -1,12 +0,0 @@
1
- # pages: Pages
2
- .set widget.name = "Pages"
3
-
4
- . heredocs (in case of embedded commas)
5
-
6
- .heredoc card.title
7
- $widget.name
8
- .end
9
-
10
- .heredoc main.title
11
- $widget.name
12
- .end
@@ -1,2 +0,0 @@
1
- .mixin liveblog
2
- .make_main_links pages Pages
@@ -1,10 +0,0 @@
1
- .set card.title=Pages
2
-
3
- <html>
4
- <head>
5
- <style src="main.css"></style>
6
- <!-- ^ Why doesn't this work? -->
7
- <style>* { font-family: verdana }</style>
8
- </head>
9
- <body>
10
- <h1>$card.title</h1><hr>
@@ -1,12 +0,0 @@
1
- # pinned: Pinned Posts
2
- .set widget.name = "Pinned Posts"
3
-
4
- . heredocs (in case of embedded commas)
5
-
6
- .heredoc card.title
7
- $widget.name
8
- .end
9
-
10
- .heredoc main.title
11
- $widget.name
12
- .end
@@ -1,8 +0,0 @@
1
- .include ../local_vars.lt3
2
- . Material (if any) to go before card data
3
- <html>
4
- <head>
5
- <style src="card.css"></style>
6
- </head>
7
- <body>
8
- <h1>Pinned Posts</h1>