aboutsummaryrefslogtreecommitdiff
path: root/website/themes/beastie/layouts/partials/sidenav.html
blob: 5e562ca9501a4f2e276f92735612278f1e72d418 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{{ $currentLang := .language }}
{{ if eq .sidenavType "about" }}
<ul>
  <li><a href={{ "about/" | absLangURL }}>{{ i18n "about" }}</a></li>
  <li><a href={{ "features/" | absLangURL }}>{{ i18n "features" }}</a></li>
  <li><a href={{ "applications/" | absLangURL }}>{{ i18n "applications" }}</a></li>
  <li><a href={{ "advocacy/" | absLangURL }}>{{ i18n "advocacy" }}</a></li>
  <li><a href={{ "marketing/" | absLangURL }}>{{ i18n "marketing" }}</a></li>
  <li><a href={{ "administration/" | absLangURL }}>{{ i18n "administration" }}</a></li>
  <li><a href={{ "news/" | absLangURL }}>{{ i18n "news" }}</a></li>
  <li><a href={{ "events" | absLangURL }}>{{ i18n "events" }}</a></li>
  <li><a href={{ "press" | absLangURL }}>{{ i18n "pressSidenav" }}</a></li>
  <li><a href={{ "multimedia" | absLangURL }}>{{ i18n "multimedia" }}</a></li>
  <li><a href={{ "art" | absLangURL }}>{{ i18n "art" }}</a></li>
  <li><a href={{ "logo" | absLangURL }}>{{ i18n "logo" }}</a></li>
  <li><a href={{ "donations" | absLangURL }}>{{ i18n "donations" }}</a></li>
  <li><a href={{ "copyright" | absLangURL }}>{{ i18n "legalNotices" }}</a></li>
  <li><a href={{ "privacy" | absLangURL }}>{{ i18n "privacy" }}</a></li>
</ul>
{{ else if eq .sidenavType "community" }}
<ul>
  <li><a href="https://www.bsdnow.tv/" target="_blank">BSD Now</a></li>
  <li><a href="https://discord.com/invite/n2wshsy" target="_blank">Discord</a></li>
  <li><a href={{ "events" | absLangURL }}>{{ i18n "events" }}</a></li>
  <li><a href="https://forums.FreeBSD.org/" target="_blank">{{ i18n "forums" }}</a></li>
  <li><a href="{{ "community/irc/" | absLangURL }}">IRC</a></li>
  <li><a href="{{ "community/mailinglists/" | absLangURL }}">{{ i18n "mailinglists" }}</a></li>
  <li><a href="https://www.reddit.com/r/freebsd/" target="_blank">Reddit</a></li>
  <li><a href="https://twitter.com/freebsd" target="_blank">Twitter</a></li>
  <li><a href="{{ "usergroups" | absLangURL }}">{{ i18n "usergroups" }}</a></li>
  <li><a href="https://www.youtube.com/FreeBSDProject" target="_blank">YouTube</a></li>
