d3423f8e8b9c7e6a9d2dd064c9dcb06fd89ac1a7
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

1) #!/usr/bin/wml
2) 
3) ## translation metadata
4) # Revision: $Revision: 0 $
5) # Translation-Priority: 2-medium
6) 
7) # this structure defines the side nav bar for the /about pages
8) # and is the input for include/side.wmi
9) 
10) # fields:
11) #
12) # name - the $WML_SRC_BASENAME of the file. It should uniquely identify the
13) # page because at build-time it is used to determine what view of the
14) # navigation menu to generate
15) #
16) # url - the path to the wml page, as used the the <page> tag. This tag ensures
17) # that links will point to the current language if supported, and alternately
18) # the english version 
19) #
20) # txt - the link text to be displayed. Different translations will
21) # need to supply alternate txt 
22)  
23) <:
24)   my $sidenav;
25)   $sidenav = [
Andrew Lewman kill the dead project pages...

Andrew Lewman authored 13 years ago

26)       {'url'  => 'projects/projects',
27)        'txt'  => 'Software &amp; Services',
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

28)        'subelements' => [
Andrew Lewman fix links to torbutton sect...

Andrew Lewman authored 13 years ago

29)           {'url'  => 'torbutton/torbutton',
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

30)            'txt'  => 'TorButton',
31)            'subelements' => [
Andrew Lewman get the website to build cl...

Andrew Lewman authored 13 years ago

32)               {'url' => 'torbutton/torbutton-options',
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

33)                'txt' => 'TorButton Options',
34)               },
Andrew Lewman get the website to build cl...

Andrew Lewman authored 13 years ago

35)               {'url' => 'torbutton/torbutton-faq',
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

36)                'txt' => 'TorButton FAQ',
37)               },
Andrew Lewman fix up projects sidenav, re...

Andrew Lewman authored 13 years ago

38)               {'url'  => 'https://check.torproject.org',
39)                'txt'  => 'TorCheck',
40)               }, 
41)               {'url'  => 'projects/sampleproject',
42)                'txt'  => 'SampleProject',
43)               }]
44)           }]
45)         }];