[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tpo/staging] Update to press model
commit 5134b6baea39d15ee6451a7c997eab504d415e53
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date: Wed Mar 27 10:49:26 2019 +0100
Update to press model
---
content/press/contents.lr | 8 ++++----
content/press/new-release-tails/contents.lr | 2 --
content/press/new-release-tor-browser/contents.lr | 2 --
content/press/new-release-tor/contents.lr | 2 --
models/post.ini | 1 -
models/press.ini | 2 --
6 files changed, 4 insertions(+), 13 deletions(-)
diff --git a/content/press/contents.lr b/content/press/contents.lr
index d360c09..2176b41 100644
--- a/content/press/contents.lr
+++ b/content/press/contents.lr
@@ -2,6 +2,10 @@ _template: layout.html
---
_model: press
---
+_discoverable: yes
+---
+_hidden: no
+---
section: The Tor Project
---
section_id: the_tor_project
@@ -12,8 +16,4 @@ color: primary
---
title: Press
---
-_discoverable: yes
----
-_hidden: no
----
body: Email inquiries to press[@]torproject.org.
diff --git a/content/press/new-release-tails/contents.lr b/content/press/new-release-tails/contents.lr
index 025a222..e1c6b38 100644
--- a/content/press/new-release-tails/contents.lr
+++ b/content/press/new-release-tails/contents.lr
@@ -1,7 +1,5 @@
_model: post
---
-_hidden: yes
----
active: True
---
type: release
diff --git a/content/press/new-release-tor-browser/contents.lr b/content/press/new-release-tor-browser/contents.lr
index 91ee759..c6f4739 100644
--- a/content/press/new-release-tor-browser/contents.lr
+++ b/content/press/new-release-tor-browser/contents.lr
@@ -1,7 +1,5 @@
_model: post
---
-_hidden: yes
----
active: True
---
type: release
diff --git a/content/press/new-release-tor/contents.lr b/content/press/new-release-tor/contents.lr
index e0a4bc1..9301145 100644
--- a/content/press/new-release-tor/contents.lr
+++ b/content/press/new-release-tor/contents.lr
@@ -1,7 +1,5 @@
_model: post
---
-_hidden: yes
----
active: True
---
type: release
diff --git a/models/post.ini b/models/post.ini
index 5276910..3c78581 100644
--- a/models/post.ini
+++ b/models/post.ini
@@ -1,7 +1,6 @@
[model]
name = Post
label = {{ this.name }}
-hidden = yes
[fields.title]
label = Title
diff --git a/models/press.ini b/models/press.ini
index c3c4dca..3757f1b 100644
--- a/models/press.ini
+++ b/models/press.ini
@@ -1,8 +1,6 @@
[model]
name = Press
label = {{ this.title }}
-discoverable = yes
-hidden = no
[fields.title]
label = Title
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits