runeblog 0.2.64 → 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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/bin/mkwidget +65 -110
  3. data/empty_view/themes/standard/widgets/pinned/pinned.rb +0 -1
  4. data/lib/liveblog.rb +0 -57
  5. data/lib/runeblog_version.rb +1 -1
  6. metadata +2 -42
  7. data/empty_view/themes/standard/widgets/bydates/local-vars.lt3 +0 -12
  8. data/empty_view/themes/standard/widgets/bydates/pieces/card-head.lt3 +0 -8
  9. data/empty_view/themes/standard/widgets/bydates/pieces/card-tail.lt3 +0 -4
  10. data/empty_view/themes/standard/widgets/bydates/pieces/main-head.lt3 +0 -10
  11. data/empty_view/themes/standard/widgets/bydates/pieces/main-tail.lt3 +0 -4
  12. data/empty_view/themes/standard/widgets/links/local-vars.lt3 +0 -12
  13. data/empty_view/themes/standard/widgets/links/pieces/card-head.lt3 +0 -8
  14. data/empty_view/themes/standard/widgets/links/pieces/card-tail.lt3 +0 -4
  15. data/empty_view/themes/standard/widgets/links/pieces/main-head.lt3 +0 -10
  16. data/empty_view/themes/standard/widgets/links/pieces/main-tail.lt3 +0 -4
  17. data/empty_view/themes/standard/widgets/news/local-vars.lt3 +0 -12
  18. data/empty_view/themes/standard/widgets/news/pieces/card-head.lt3 +0 -8
  19. data/empty_view/themes/standard/widgets/news/pieces/card-tail.lt3 +0 -4
  20. data/empty_view/themes/standard/widgets/news/pieces/main-head.lt3 +0 -10
  21. data/empty_view/themes/standard/widgets/news/pieces/main-tail.lt3 +0 -4
  22. data/empty_view/themes/standard/widgets/pages/local-vars.lt3 +0 -12
  23. data/empty_view/themes/standard/widgets/pages/pieces/card-head.lt3 +0 -1
  24. data/empty_view/themes/standard/widgets/pages/pieces/card-tail.lt3 +0 -1
  25. data/empty_view/themes/standard/widgets/pages/pieces/main-head.lt3 +0 -10
  26. data/empty_view/themes/standard/widgets/pages/pieces/main-tail.lt3 +0 -2
  27. data/empty_view/themes/standard/widgets/pinned/local-vars.lt3 +0 -12
  28. data/empty_view/themes/standard/widgets/pinned/pieces/card-head.lt3 +0 -8
  29. data/empty_view/themes/standard/widgets/pinned/pieces/card-tail.lt3 +0 -4
  30. data/empty_view/themes/standard/widgets/pinned/pieces/main-head.lt3 +0 -10
  31. data/empty_view/themes/standard/widgets/pinned/pieces/main-tail.lt3 +0 -4
  32. data/empty_view/themes/standard/widgets/search/local-vars.lt3 +0 -12
  33. data/empty_view/themes/standard/widgets/search/pieces/card-head.lt3 +0 -8
  34. data/empty_view/themes/standard/widgets/search/pieces/card-tail.lt3 +0 -4
  35. data/empty_view/themes/standard/widgets/search/pieces/main-head.lt3 +0 -10
  36. data/empty_view/themes/standard/widgets/search/pieces/main-tail.lt3 +0 -4
  37. data/empty_view/themes/standard/widgets/sitemap/local-vars.lt3 +0 -12
  38. data/empty_view/themes/standard/widgets/sitemap/pieces/card-head.lt3 +0 -8
  39. data/empty_view/themes/standard/widgets/sitemap/pieces/card-tail.lt3 +0 -4
  40. data/empty_view/themes/standard/widgets/sitemap/pieces/main-head.lt3 +0 -10
  41. data/empty_view/themes/standard/widgets/sitemap/pieces/main-tail.lt3 +0 -4
  42. data/empty_view/themes/standard/widgets/tag-cloud/local-vars.lt3 +0 -12
  43. data/empty_view/themes/standard/widgets/tag-cloud/pieces/card-head.lt3 +0 -8
  44. data/empty_view/themes/standard/widgets/tag-cloud/pieces/card-tail.lt3 +0 -4
  45. data/empty_view/themes/standard/widgets/tag-cloud/pieces/main-head.lt3 +0 -10
  46. data/empty_view/themes/standard/widgets/tag-cloud/pieces/main-tail.lt3 +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ee0e8ea5eca8141bc128304f9f3025cff30bf7db3d6dc963ca9e826e7ec48fa
