equal
deleted
inserted
replaced
1 """ |
1 """ |
2 Templates for HTML output |
2 Templates for HTML output |
3 """ |
3 """ |
4 |
4 |
5 import html |
5 import html, version |
6 from html import tags |
6 from html import tags |
7 |
7 |
8 def link_from (source, target) : |
8 def link_from (source, target) : |
9 """ |
9 """ |
10 Returns a partial a tag linking from the given page to the given page |
10 Returns a partial a tag linking from the given page to the given page |
180 |
180 |
181 # other content |
181 # other content |
182 body, |
182 body, |
183 |
183 |
184 # footer |
184 # footer |
185 tags.p(id='about')(tags.a(href='http://projects.qmsk.net/degal')('Degal'), gallery.version) |
185 tags.p(id='about')( |
|
186 "Generated using", |
|
187 tags.a(href='http://projects.qmsk.net/degal')('Degal'), |
|
188 "version", |
|
189 tags.a(href=version.VERSION_URL)(version.VERSION_STRING), |
|
190 ) |
186 ], |
191 ], |
187 ) |
192 ) |
188 |
193 |