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

[tor-commits] [community/master] Fix breadcrumbs



commit ecdb5013c3030e20b79d9509e07980e6afe800cb
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Thu Sep 12 18:25:30 2019 +0200

    Fix breadcrumbs
---
 content/relay-operations/technical-setup/guard/contents.lr | 2 ++
 lego                                                       | 2 +-
 templates/breadcrumb.html                                  | 1 +
 templates/macros/parent.html                               | 1 +
 templates/macros/resources.html                            | 9 +--------
 templates/two-columns-page.html                            | 1 +
 6 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/content/relay-operations/technical-setup/guard/contents.lr b/content/relay-operations/technical-setup/guard/contents.lr
index 7cfa3dd..2e4fb97 100644
--- a/content/relay-operations/technical-setup/guard/contents.lr
+++ b/content/relay-operations/technical-setup/guard/contents.lr
@@ -1,5 +1,7 @@
 _model: page
 ---
+color: primary
+---
 title: Middle/Guard relay
 ---
 body: In this guide we describe how to setup a new Middle/Guard relay. Please choose your platform below.
diff --git a/lego b/lego
index 3d80025..8cb5f20 160000
--- a/lego
+++ b/lego
@@ -1 +1 @@
-Subproject commit 3d8002591b1a6df64e27624bd08d7a91d8e4c763
+Subproject commit 8cb5f20089a163b0a5134d841248778cb518bdf2
diff --git a/templates/breadcrumb.html b/templates/breadcrumb.html
new file mode 120000
index 0000000..583e450
--- /dev/null
+++ b/templates/breadcrumb.html
@@ -0,0 +1 @@
+../lego/templates/breadcrumb.html
\ No newline at end of file
diff --git a/templates/macros/parent.html b/templates/macros/parent.html
new file mode 120000
index 0000000..14b7799
--- /dev/null
+++ b/templates/macros/parent.html
@@ -0,0 +1 @@
+../../lego/templates/macros/parent.html
\ No newline at end of file
diff --git a/templates/macros/resources.html b/templates/macros/resources.html
deleted file mode 100644
index e632faf..0000000
--- a/templates/macros/resources.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% macro render_resource(item) %}
-<tr>
-    <td><a href="{{ item|url }}">{{ item.file }}</a></td>
-    <td>{{ item.description }}</td>
-    <td>{{ item.type}}</td>
-    <td>{{ item.date }}</td>
-</tr>
-{% endmacro %}
diff --git a/templates/macros/resources.html b/templates/macros/resources.html
new file mode 120000
index 0000000..fa7524a
--- /dev/null
+++ b/templates/macros/resources.html
@@ -0,0 +1 @@
+../../lego/templates/macros/resources.html
\ No newline at end of file
diff --git a/templates/two-columns-page.html b/templates/two-columns-page.html
index 199a452..a4fa3f6 100644
--- a/templates/two-columns-page.html
+++ b/templates/two-columns-page.html
@@ -1,6 +1,7 @@
 <div class="row pt-5">
   {% include 'sidenav.html' %}
   <div class="col-sm-12 col-xs-12 col-md-8 col-lg-8 mr-auto {{ bag('alternatives', this.alt, 'order') }}">
+    {% include 'breadcrumb.html' %}
     {{ this.body }}
     <div class="row">
     {% for child in this.children|sort(attribute='key') %}

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