4
- data.tar.gz: a46e8e6675cde4d9e43bdb5248eed70d732d86d28a0e80cf0c89d118c0ddbc3d
3
+ metadata.gz: 7caeb0a5892f06a910b453c290278ae3950f989d617e9368c9702734eaf75ad0
4
+ data.tar.gz: 033b710cf6b4fc0fe40683fada9e2c560fa26dddc921aa475ec567076e20e0ae
5
5
  SHA512:
6
- metadata.gz: 347dd447053e6d41532372c24c259716ae93c2ad9808ef63cc4ddf8d54d6e08c0e0cb2d06938f445115b1be79526b95e01672f6bd685ce00841bead8ada8c690
7
- data.tar.gz: 719c98793354389ac974e1d45ee3e8d891380881938ec72676d6697cd49c233311d7bc9854624e235cfc87e3247632fb5a66794da5fb686f668ce9eaa130de22
6
+ metadata.gz: 7c6588fb31cc2d2854b93fd1087941e7610f9e322d664c6bd02d64b30e2d7647bd18634b6188c6bbecbb7283d6c5cb43b4cf8b8d5e2f18e52a726f3db8893f20
7
+ data.tar.gz: 01d610980deb44a78467c75347736a1009d462c251dff80b3b5e6398cdbe6b587f06a27f9c88df349ddbaaad3f086e353b06daf325b490d30a014bba6d289260
data/bin/mkwidget CHANGED
@@ -1,96 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- =begin
3
- std-widget/
4
- std-widget/local-vars.lt3
5
- std-widget//list.data
6
- std-widget//pieces
7
- std-widget//pieces/card-head.lt3
8
- std-widget//pieces/card-tail.lt3
9
- std-widget//pieces/card.css
10
- std-widget//pieces/main-head.lt3
11
- std-widget//pieces/main-tail.lt3
12
- std-widget//pieces/main.css
13
- std-widget//README
14
- std-widget//WIDGET.lt3
15
- std-widget//WIDGET.rb
16
- =end
17
-
18
- # FIXME Also fix the
19
-
20
- def write_local_vars
21
- File.open("std_widget/local-vars.lt3", "w") do |f|
22
- f.puts <<~LIVE
23
- # #@app: #@title
24
- .set widget.name = "#@title"
25
-
26
- . heredocs (in case of embedded commas)
27
-
28
- .heredoc card.title
29
- $widget.name
30
- .end
31
-
32
- .heredoc main.title
33
- $widget.name
34
- .end
35
- LIVE
36
- end
37
- end
38
2
 
39
- def write_card_head
40
- File.open("std_widget/pieces/card-head.lt3", "w") do |f|
41
- f.puts <<~LIVE
42
- .include ../local_vars.lt3
43
- . Material (if any) to go before card data
44
- <html>
45
- <head>
46
- <style src="card.css"></style>
47
- </head>
48
- <body>
49
- <h1>#@title</h1>
50
- LIVE
51
- # </html> damned syntax highlighting
52
- end
53
- end
54
-
55
- def write_card_tail
56
- File.open("std_widget/pieces/card-tail.lt3", "w") do |f|
57
- f.puts <<~LIVE
58
- .include ../local_vars.lt3
59
- . Material (if any) to go after main data
60
- </body>
61
- </html>
62
- LIVE
63
- # </html> damned syntax highlighting
64
- end
65
- end
66
-
67
- def write_main_head
68
- File.open("std_widget/pieces/main-head.lt3", "w") do |f|
69
- f.puts <<~LIVE
70
- .include ../local_vars.lt3
71
- . Material (if any) to go before main data
72
- <html>
73
- <head>
74
- <style src="main.css"></style>
75
- </head>
76
- <body>
77
- <h1>$card.title</h1>
78
- LIVE
79
- # </html> damned syntax highlighting
80
- end
81
- end
82
-
83
- def write_main_tail
84
- File.open("std_widget/pieces/main-tail.lt3", "w") do |f|
85
- f.puts <<~LIVE
86
- .include ../local_vars.lt3
87
- . Material (if any) to go after main data
88
- </body>
89
- </html>
90
- LIVE
91
- # </html> damned syntax highlighting
92
- end
93
- end
94
3
 
95
4
  def write_css
96
5
  # Need .lt3 file?
@@ -123,13 +32,75 @@ def write_widget_ruby
123
32
 
124
33
  class ::RuneBlog::Widget
125
34
  class #{_make_class_name(@app)}
126
- def self.build
35
+ Type, Title = "#@app", "#@title"
36
+
37
+ def initialize(repo)
38
+ @blog = repo
39
+ @datafile = "list.data"
40
+ @lines = File.exist?(@datafile) ? File.readlines(@datafile) : []
41
+ end
42
+
43
+ def _html_body(file, css = nil) # FIXME move to common file
44
+ file.puts "<html>"
45
+ if css
46
+ file.puts " <head>"
47
+ file.puts " <style>\n#{css}\n </style>"
48
+ file.puts " </head>"
49
+ end
50
+ file.puts " <body>"
51
+ yield
52
+ file.puts " </body>\n</html>"
53
+ end
54
+
55
+ def build
56
+ # ...insert logic here
57
+ write_main
58
+ write_card
59
+ end
60
+
61
+ def write_main
62
+ tag = Type
63
+ card_title = Title
64
+ css = "* { font-family: verdana }"
65
+ mainfile = "#{tag}-main"
66
+ File.open("#{mainfile}.html", "w") do |f|
67
+ _html_body(f, css) do
68
+ f.puts "<h1>#{card_title}</h1><br><hr>"
69
+ # ...insert logic here
70
+ end
71
+ end
72
+ end
73
+
74
+ def write_card
75
+ tag = Type
76
+ url = :widgets/tag/tag+"-main.html"
77
+ card_title = Title
78
+ cardfile = "#{tag}-card"
79
+ File.open("#{cardfile}.html", "w") do |f|
80
+ f.puts <<-EOS
81
+ <div class="card mb-3">
82
+ <div class="card-body">
83
+ <h5 class="card-title">
84
+ <button type="button" class="btn btn-primary" data-toggle="collapse" data-target="##{tag}">+</button>
85
+ <a href="javascript: void(0)"
86
+ onclick="javascript:open_main('#{url}')"
87
+ style="text-decoration: none; color: black"> #{card_title}</a>
88
+ </h5>
89
+ <div class="collapse" id="#{tag}">
90
+ EOS
91
+ # ...insert logic here
92
+ f.puts <<-EOS
93
+ </div>
94
+ </div>
95
+ </div>
96
+ EOS
97
+ end
127
98
  end
128
99
 
129
- def self.edit_menu
100
+ def edit_menu
130
101
  end
131
102
 
132
- def self.refresh
103
+ def refresh
133
104
  end
134
105
  end
135
106
  end
@@ -137,15 +108,6 @@ def write_widget_ruby
137
108
  end
138
109
  end
139
110
 
140
- def write_widget_livetext
141
- File.open("std_widget/#@app.lt3", "w") do |f|
142
- f.puts <<~LIVE
143
- .mixin liveblog
144
- .make_main_links #@app #@title
145
- LIVE
146
- end
147
- end
148
-
149
111
  def write_custom_ruby
150
112
  File.open("std_widget/custom.rb", "w") do |f|
151
113
  f.puts <<~LIVE
@@ -194,15 +156,8 @@ abort 'Need app, "title..."' if ARGV.empty?
194
156
  system("rm -rf std_widget")
195
157
  system("mkdir -p std_widget/pieces")
196
158
 
197
- write_local_vars
198
- write_main_head
199
- write_main_tail
200
- write_card_head
201
- write_card_tail
202
159
  write_css
203
-
204
160
  write_widget_ruby
205
- write_widget_livetext
206
161
  write_custom_ruby
207
162
  write_README
208
163
 
@@ -8,7 +8,6 @@ class ::RuneBlog::Widget
8
8
  @blog = repo
9
9
  @datafile = "list.data"
10
10
  @lines = File.exist?(@datafile) ? File.readlines(@datafile) : []
11
- File.open("/tmp/mehhh", "w") {|f| f.puts "#{@lines.inspect} in #{Dir.pwd}" }
12
11
  end
13
12
 
14
13
  def _html_body(file, css = nil) # FIXME
data/lib/liveblog.rb CHANGED
@@ -7,8 +7,6 @@ require 'runeblog'
7
7
  require 'pathmagic'
8
8
  require 'xlate'
9
9
 
10
- # errfile = File.new("/tmp/liveblog.out", "w")
11
- # STDERR.reopen(errfile)
12
10
 
13
11
  def init_liveblog # FIXME - a lot of this logic sucks
14
12
  here = Dir.pwd
@@ -504,8 +502,6 @@ def sidebar
504
502
  _include_file wtag/tcard
505
503
  # depend = %w[card.css main.css custom.rb local.rb]
506
504
  # depend += ["#{wtag}.lt3", "#{wtag}.rb"]
507
- # depend += %w[pieces/card-head.lt3 pieces/card-tail.lt3]
508
- # depend += %w[pieces/main-head.lt3 pieces/main-tail.lt3]
509
505
  # depend.map! {|x| @blog.view.dir/"themes/standard/widgets"/wtag/x }
510
506
  # _debug "--- call xlate #{tag} src = #{tag} dst = #{tcard}\r"
511
507
  end
@@ -532,21 +528,6 @@ def script
532
528
  _out %[<script src="#{url}" integrity="#{integ}" crossorigin="#{cross}"></script>]
533
529
  end
534
530
 
535
- def card_iframe
536
- title, lines = _data, _body
537
- lines.map!(&:chomp)
538
- url = lines[0].chomp
539
- stuff = lines[1..-1].join(" ") # FIXME later
540
- middle = <<-HTML
541
- <iframe src="#{url}" #{stuff}
542
- style="border: 0" #{stuff}
543
- frameborder="0" scrolling="no">
544
- </iframe>
545
- HTML
546
-
547
- _card_generic(card_title: title, middle: middle, extra: "bg-dark text-white")
548
- end
549
-
550
531
  $Dot = self # Clunky! for dot commands called from Functions class
551
532
 
552
533
  # Find a better way to do this?
@@ -587,44 +568,6 @@ end
587
568
 
588
569
  ###
589
570
 
