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
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
914492e625
Moved the last few unsorted pages into misc/ (and ports into docs/)
2012-12-19 01:47:48 +00:00
32db04d701
Rounded bottom corners of .lastupdated box
2012-12-18 00:44:54 +00:00
18e26d6cc3
Replace half of .inner padding with margin -> adds side border to all pages
2012-12-18 00:42:19 +00:00
9acb01be7a
Added Google Code as an HTTPS mirror, sorted mirrors file by org
2012-12-17 22:19:39 +00:00
262040fd30
Tweaked mirror code so mirror urls can contain the current I2P version, added Launchpad as HTTPS mirror
...
NOTE: this enables mirrors that require a version string to download the current version
of files. Older file versions will *not* be downloadable (that would require parsing the
requested filename to try and find a version). Hey, it's better than no support at all =)
2012-12-17 21:59:41 +00:00
68ce69fdd1
Add title to blog ATOM feed link on front page
2012-12-17 21:36:43 +00:00
a665d6153f
500 error page should have minimal reliance on the backend (so it doesn't error itself)
2012-12-17 21:31:55 +00:00
6772b46563
Migrated over meetings 211 and 212
2012-12-17 21:21:47 +00:00
0a5b848f95
0.9.4
2012-12-17 20:35:52 +00:00
b8a1626b16
Fix after merge
2012-12-17 20:33:43 +00:00
f1d24a789e
propagate from branch 'i2p.www' (head 971d4d05ac64f68ff6e38fc3d7d322fa606b9bba)
...
to branch 'i2p.www.revamp' (head ae515df68ffa8ba8e348ddd0a8fec7bd3c7e8ad2)
2012-12-17 20:30:50 +00:00
1f65a8110e
Migrated over 0.9.4 release page
2012-12-17 19:55:08 +00:00
5f802aff51
0.9.4
2012-12-17 19:48:38 +00:00
8abb298656
propagate from branch 'i2p.www' (head 76427e8477fdb3faaf94a7352015e957e2a6f1c0)
...
to branch 'i2p.www.revamp' (head 2b6601322d54558bb7f8923141d8b300928afdf7)
2012-12-17 19:47:51 +00:00
4d28722ec6
0.9.4
2012-12-17 17:35:48 +00:00
f7c84f3473
Removed duplicate links from footer, and added theme changing links
2012-12-15 21:57:32 +00:00
a9b34ce7ad
Updated links in support/*
2012-12-15 13:12:54 +00:00