</ul>
{{ else if eq .sidenavType "developers" }}
<ul>
  <li><a href={{ "projects" | absLangURL }}>{{ i18n "Developers" }}</a></li>
  <li><a href={{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/books/developers-handbook/" }}>{{ i18n "developerHandbook" }}</a></li>
  <li><a href={{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/articles/committers-guide" }}>{{ i18n "committersGuide" }}</a></li>
  <li><a href={{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/books/porters-handbook/" }}>{{ i18n "porterHandbook" }}</a></li>
  <li><a href={{ "developers/cvs/" | absLangURL }}>{{ i18n "sourceCodeRepositories" }}</a></li>
  <li><a href={{ "releng" | absLangURL }}>{{ i18n "releng" }}</a></li>
  <li><a href={{ "platforms" | absLangURL }}>{{ i18n "platforms" }}</a></li>
  <li><a href="https://wiki.FreeBSD.org/IdeasPage">{{ i18n "ideas" }}</a></li>
  <li><a href={{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/articles/contributing/" }}>{{ i18n "contributing" }}</a></li>
</ul>
{{ else if eq .sidenavType "docs" }}
<ul>
  <li><a href={{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/" }}>{{ i18n "documentation" }}</a></li>
  <li><a href={{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/books/faq/" }}>{{ i18n "FAQ" }}</a></li>
  <li><a href={{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/books/handbook/" }}>{{ i18n "handbook" }}</a></li>
  <li><a href="https://man.FreeBSD.org">{{ i18n "man" }}</a></li>
  <li><a href="https://papers.freebsd.org/">{{ i18n "papers" }}</a></li>
  <li><a href={{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/" }}>{{ i18n "booksArticles" }}</a></li>
  <li><a href={{ "publish" | absLangURL }}>{{ i18n "publications" }}</a></li>
  <li><a href={{ "docs/webresources/" | absLangURL }}>{{ i18n "webresources" }}</a></li>
  <li><a href={{ "projects/newbies/" | absLangURL }}>{{ i18n "newbies" }}</a></li>
  <li><a href={{ "docproj" | absLangURL }}>{{ i18n "docproj" }}</a></li>
  <li><a href="https://docs.freebsd.org/doc/">{{ i18n "archive" }}</a></li>
</ul>
{{ else if eq .sidenavType "download" }}
<ul>
  <li><a href={{ "where" | absLangURL }}>{{ i18n "getFreeBSD" }}</a></li>
  <li>
    <a href={{ "releases" | absLangURL }}>{{ i18n "releases" }}</a>
    <ul>
      <li>{{ i18n "productionRelease" }}: <br /><a href={{ index .data.releases "u-rel131-announce" }}>{{ index .data.releases "rel131-current" }}</a></li>
      <li>{{ i18n "productionRelease" }}: <br /><a href={{ index .data.releases "u-rel130-announce" }}>{{ index .data.releases "rel130-current" }}</a></li>
      <li>{{ i18n "productionRelease" }}: <br /><a href={{ index .data.releases "u-rel123-announce" }}>{{ index .data.releases "rel123-current" }}</a></li>
    </ul>
  </li>
  <li>
    <a href={{ "snapshots" | absLangURL }}>{{ i18n "snapshotReleases" }}</a>
      <!--
      <ul>
        <li>{{ i18n "upcomingRelease" }}:<br /><a href={{ index .data.releases "u-betarel-schedule" }}>{{ index .data.releases "betarel-current" }}</a></li>
      </ul>
      -->
  </li>
  <li><a href={{ "ports" | absLangURL }}>{{ i18n "portedApplications" }}</a></li>
</ul>
{{ else if eq .sidenavType "gnome" }}
<ul>
  <li>
    <a href={{ "gnome" | absLangURL }}>{{ i18n "gnome" }}</a>
    <ul>
      <li><a href={{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/books/handbook/x11/#x11-wm-gnome" }}>{{ i18n "installationInstructions" }}</a></li>
      <li><a href={{ "gnome/screenshots/" | absLangURL }}>{{ i18n "screenshots" }}</a></li>
      <li><a href={{ "gnome/contact/" | absLangURL }}>{{ i18n "contactUs" }}</a></li>
    </ul>
  </li>
</ul>
{{ else if eq .sidenavType "ports" }}
<ul>
  <li><a href={{ "ports/" | absLangURL }}>{{ i18n "aboutPorts" }}</a></li>
  <li><a href={{ "ports/installing/" | absLangURL }}>{{ i18n "installing" }}</a></li>
  <li><a href={{ "ports/updating/" | absLangURL }}>{{ i18n "updating" }}</a></li>
  <li><a href={{ "ports/searching/" | absLangURL }}>{{ i18n "searching" }}</a></li>
  <li><a href={{ "ports/references/" | absLangURL }}>{{ i18n "moreInformation" }}</a></li>
  <li><a href="https://www.freshports.org/" target="_blank">FreshPorts</a></li>
</ul>
{{ else if eq .sidenavType "support" }}
<ul>
  <li><a href={{ "support" | absLangURL }}>{{ i18n "support" }}</a></li>
  <li>
    <a href={{ "commercial" | absLangURL }}>{{ i18n "vendors" }}</a>
    <ul>
      <li><a href={{ "commercial/software_bycat/" | absLangURL }}>{{ i18n "software" }}</a></li>
      <li><a href={{ "commercial/hardware/" | absLangURL }}>{{ i18n "hardware" }}</a></li>
      <li><a href={{ "commercial/consult_bycat/" | absLangURL }}>{{ i18n "consulting" }}</a></li>
      <li><a href={{ "commercial/isp/" | absLangURL }}>{{ i18n "ispCommercial" }}</a></li>
      <li><a href={{ "commercial/misc/" | absLangURL }}>{{ i18n "misc" }}</a></li>
    </ul>
  </li>
  <li>
    <a href={{ "security" | absLangURL }}>{{ i18n "securityInfo" }}</a>
    <ul>
      <li><a href={{ "security/advisories/" | absLangURL }}>{{ i18n "advisories" }}</a></li>
      <li><a href={{ "security/notices/" | absLangURL }}>{{ i18n "errataNoticesSidenav" }}</a></li>
      <li><a href={{ "security/#sup" | absLangURL }}>{{ i18n "supportedReleases" }}</a></li>
      <li><a href={{ "security/unsupported/" | absLangURL }}>{{ i18n "unsupportedReleases" }}</a></li>
      <li><a href={{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/books/handbook/#security-advisories" }}>{{ i18n "readSecurityAdvisories" }}</a></li>
      <li><a href={{ "security/charter/" | absLangURL }}>{{ i18n "charterSecurityOfficerTeam" }}</a></li>
    </ul>
  </li>
  <li>
    <a href={{ "support/bugreports/" | absLangURL }}>{{ i18n "bugreports" }}</a>
    <ul>
      <li><a href="https://bugs.FreeBSD.org/submit/">{{ i18n "submitPR" }}</a></li>
    </ul>
  </li>
  <li><a href={{ "support/webresources/" | absLangURL }}>{{ i18n "webresources" }}</a></li>
</ul>
{{ else }}
<ul>
  <li><a href={{ "about/" | absLangURL }}>{{ i18n "about" }}</a></li>
  <li><a href={{ "features/" | absLangURL }}>{{ i18n "features" }}</a></li>
  <li><a href={{ "applications/" | absLangURL }}>{{ i18n "applications" }}</a></li>
  <li><a href={{ "advocacy/" | absLangURL }}>{{ i18n "advocacy" }}</a></li>
  <li><a href={{ "marketing/" | absLangURL }}>{{ i18n "marketing" }}</a></li>
  <li><a href={{ "administration/" | absLangURL }}>{{ i18n "administration" }}</a></li>
  <li><a href={{ "news/newsflash/" | absLangURL }}>{{ i18n "news" }}</a></li>
  <li><a href={{ "events" | absLangURL }}>{{ i18n "events" }}</a></li>
  <li><a href={{ "press" | absLangURL }}>{{ i18n "pressSidenav" }}</a></li>
  <li><a href={{ "multimedia" | absLangURL }}>{{ i18n "multimedia" }}</a></li>
  <li><a href={{ "art" | absLangURL }}>{{ i18n "art" }}</a></li>
  <li><a href={{ "logo" | absLangURL }}>{{ i18n "logo" }}</a></li>
  <li><a href={{ "donations" | absLangURL }}>{{ i18n "donations" }}</a></li>
  <li><a href={{ "copyright" | absLangURL }}>{{ i18n "legalNotices" }}</a></li>
  <li><a href={{ "privacy" | absLangURL }}>{{ i18n "privacy" }}</a></li>
</ul>
{{ end }}