20c331f7b3
Fixed a row alignment issue in danimoth's theme
2012-12-23 12:06:40 +00:00
5f235ec115
Use HTML5 <article> tag in duck's layout
2012-12-23 12:05:10 +00:00
97c0cee69a
Started merging navigation into a common template header
...
The navbar on danimoth's theme is now absolutely positioned, which
does mean that on pages without the .news div, there is an empty
space above the navbar
2012-12-23 12:02:39 +00:00
e86522886b
Handle the sidebar better in the older themes
2012-12-23 10:50:17 +00:00
4c5f6f1bf3
Enable themes to have different I2P logos, with a default fallback
2012-12-23 01:36:44 +00:00
dcf058d78e
Tweaked old themes for new topbar template layout
2012-12-23 01:28:11 +00:00
1217dbe264
Merged template layout of topbar for duck's and danimoth's themes
2012-12-23 00:05:58 +00:00
c106e2fbd2
Don't display the language menu in sidebar for danimoth theme
2012-12-22 00:41:01 +00:00
8557308e0e
Added danimoth's theme to footer
2012-12-22 00:37:54 +00:00
dff49f3844
Tweaks to get danimoth's theme looking as close as possible to the original
2012-12-22 00:37:11 +00:00
23199aaa7d
Temporarily patched in danimoth's layout into layout.html
2012-12-21 22:48:27 +00:00
589cf4f981
Added danimoth's CSS
2012-12-21 22:47:54 +00:00
e9e453a506
Temporarily enable loading of an externally-hosted CSS file
2012-12-21 05:15:42 +00:00
8fbf352b64
Rearranged constants and added comments
2012-12-20 04:49:25 +00:00
3c3b4ed706
Moved ver() into templatevars so only need to change I2P version in one place
2012-12-20 04:46:37 +00:00
9527fcd19c
Attempt to prevent title text overlapping with the header image (though second line sits behind the menu...)
2012-12-20 04:41:03 +00:00
e6e11fa905
Migrated docs index over to lastupdated and accuratefor tags
2012-12-20 02:08:53 +00:00
cc292624d2
Tweak the color of the second- and third-level menus
2012-12-20 02:07:24 +00:00
d99220f113
Added side borders to .inner and rounded the top corners
2012-12-20 01:42:23 +00:00
f1a1d63e2a
Changes to the menubar CSS to bring it as close to duck's original theme as possible
2012-12-20 01:41:26 +00:00
d7bce01288
Removed unnecessary block at end of __init__.py
2012-12-19 21:32:10 +00:00
d633b4a704
Split off urls
2012-12-19 21:30:06 +00:00
0312088547
Removed rel="nofollow" from the footer links to the t-shirt sites (they aren't mirrors)
2012-12-19 20:53:18 +00:00
9def101b32
Split of template functions into a separate file
2012-12-19 13:02:16 +00:00
53d9e40303
Split off downloads code
2012-12-19 12:52:05 +00:00
7701835ece
Moved root file views into i2p2www.views, and committed this file (which was missed earlier)
2012-12-19 12:39:53 +00:00
c7b8d77da0
Made change_theme() more stable (so 404 pages render properly)
2012-12-19 12:25:19 +00:00
30876c09f3
Use the new get_flag() template function in the Language menu
2012-12-19 12:18:14 +00:00
bc57b82753
Added shorthand functions to make language handling more stable
2012-12-19 12:13:51 +00:00
2ce24d59d3
Removed unused imports
2012-12-19 12:00:12 +00:00
91a70314e3
Added regionalization support to LangConverter
2012-12-19 11:55:05 +00:00
66dca619d7
Moved site_url macro into context processor so could use hasattr(g, 'lang') to fix a bug
2012-12-19 11:43:40 +00:00
487e9ae935
Added / to the end of the base legacy url route
...
This is required because Flask is forcing (via 301) / to be appended to the url
which previously resulted in no rule matching legacy pages. We could disable
strict_slashes to fix this, but it might cause issues elsewhere.
2012-12-19 11:37:11 +00:00
3da2868589
Added LangConverter so that /en/ can be distinguished from legacy urls like /faq
...
This is required because "site/" was removed from the urls, but a little backend
trickery is usually necessary to get the urls looking right ^_^
2012-12-19 11:29:33 +00:00
85c2ca464c
Added a few legacy pages (and distinguished them from pages that are now functions)
2012-12-19 10:55:11 +00:00
7dbf4a35bd
Split off legacy support code
2012-12-19 10:30:49 +00:00
5a088b76c7
Split off meetings code
2012-12-19 07:59:22 +00:00
3ff5e146dc
Moved meetings/* to meetings/logs/ (ready for splitting out meetings code)
2012-12-19 06:58:07 +00:00
785f627d7a
Reorganized site and blog views and helpers to use LazyView
...
This increases the speed of the site by not requiring the site and blog code to
be imported on every request - just those that are relevant. It also splits the
code into modules which are easier to work with.
2012-12-19 06:53:59 +00:00
8f9e8fb178
Added LazyView from http://flask.pocoo.org/docs/patterns/lazyloading/ to helpers
2012-12-19 05:28:01 +00:00
254fab592c
Removed "site/" from the main site URLs
...
It seems that Werkzeug doesn't get confused between /en/blog/ and /en/<path:page>
2012-12-19 04:58:44 +00:00
c9a4c5e77c
Add canonical link to <head> of each page
2012-12-19 04:51:36 +00:00
8b5633c881
Added rel="alternate" hreflang="XX" to language changer links
...
AFAICT these attributes are meant to be on <link> tags, but it shouldn't hurt
having them here instead (though if it doesn't help and <link> tags need to be
added, then this commit should probably be reverted).
2012-12-19 04:29:43 +00:00
fe4852a9eb
Display current language flag next to the Language menu (for easier identification)
2012-12-19 04:08:41 +00:00
766c8059f4
Keep the current website's title for the front page (to help keep its existing page rank for "anonymous network")
2012-12-19 02:53:11 +00:00
1f2cf9a1b4
correct my links to meeting 213
2012-12-19 02:43:51 +00:00
e6287d4edb
Fixed a url-building error on support/faq
2012-12-19 02:07:10 +00:00
db3a7de35d
Moved the old (but not replaced) pages into misc/
2012-12-19 01:58:58 +00:00
7171dd07a4
add last meeting to the meetings pages
2012-12-19 01:50:00 +00:00
914492e625
Moved the last few unsorted pages into misc/ (and ports into docs/)
2012-12-19 01:47:48 +00:00