590
- def card1
591
- title, lines = _data, _body
592
- lines.map!(&:chomp)
593
-
594
- card_text = lines[0]
595
- url, classname, cdata = lines[1].split(",", 4)
596
- main = _main(url)
597
-
598
- middle = <<-HTML
599
- <p class="card-text">#{card_text}</p>
600
- <a #{main} class="#{classname}">#{cdata}</a>
601
- HTML
602
-
603
- _card_generic(card_title: title, middle: middle, extra: "bg-dark text-white")
604
- end
605
-
606
- def card2
607
- str = _data
608
- file, card_title = str.chomp.split(" ", 2)
609
- card_title = %[<a #{_main(file)} style="text-decoration: none; color: black">#{card_title}</a>]
610
-
611
- # FIXME is this wrong??
612
-
613
- open = <<-HTML
614
- <div class="card mb-3">
615
- <div class="card-body">
616
- <h5 class="card-title">#{card_title}</h5>
617
- <ul class="list-group list-group-flush">
618
- HTML
619
- _out open
620
- _body do |line|
621
- url, cdata = line.chomp.split(",", 3)
622
- main = _main(url)
623
- _out %[<li class="list-group-item"><a #{main}}">#{cdata}</a> </li>]
624
- end
625
- close = %[ </ul>\n </div>\n </div>]
626
- _out close
627
- end
628
571
 
629
572
  def tag_cloud
630
573
  title = _data
@@ -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.64"
5
+ VERSION = "0.2.65"
6
6
 
7
7
  path = Gem.find_files("runeblog").grep(/runeblog-/).first
8
8
  Path = File.dirname(path)
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.64
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-18 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
@@ -105,34 +105,19 @@ files:
105
105
  - empty_view/themes/standard/widgets/bydates/bydates.rb
106
106
  - empty_view/themes/standard/widgets/bydates/card.css
107
107
  - empty_view/themes/standard/widgets/bydates/custom.rb
108
- - empty_view/themes/standard/widgets/bydates/local-vars.lt3
109
108
  - empty_view/themes/standard/widgets/bydates/main.css
110
- - empty_view/themes/standard/widgets/bydates/pieces/card-head.lt3
111
- - empty_view/themes/standard/widgets/bydates/pieces/card-tail.lt3
112
- - empty_view/themes/standard/widgets/bydates/pieces/main-head.lt3
113
- - empty_view/themes/standard/widgets/bydates/pieces/main-tail.lt3
114
109
  - empty_view/themes/standard/widgets/links/README
115
110
  - empty_view/themes/standard/widgets/links/card.css
116
111
  - empty_view/themes/standard/widgets/links/custom.rb
117
112
  - empty_view/themes/standard/widgets/links/links.rb
118
113
  - empty_view/themes/standard/widgets/links/list.data
119
- - empty_view/themes/standard/widgets/links/local-vars.lt3
120
114
  - empty_view/themes/standard/widgets/links/main.css
121
- - empty_view/themes/standard/widgets/links/pieces/card-head.lt3
122
- - empty_view/themes/standard/widgets/links/pieces/card-tail.lt3
123
- - empty_view/themes/standard/widgets/links/pieces/main-head.lt3
124
- - empty_view/themes/standard/widgets/links/pieces/main-tail.lt3
125
115
  - empty_view/themes/standard/widgets/news/README
126
116
  - empty_view/themes/standard/widgets/news/card.css
127
117
  - empty_view/themes/standard/widgets/news/custom.rb
128
118
  - empty_view/themes/standard/widgets/news/list.data
129
- - empty_view/themes/standard/widgets/news/local-vars.lt3
130
119
  - empty_view/themes/standard/widgets/news/main.css
131
120
  - empty_view/themes/standard/widgets/news/news.rb
132
- - empty_view/themes/standard/widgets/news/pieces/card-head.lt3
133
- - empty_view/themes/standard/widgets/news/pieces/card-tail.lt3
134
- - empty_view/themes/standard/widgets/news/pieces/main-head.lt3
135
- - empty_view/themes/standard/widgets/news/pieces/main-tail.lt3
136
121
  - empty_view/themes/standard/widgets/pages/README
137
122
  - empty_view/themes/standard/widgets/pages/card.css
138
123
  - empty_view/themes/standard/widgets/pages/custom.rb
@@ -140,55 +125,30 @@ files:
140
125
  - empty_view/themes/standard/widgets/pages/faq.lt3
141
126
  - empty_view/themes/standard/widgets/pages/like-dislike.lt3
142
127
  - empty_view/themes/standard/widgets/pages/list.data
143
- - empty_view/themes/standard/widgets/pages/local-vars.lt3
144
128
  - empty_view/themes/standard/widgets/pages/local.rb
145
129
  - empty_view/themes/standard/widgets/pages/main.css
146
130
  - empty_view/themes/standard/widgets/pages/other-stuff.lt3
147
131
  - empty_view/themes/standard/widgets/pages/pages.rb
148
- - empty_view/themes/standard/widgets/pages/pieces/card-head.lt3
149
- - empty_view/themes/standard/widgets/pages/pieces/card-tail.lt3
150
- - empty_view/themes/standard/widgets/pages/pieces/main-head.lt3
151
- - empty_view/themes/standard/widgets/pages/pieces/main-tail.lt3
152
132
  - empty_view/themes/standard/widgets/pinned/README
153
133
  - empty_view/themes/standard/widgets/pinned/card.css
154
134
  - empty_view/themes/standard/widgets/pinned/custom.rb
155
- - empty_view/themes/standard/widgets/pinned/local-vars.lt3
156
135
  - empty_view/themes/standard/widgets/pinned/main.css
157
- - empty_view/themes/standard/widgets/pinned/pieces/card-head.lt3
158
- - empty_view/themes/standard/widgets/pinned/pieces/card-tail.lt3
159
- - empty_view/themes/standard/widgets/pinned/pieces/main-head.lt3
160
- - empty_view/themes/standard/widgets/pinned/pieces/main-tail.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
141
  - empty_view/themes/standard/widgets/search/search.rb
172
142
  - empty_view/themes/standard/widgets/sitemap/README
173
143
  - empty_view/themes/standard/widgets/sitemap/card.css
174
144
  - empty_view/themes/standard/widgets/sitemap/custom.rb
175
- - empty_view/themes/standard/widgets/sitemap/local-vars.lt3
176
145
  - empty_view/themes/standard/widgets/sitemap/main.css
177
- - empty_view/themes/standard/widgets/sitemap/pieces/card-head.lt3
178
- - empty_view/themes/standard/widgets/sitemap/pieces/card-tail.lt3
179
- - empty_view/themes/standard/widgets/sitemap/pieces/main-head.lt3
180
- - empty_view/themes/standard/widgets/sitemap/pieces/main-tail.lt3
181
146
  - empty_view/themes/standard/widgets/sitemap/sitemap.rb
182
147
  - empty_view/themes/standard/widgets/tag-cloud/OLD-example.lt3
183
148
  - empty_view/themes/standard/widgets/tag-cloud/README
184
149
  - empty_view/themes/standard/widgets/tag-cloud/card.css
185
150
  - empty_view/themes/standard/widgets/tag-cloud/custom.rb
186
- - empty_view/themes/standard/widgets/tag-cloud/local-vars.lt3
187
151
  - empty_view/themes/standard/widgets/tag-cloud/main.css
188
- - empty_view/themes/standard/widgets/tag-cloud/pieces/card-head.lt3
189
- - empty_view/themes/standard/widgets/tag-cloud/pieces/card-tail.lt3
190
- - empty_view/themes/standard/widgets/tag-cloud/pieces/main-head.lt3
191
- - empty_view/themes/standard/widgets/tag-cloud/pieces/main-tail.lt3
192
152
  - empty_view/themes/standard/widgets/tag-cloud/tag-cloud.lt3
193
153
  - empty_view/themes/standard/widgets/tag-cloud/tag-cloud.rb
194
154
  - lib/Javascript.stuff
@@ -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,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,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,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,2 +0,0 @@
1
- </body>
2
- </html>
@@ -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>
@@ -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
- # search: Search Posts
2
- .set widget.name = "Search 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>Search Posts</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
- # sitemap: Site Map
2
- .set widget.name = "Site Map"
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>Site Map</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
- # tag-cloud: Tag Cloud
2
- .set widget.name = "Tag Cloud"
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>Tag Cloud</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>