[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [webwml/master] Add newsletter link to nav



commit 8f5328eb4c99d1221664a1bb611d729472418f93
Author: hiromipaw <hiro@xxxxxxxxxxxxxx>
Date:   Fri Oct 27 14:20:32 2017 +0200

    Add newsletter link to nav
---
 en/navigation.wmi        |  1 +
 include/#navigation.wmi# | 29 +++++++++++++++++++++++++++++
 include/.#navigation.wmi |  1 +
 include/links.wmi        |  1 +
 press/en/sidenav.wmi     |  3 +++
 5 files changed, 35 insertions(+)

diff --git a/en/navigation.wmi b/en/navigation.wmi
index 504f29df..051a263e 100644
--- a/en/navigation.wmi
+++ b/en/navigation.wmi
@@ -12,6 +12,7 @@
         'docs/documentation'          , 'Documentation',
         'press/press'                 , 'Press',
         '<blog>'                      , 'Blog',
+        '<newsletter>'                , 'Newsletter',
 	'about/contact'			, 'Contact',
     );
     my @donatenav = (
diff --git a/include/#navigation.wmi# b/include/#navigation.wmi#
new file mode 100644
index 00000000..456b4f04
--- /dev/null
+++ b/include/#navigation.wmi#
@@ -0,0 +1,29 @@
+#!/usr/bin/wml
+
+## translation metadata
+# Revision: $Revision: 22069 $
+# Translation-Priority: 1-high
+
+<:
+    # path                              link text
+    my @navigation = (
+        'index'                        , 'Home',
+        'about/overview'              , 'About Tor',
+        'docs/documentation'          , 'Documentation',
+        'press/press'                 , 'Press',
+        '<blog>'                      , 'Blog',
+	'<newsletter>'                , 'Newsletter',
+        'about/contact'               , 'Contact',
+    );
+    my @donatenav = (
+        'index'                        , 'Home',
+        'about/overview'              , 'About Tor',
+        'about/contact'               , 'Contact',
+    );
+    my @calltoaction = (
+        'download/download-easy'           , 'Download',
+        'getinvolved/volunteer'            , 'Get Involved',
+        'donate/donate-button'             , 'Donate',
+    );
+
+:>
diff --git a/include/.#navigation.wmi b/include/.#navigation.wmi
new file mode 120000
index 00000000..de260ad0
--- /dev/null
+++ b/include/.#navigation.wmi
@@ -0,0 +1 @@
+hiro@coruscant.9885:1509102593
\ No newline at end of file
diff --git a/include/links.wmi b/include/links.wmi
index b7787dbb..afbc6991 100644
--- a/include/links.wmi
+++ b/include/links.wmi
@@ -9,6 +9,7 @@
 <define-tag wiki whitespace=delete>https://trac.torproject.org/projects/tor/wiki/</define-tag>
 <define-tag wikifaq whitespace=delete>https://trac.torproject.org/projects/tor/wiki/doc/TorFAQ</define-tag>
 <define-tag blog whitespace=delete>https://blog.torproject.org/blog/</define-tag>
+<define-tag newsletter whitespace=delete>https://newsletter.torproject.org</define-tag>
 <define-tag tbbrepo whitespace=delete>https://gitweb.torproject.org/torbrowser.git/blob_plain/HEAD:</define-tag>
 <define-tag specblob whitespace=delete>https://gitweb.torproject.org/torspec.git/tree/</define-tag>
 <define-tag spectree whitespace=delete>https://gitweb.torproject.org/torspec.git?a=tree;hb=HEAD;f=</define-tag>
diff --git a/press/en/sidenav.wmi b/press/en/sidenav.wmi
index f33d071e..fc89875f 100644
--- a/press/en/sidenav.wmi
+++ b/press/en/sidenav.wmi
@@ -22,6 +22,9 @@
       {'url'  => 'press/press',
        'txt'  => 'Tor Media and Press',
       }, 
+      {'url'  => 'https://newsletter.torproject.org/',
+       'txt'  => 'Tor Newsletter',
+      },
       {'url'  => 'https://blog.torproject.org/',
        'txt'  => 'Tor Blog',
       }, 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits