From 2d0a6c3313c870593ff387d7802a3fe17d92b0af Mon Sep 17 00:00:00 2001 From: str4d Date: Fri, 14 Sep 2012 02:03:44 +0000 Subject: [PATCH] Added a macro to simplify inserting site urls --- i2p2www/pages/global/layout.html | 3 +- i2p2www/pages/global/macros | 5 +++ i2p2www/pages/global/nav.html | 8 ++--- i2p2www/pages/global/urlify | 9 ----- i2p2www/pages/site/docs/how/cryptography.html | 14 ++++---- i2p2www/pages/site/docs/how/elgamalaes.html | 4 +-- .../pages/site/docs/how/garlicrouting.html | 16 ++++----- i2p2www/pages/site/docs/how/index.html | 32 ++++++++--------- i2p2www/pages/site/docs/how/intro.html | 22 ++++++------ .../site/docs/how/networkcomparisons.html | 4 +-- .../pages/site/docs/how/networkdatabase.html | 12 +++---- .../pages/site/docs/how/peerselection.html | 6 ++-- i2p2www/pages/site/docs/how/threatmodel.html | 36 +++++++++---------- .../pages/site/docs/how/tunnelrouting.html | 16 ++++----- i2p2www/pages/site/docs/techintro.html | 6 ++-- 15 files changed, 95 insertions(+), 98 deletions(-) create mode 100644 i2p2www/pages/global/macros delete mode 100644 i2p2www/pages/global/urlify diff --git a/i2p2www/pages/global/layout.html b/i2p2www/pages/global/layout.html index d66b24c6..6fc7fb43 100644 --- a/i2p2www/pages/global/layout.html +++ b/i2p2www/pages/global/layout.html @@ -1,3 +1,4 @@ +{%- from "global/macros" import site_url with context -%} @@ -10,7 +11,7 @@
Skip navigation
-

I2P

+

I2P

{{ self.title() }}