aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/fiksgatami/about/_sidebar.html15
-rw-r--r--templates/web/fiksgatami/about/faq-nb.html4
-rw-r--r--templates/web/fiksgatami/about/faq-nn.html4
3 files changed, 21 insertions, 2 deletions
diff --git a/templates/web/fiksgatami/about/_sidebar.html b/templates/web/fiksgatami/about/_sidebar.html
new file mode 100644
index 000000000..0a21454f5
--- /dev/null
+++ b/templates/web/fiksgatami/about/_sidebar.html
@@ -0,0 +1,15 @@
+<div class="sticky-sidebar">
+ <aside>
+ <ul class="plain-list">
+ <li>[% INCLUDE link h='/faq' t=loc('Frequently Asked Questions') %]</li>
+ <!-- <li>[% INCLUDE link h='/privacy' t=loc('Privacy and cookies') %]</li> -->
+ <li>[% INCLUDE link h='/contact' t=tprintf(loc("Contact %s", "%s is the site name"), site_name) %]</li>
+ </ul>
+ </aside>
+</div>
+
+[% BLOCK link -%]
+<[% IF c.req.uri.path == h %]strong[% ELSE %]a href="[% h %]"[% END %]>
+[%- t -%]
+</[% IF c.req.uri.path == h %]strong[% ELSE %]a[% END %]>
+[%- END %]
diff --git a/templates/web/fiksgatami/about/faq-nb.html b/templates/web/fiksgatami/about/faq-nb.html
index da35cb03c..05a48f02b 100644
--- a/templates/web/fiksgatami/about/faq-nb.html
+++ b/templates/web/fiksgatami/about/faq-nb.html
@@ -1,4 +1,6 @@
-[% INCLUDE 'header.html', title => loc('Frequently Asked Questions') %]
+[% INCLUDE 'header.html', title => loc('Frequently Asked Questions'), bodyclass = 'twothirdswidthpage' %]
+
+[% INCLUDE 'about/_sidebar.html' %]
<h1>Ofte stilte spørsmål</h1>
<dl>
diff --git a/templates/web/fiksgatami/about/faq-nn.html b/templates/web/fiksgatami/about/faq-nn.html
index 161cfbea5..af0f5af75 100644
--- a/templates/web/fiksgatami/about/faq-nn.html
+++ b/templates/web/fiksgatami/about/faq-nn.html
@@ -1,4 +1,6 @@
-[% INCLUDE 'header.html', title => loc('Frequently Asked Questions') %]
+[% INCLUDE 'header.html', title => loc('Frequently Asked Questions'), bodyclass = 'twothirdswidthpage' %]
+
+[% INCLUDE 'about/_sidebar.html' %]
<h1>Ofte stilte spurnader</h1>
<dl>