Author | zPlus <zplus@peers.community> 2024-12-14 20:41:38 |
Committer | zPlus <zplus@peers.community> 2024-12-14 20:41:38 |
Commit | 09209f9 (patch) |
Tree | 6727f8b |
Parent(s) |
index ed12e32..f339fa2 | |||
old size: 12K - new size: 14K | |||
@@ -84,11 +84,7 @@ def favicon(): | |||
84 | 84 | ||
85 | 85 | @bottle.get('/robots.txt') | |
86 | 86 | def robotstxt(): | |
87 | - | response.content_type = 'text/plain; charset=UTF8' | |
88 | - | ||
89 | - | return """User-agent: * | |
90 | - | Disallow: | |
91 | - | """ | |
87 | + | return bottle.static_file('robots.txt', root='./') | |
92 | 88 | ||
93 | 89 | @bottle.get('/static/<filename:path>', name='static') | |
94 | 90 | def static(filename): | |
@@ -98,6 +94,14 @@ def static(filename): | |||
98 | 94 | ||
99 | 95 | return bottle.static_file(filename, root='./static/') | |
100 | 96 | ||
97 | + | @bottle.get('/', name='homepage') | |
98 | + | def homepage(): | |
99 | + | """ | |
100 | + | Homepage. | |
101 | + | """ | |
102 | + | ||
103 | + | return template('templates/index.html') | |
104 | + | ||
101 | 105 | @bottle.route('/library', method=['GET', 'POST'], name='library') | |
102 | 106 | def library(): | |
103 | 107 | """ | |
@@ -184,12 +188,13 @@ def library(): | |||
184 | 188 | 'library:title': {} | |
185 | 189 | }) | |
186 | 190 | ||
187 | - | return template('library.html', authors=authors, licenses=licenses, items=items, | |
191 | + | return template('templates/library/index.html', authors=authors, licenses=licenses, items=items, | |
188 | 192 | filters_author=filters_author, filters_license=filters_license) | |
189 | 193 | ||
190 | 194 | @bottle.get('/library/<item_id>', name='library_item') | |
191 | 195 | def library_item(item_id): | |
192 | 196 | """ | |
197 | + | Show a single item in the library. | |
193 | 198 | """ | |
194 | 199 | ||
195 | 200 | try: | |
@@ -198,7 +203,47 @@ def library_item(item_id): | |||
198 | 203 | except: | |
199 | 204 | item_plaintext = '' | |
200 | 205 | ||
201 | - | return template('templates/library/item.tpl', item_id=item_id, plaintext=item_plaintext) | |
206 | + | data = query(f""" | |
207 | + | PREFIX library: <dokk:vocab:library:> | |
208 | + | PREFIX license: <dokk:vocab:license:> | |
209 | + | ||
210 | + | CONSTRUCT {{ | |
211 | + | ?item library:title ?title ; | |
212 | + | library:author ?author ; | |
213 | + | license:licensed_under ?license . | |
214 | + | ||
215 | + | ?license license:id ?license_id ; | |
216 | + | license:name ?license_name . | |
217 | + | }} | |
218 | + | WHERE {{ | |
219 | + | ?item | |
220 | + | library:title ?title ; | |
221 | + | library:author ?author ; | |
222 | + | license:licensed_under ?license . | |
223 | + | ||
224 | + | FILTER (?item = <dokk:{item_id}>) | |
225 | + | ||
226 | + | OPTIONAL {{ | |
227 | + | ?license license:id ?license_id_optional ; | |
228 | + | license:name ?license_name_optional . | |
229 | + | }} | |
230 | + | ||
231 | + | BIND(COALESCE(?license_id_optional, SUBSTR(STR(?license), 14)) AS ?license_id) | |
232 | + | BIND(COALESCE(?license_name_optional, SUBSTR(STR(?license), 14)) AS ?license_name) | |
233 | + | }} | |
234 | + | """, | |
235 | + | { | |
236 | + | "@context": { | |
237 | + | "library": "dokk:vocab:library:", | |
238 | + | "license": "dokk:vocab:license:", | |
239 | + | "library:author": { "@container": "@set" }, | |
240 | + | "license:licensed_under": { "@container": "@set" } | |
241 | + | }, | |
242 | + | "library:title": {} | |
243 | + | } | |
244 | + | )["@graph"][0] | |
245 | + | ||
246 | + | return template('templates/library/item.html', item_id=item_id, plaintext=item_plaintext, data=data) | |
202 | 247 | ||
203 | 248 | @bottle.get('/license', name='license_list') | |
204 | 249 | def license_list(): | |
@@ -218,7 +263,7 @@ def license_list(): | |||
218 | 263 | ORDER BY ASC(UCASE(?name)) | |
219 | 264 | """) | |
220 | 265 | ||
221 | - | return template('license.html', data=data) | |
266 | + | return template('templates/license/index.html', data=data) | |
222 | 267 | ||
223 | 268 | @bottle.get('/license/<id>', name='license') | |
224 | 269 | def license(id): | |
@@ -233,7 +278,27 @@ def license(id): | |||
233 | 278 | DESCRIBE <dokk:license:{id}> | |
234 | 279 | """) | |
235 | 280 | ||
236 | - | return template('templates/license/license.tpl', data=data) | |
281 | + | return template('templates/license/license.html', data=data) | |
282 | + | ||
283 | + | @bottle.get('/manpages', name='manpages') | |
284 | + | def manpages(): | |
285 | + | """ | |
286 | + | Manpages index. | |
287 | + | """ | |
288 | + | ||
289 | + | data = query(f""" | |
290 | + | PREFIX mp: <dokk:manpages:> | |
291 | + | ||
292 | + | SELECT ?name ?number | |
293 | + | WHERE {{ | |
294 | + | [] a mp:Distribution ; | |
295 | + | mp:name ?name ; | |
296 | + | mp:number ?number | |
297 | + | }} | |
298 | + | ORDER BY ?name ?number | |
299 | + | """) | |
300 | + | ||
301 | + | return template('templates/manpages/index.html', data=data) | |
237 | 302 | ||
238 | 303 | @bottle.get('/manpages/<distribution>/<version>', name='manpages_distribution') | |
239 | 304 | def manpages_distribution(distribution, version): | |
@@ -258,7 +323,7 @@ def manpages_distribution(distribution, version): | |||
258 | 323 | ORDER BY ?name | |
259 | 324 | ''') | |
260 | 325 | ||
261 | - | return template('templates/manpages/distribution.tpl', data=data, distribution=distribution, version=version) | |
326 | + | return template('templates/manpages/distribution.html', data=data, distribution=distribution, version=version) | |
262 | 327 | ||
263 | 328 | @bottle.get('/manpages/<distribution>/<version>/<package>', name='manpages_package') | |
264 | 329 | def manpages_package(distribution, version, package): | |
@@ -287,7 +352,7 @@ def manpages_package(distribution, version, package): | |||
287 | 352 | ORDER BY ?filename | |
288 | 353 | ''') | |
289 | 354 | ||
290 | - | return template('templates/manpages/package.tpl', data=data, distribution=distribution, version=version, package=package) | |
355 | + | return template('templates/manpages/package.html', data=data, distribution=distribution, version=version, package=package) | |
291 | 356 | ||
292 | 357 | @bottle.get('/manpages/<name>.<section>', name='manpages_disambiguation') | |
293 | 358 | def manpages_disambiguation(name, section): | |
@@ -318,7 +383,7 @@ def manpages_disambiguation(name, section): | |||
318 | 383 | ORDER BY ?distro_name ?distro_number ?package_name | |
319 | 384 | ''')['results']['bindings'] | |
320 | 385 | ||
321 | - | return template('templates/manpages/disambiguation.tpl', name=name, section=section, data=data) | |
386 | + | return template('templates/manpages/disambiguation.html', name=name, section=section, data=data) | |
322 | 387 | ||
323 | 388 | @bottle.get('/manpages/<distro_name>/<distro_number>/<package>/<page>', name='manpages_page') | |
324 | 389 | def manpages_page(distro_name, distro_number, package, page): | |
@@ -376,7 +441,7 @@ def manpages_page(distro_name, distro_number, package, page): | |||
376 | 441 | >{match.group('page')}({match.group('section')})</a>''', | |
377 | 442 | html) | |
378 | 443 | ||
379 | - | return template('templates/manpages/manpage.tpl', | |
444 | + | return template('templates/manpages/manpage.html', | |
380 | 445 | distro = {'name': distro_name, 'number': distro_number}, | |
381 | 446 | package = package, | |
382 | 447 | page = { | |
@@ -386,6 +451,26 @@ def manpages_page(distro_name, distro_number, package, page): | |||
386 | 451 | 'html': html, | |
387 | 452 | }) | |
388 | 453 | ||
454 | + | @bottle.get('/mimi_and_eunice', name='mimi_and_eunice') | |
455 | + | def mimi_and_eunice(): | |
456 | + | """ | |
457 | + | Mimi&Eunice index. | |
458 | + | """ | |
459 | + | ||
460 | + | data = query(f""" | |
461 | + | PREFIX comics: <dokk:vocab:comicstrip:> | |
462 | + | ||
463 | + | SELECT ?number ?title | |
464 | + | WHERE {{ | |
465 | + | [] comics:series <dokk:mimi_and_eunice>; | |
466 | + | comics:number ?number; | |
467 | + | comics:title ?title | |
468 | + | }} | |
469 | + | ORDER BY ?number | |
470 | + | """) | |
471 | + | ||
472 | + | return template('templates/mimi_and_eunice/index.html', data=data) | |
473 | + | ||
389 | 474 | @bottle.get('/mimi_and_eunice/<number>', name='mimi_and_eunice_strip') | |
390 | 475 | def mimi_and_eunice_strip(number): | |
391 | 476 | """ | |
@@ -420,7 +505,7 @@ def mimi_and_eunice_strip(number): | |||
420 | 505 | 'blob:at': {} | |
421 | 506 | }) | |
422 | 507 | ||
423 | - | return template('templates/mimi_and_eunice/strip.tpl', data=data['@graph'][0]) | |
508 | + | return template('templates/mimi_and_eunice/strip.html', data=data['@graph'][0]) | |
424 | 509 | ||
425 | 510 | @bottle.get('/articles', name='articles') | |
426 | 511 | def articles(): | |
@@ -428,12 +513,10 @@ def articles(): | |||
428 | 513 | """ | |
429 | 514 | ||
430 | 515 | pages = [ page.stem for page in sorted(pathlib.Path('./pages').glob('*.html')) ] | |
431 | - | pages.remove('.html') | |
432 | 516 | ||
433 | - | return template('templates/articles.tpl', pages=pages) | |
517 | + | return template('templates/articles/index.html', pages=pages) | |
434 | 518 | ||
435 | 519 | # TODO Make this obsolete. Replace with controllers | |
436 | - | @bottle.get('/', name='homepage') | |
437 | 520 | @bottle.get('/<page:path>', name='page') | |
438 | 521 | def article(page=''): | |
439 | 522 | """ |
index 7dbeb5c..5702f6a | |||
old size: 1K - new size: 1K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "1984 ehf." %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index b4fd2ae..eb10230 | |||
old size: 2K - new size: 2K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "Bottle" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 02e250d..90f9826 | |||
old size: 1K - new size: 1K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "DOKK" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 446f803..d2a9d26 | |||
old size: 1K - new size: 1K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "Dragora" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index e8240a9..6a46df3 | |||
old size: 2K - new size: 2K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "ForgeFed" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index e2e3ca7..1eb7009 | |||
old size: 1K - new size: 1K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "GNU Hackers' Meetings" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 9bc46e7..873fae7 | |||
old size: 2K - new size: 2K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "Gitea" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index fde025d..39f77af | |||
old size: 3K - new size: 3K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "Gogs" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 8ffed5e..8be1604 | |||
old size: 3K - new size: 3K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "Header Dictionary Triples" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index f84032d..db0894e | |||
old size: 2K - new size: 2K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "Minifree Ltd" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 89db878..abcf9af | |||
old size: 2K - new size: 2K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "NotABug.org" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 2ee2793..ccd87b3 | |||
old size: 2K - new size: 2K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "The Peers Community" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 5ea96d0..1c93753 | |||
old size: 2K - new size: 2K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "TuxFamily" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 9345f52..b694aee | |||
old size: 1K - new size: 1K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "Vervis" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 0a0b103..3a0de5b | |||
old size: 1012B - new size: 1022B | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "Vikings GmbH" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 7d5ab76..4f8d8f2 | |||
old size: 336B - new size: 346B | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "archive-webextension" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 5d389b5..c11e314 | |||
old size: 2K - new size: 2K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "freepost" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index e6f58bd..daad857 | |||
old size: 2K - new size: 2K | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "lib.reviews" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 9876ecf..d1313f9 | |||
old size: 908B - new size: 918B | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "radio-browser.info" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index cba9e2a..5fbbfd9 | |||
old size: 372B - new size: 373B | |||
@@ -1,4 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
1 | + | {% extends "templates/base.html" %} | |
2 | 2 | ||
3 | 3 | {% block title %}{{ title }}{% endblock %} | |
4 | 4 | {% block stylesheets %} |
index 33ef12f..5169f51 | |||
old size: 452B - new size: 453B | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | because unused | |
3 | 3 | #} | |
4 | 4 | ||
5 | - | {% extends "templates/base.tpl" %} | |
5 | + | {% extends "templates/base.html" %} | |
6 | 6 | ||
7 | 7 | {% block title %}Articles{% endblock %} | |
8 | 8 |
index fe0f782..fe0f782 | |||
old size: 517B - new size: 517B | |||
index 3d7dab2..74d30ef | |||
old size: 740B - new size: 741B | |||
@@ -1,4 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
1 | + | {% extends "templates/base.html" %} | |
2 | 2 | ||
3 | 3 | {% block title %}{% endblock %} | |
4 | 4 |
index 60ee007..e7fb841 | |||
old size: 2K - new size: 2K | |||
@@ -1,4 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
1 | + | {% extends "templates/base.html" %} | |
2 | 2 | ||
3 | 3 | {% block title %}Library{% endblock %} | |
4 | 4 |
index 7337c3f..f24ce52 | |||
old size: 2K - new size: 972B | |||
@@ -1,45 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
2 | - | ||
3 | - | {% set data = query(""" | |
4 | - | PREFIX library: <dokk:vocab:library:> | |
5 | - | PREFIX license: <dokk:vocab:license:> | |
6 | - | ||
7 | - | CONSTRUCT { | |
8 | - | ?item library:title ?title ; | |
9 | - | library:author ?author ; | |
10 | - | license:licensed_under ?license . | |
11 | - | ||
12 | - | ?license license:id ?license_id ; | |
13 | - | license:name ?license_name . | |
14 | - | } | |
15 | - | WHERE { | |
16 | - | ?item | |
17 | - | library:title ?title ; | |
18 | - | library:author ?author ; | |
19 | - | license:licensed_under ?license . | |
20 | - | ||
21 | - | FILTER (?item = <dokk:""" + item_id + """>) | |
22 | - | ||
23 | - | OPTIONAL { | |
24 | - | ?license license:id ?license_id_optional ; | |
25 | - | license:name ?license_name_optional . | |
26 | - | } | |
27 | - | ||
28 | - | BIND(COALESCE(?license_id_optional, SUBSTR(STR(?license), 14)) AS ?license_id) | |
29 | - | BIND(COALESCE(?license_name_optional, SUBSTR(STR(?license), 14)) AS ?license_name) | |
30 | - | } | |
31 | - | """, | |
32 | - | { | |
33 | - | "@context": { | |
34 | - | "library": "dokk:vocab:library:", | |
35 | - | "license": "dokk:vocab:license:", | |
36 | - | "library:author": { "@container": "@set" }, | |
37 | - | "license:licensed_under": { "@container": "@set" } | |
38 | - | }, | |
39 | - | "library:title": {} | |
40 | - | } | |
41 | - | )["@graph"][0] | |
42 | - | %} | |
1 | + | {% extends "templates/base.html" %} | |
43 | 2 | ||
44 | 3 | {% block title %}{{ data['library:title'] }}{% endblock %} | |
45 | 4 |
index c1792cc..bf0208e | |||
old size: 336B - new size: 337B | |||
@@ -1,4 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
1 | + | {% extends "templates/base.html" %} | |
2 | 2 | ||
3 | 3 | {% block title %}Licenses{% endblock %} | |
4 | 4 |
index 0ec6978..4cead96 | |||
old size: 370B - new size: 371B | |||
@@ -1,4 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
1 | + | {% extends "templates/base.html" %} | |
2 | 2 | ||
3 | 3 | {% block title %}{{ data['license:name'] }}{% endblock %} | |
4 | 4 |
index 7b4bd3d..26c3550 | |||
old size: 906B - new size: 907B | |||
@@ -1,4 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
1 | + | {% extends "templates/base.html" %} | |
2 | 2 | ||
3 | 3 | {% block title %}Man pages named {{ name }} in section {{ section }}{% endblock %} | |
4 | 4 |
index f403bec..23ed03c | |||
old size: 627B - new size: 628B | |||
@@ -1,4 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
1 | + | {% extends "templates/base.html" %} | |
2 | 2 | ||
3 | 3 | {% block title %}{{ distribution }} {{ version }} man pages{% endblock %} | |
4 | 4 |
index 7bb4714..d15ddcb | |||
old size: 831B - new size: 609B | |||
@@ -1,17 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
2 | - | ||
3 | - | {% set data = query(""" | |
4 | - | PREFIX mp: <dokk:manpages:> | |
5 | - | ||
6 | - | SELECT ?name ?number | |
7 | - | WHERE { | |
8 | - | [] a mp:Distribution ; | |
9 | - | mp:name ?name ; | |
10 | - | mp:number ?number | |
11 | - | } | |
12 | - | ORDER BY ?name ?number | |
13 | - | """) | |
14 | - | %} | |
1 | + | {% extends "templates/base.html" %} | |
15 | 2 | ||
16 | 3 | {% block title %}man pages{% endblock %} | |
17 | 4 |
index a0e850d..c8379b4 | |||
old size: 762B - new size: 763B | |||
@@ -1,4 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
1 | + | {% extends "templates/base.html" %} | |
2 | 2 | ||
3 | 3 | {% block title %}{{ page["name"] }}({{ page["section"] }}){% endblock %} | |
4 | 4 | {% block stylesheets %} |
index 1988e36..73a0ebb | |||
old size: 688B - new size: 689B | |||
@@ -1,4 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
1 | + | {% extends "templates/base.html" %} | |
2 | 2 | ||
3 | 3 | {% block title %}{{ package }} ({{ distribution }} {{ version }}) man pages{% endblock %} | |
4 | 4 |
index 7d401ed..f3c2b4a | |||
old size: 661B - new size: 401B | |||
@@ -1,17 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
2 | - | ||
3 | - | {% set data = query(""" | |
4 | - | prefix comics: <dokk:vocab:comicstrip:> | |
5 | - | ||
6 | - | SELECT ?number ?title | |
7 | - | WHERE { | |
8 | - | [] comics:series <dokk:mimi_and_eunice>; | |
9 | - | comics:number ?number; | |
10 | - | comics:title ?title | |
11 | - | } | |
12 | - | ORDER BY ?number | |
13 | - | """) | |
14 | - | %} | |
1 | + | {% extends "templates/base.html" %} | |
15 | 2 | ||
16 | 3 | {% block title %}Mimi & Eunice{% endblock %} | |
17 | 4 |
index 02fd374..0d48798 | |||
old size: 952B - new size: 953B | |||
@@ -1,4 +1,4 @@ | |||
1 | - | {% extends "templates/base.tpl" %} | |
1 | + | {% extends "templates/base.html" %} | |
2 | 2 | ||
3 | 3 | {% block title %}Mimi&Eunice {{ data['comics:number'] }}: {{ data['comics:title'] }}{% endblock %} | |
4 | 4 |
index 4acd30a..4260d53 | |||
old size: 1005B - new size: 1015B | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | {% set title = "Virtual Hosting platform For Free Software" %} | |
2 | - | {% extends "templates/article.tpl" %} | |
2 | + | {% extends "templates/articles/article.html" %} | |
3 | 3 | ||
4 | 4 | {% block article %} | |
5 | 5 |
index 0000000..eb05362 | |||
old size: 0B - new size: 24B | |||
new file mode: -rw-r--r-- |
@@ -0,0 +1,2 @@ | |||
1 | + | User-agent: * | |
2 | + | Disallow: |