Commit Graph

1645 Commits

Author SHA1 Message Date
str4d
cc292624d2 Tweak the color of the second- and third-level menus 2012-12-20 02:07:24 +00:00
str4d
d99220f113 Added side borders to .inner and rounded the top corners 2012-12-20 01:42:23 +00:00
str4d
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
str4d
d7bce01288 Removed unnecessary block at end of __init__.py 2012-12-19 21:32:10 +00:00
str4d
d633b4a704 Split off urls 2012-12-19 21:30:06 +00:00
str4d
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
str4d
9def101b32 Split of template functions into a separate file 2012-12-19 13:02:16 +00:00
str4d
53d9e40303 Split off downloads code 2012-12-19 12:52:05 +00:00
str4d
7701835ece Moved root file views into i2p2www.views, and committed this file (which was missed earlier) 2012-12-19 12:39:53 +00:00
str4d
c7b8d77da0 Made change_theme() more stable (so 404 pages render properly) 2012-12-19 12:25:19 +00:00
str4d
30876c09f3 Use the new get_flag() template function in the Language menu 2012-12-19 12:18:14 +00:00
str4d
bc57b82753 Added shorthand functions to make language handling more stable 2012-12-19 12:13:51 +00:00
str4d
2ce24d59d3 Removed unused imports 2012-12-19 12:00:12 +00:00
str4d
91a70314e3 Added regionalization support to LangConverter 2012-12-19 11:55:05 +00:00
str4d
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
str4d
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
str4d
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
str4d
85c2ca464c Added a few legacy pages (and distinguished them from pages that are now functions) 2012-12-19 10:55:11 +00:00
str4d
7dbf4a35bd Split off legacy support code 2012-12-19 10:30:49 +00:00
str4d
5a088b76c7 Split off meetings code 2012-12-19 07:59:22 +00:00
str4d
3ff5e146dc Moved meetings/* to meetings/logs/ (ready for splitting out meetings code) 2012-12-19 06:58:07 +00:00
str4d
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
str4d
8f9e8fb178 Added LazyView from http://flask.pocoo.org/docs/patterns/lazyloading/ to helpers 2012-12-19 05:28:01 +00:00
str4d
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
str4d
c9a4c5e77c Add canonical link to <head> of each page 2012-12-19 04:51:36 +00:00
str4d
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
str4d
fe4852a9eb Display current language flag next to the Language menu (for easier identification) 2012-12-19 04:08:41 +00:00
str4d
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
str4d
e6287d4edb Fixed a url-building error on support/faq 2012-12-19 02:07:10 +00:00
str4d
db3a7de35d Moved the old (but not replaced) pages into misc/ 2012-12-19 01:58:58 +00:00
str4d
914492e625 Moved the last few unsorted pages into misc/ (and ports into docs/) 2012-12-19 01:47:48 +00:00
str4d
32db04d701 Rounded bottom corners of .lastupdated box 2012-12-18 00:44:54 +00:00
str4d
18e26d6cc3 Replace half of .inner padding with margin -> adds side border to all pages 2012-12-18 00:42:19 +00:00
str4d
9acb01be7a Added Google Code as an HTTPS mirror, sorted mirrors file by org 2012-12-17 22:19:39 +00:00
str4d
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
str4d
68ce69fdd1 Add title to blog ATOM feed link on front page 2012-12-17 21:36:43 +00:00
str4d
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
str4d
6772b46563 Migrated over meetings 211 and 212 2012-12-17 21:21:47 +00:00
str4d
0a5b848f95 0.9.4 2012-12-17 20:35:52 +00:00
str4d
b8a1626b16 Fix after merge 2012-12-17 20:33:43 +00:00
str4d
f1d24a789e propagate from branch 'i2p.www' (head 971d4d05ac64f68ff6e38fc3d7d322fa606b9bba)
to branch 'i2p.www.revamp' (head ae515df68ffa8ba8e348ddd0a8fec7bd3c7e8ad2)
2012-12-17 20:30:50 +00:00
str4d
1f65a8110e Migrated over 0.9.4 release page 2012-12-17 19:55:08 +00:00
str4d
8abb298656 propagate from branch 'i2p.www' (head 76427e8477fdb3faaf94a7352015e957e2a6f1c0)
to branch 'i2p.www.revamp' (head 2b6601322d54558bb7f8923141d8b300928afdf7)
2012-12-17 19:47:51 +00:00
str4d
f7c84f3473 Removed duplicate links from footer, and added theme changing links 2012-12-15 21:57:32 +00:00
str4d
a9b34ce7ad Updated links in support/* 2012-12-15 13:12:54 +00:00
str4d
471178471a Updated links in about/* 2012-12-15 13:01:44 +00:00
str4d
7775b8ed48 Missed __init__.py in last commit 2012-12-15 13:01:09 +00:00
str4d
885d8fc2a4 Added mail.i2p to i2pconv list so emails can be rewritten 2012-12-15 12:54:30 +00:00
str4d
61bc5a5f19 Updated internal links in downloads/* 2012-12-15 12:49:03 +00:00
str4d
6ee28ea429 Added feed icon for blog to front page 2012-12-15 12:09:29 +00:00