aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2018-12-10 13:34:01 +0000
committerStephane Desneux <stephane.desneux@iot.bzh>2018-12-10 13:35:57 +0000
commit3edb214fc37aa16f9f65c4c3dfff85774f62efe1 (patch)
tree18e9c075faef0dd7c668b3691b5a87b5aeb8e629
parentea152f6ded3a290783d726e72aee9c68a16f3241 (diff)
Disable TechPost section in rendering
The TechPost section is not maintained: this commit disables the TechPost section in the output. Bug-AGL: SPEC-2029 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
-rw-r--r--site/_includes/header.html2
-rw-r--r--site/_posts/_2016-01-01-sample-test-blog.md (renamed from site/_posts/2016-01-01-sample-test-blog.md)0
-rw-r--r--site/_posts/_2016-06-27-security-white-paper.md (renamed from site/_posts/2016-06-27-security-white-paper.md)0
-rw-r--r--site/_posts/_2016-07-02-markdown-tuto.md (renamed from site/_posts/2016-07-02-markdown-tuto.md)0
-rw-r--r--site/misc/feed.xml2
-rw-r--r--site/sitemap.xml2
-rw-r--r--site/techpost/_disabled_index.html (renamed from site/techpost/index.html)0
7 files changed, 6 insertions, 0 deletions
diff --git a/site/_includes/header.html b/site/_includes/header.html
index 6d69d6e..6828472 100644
--- a/site/_includes/header.html
+++ b/site/_includes/header.html
@@ -37,9 +37,11 @@
</div>
<div class="nav_bar_right">
<ul class="nav navbar-nav">
+{% comment %} <!-- disabled because posts are not updated - see SPEC-2029 -->
<li {% if page.blog_tab %}class="active"{% endif %}>
<a href="{{ site.baseurl }}/techpost" id="blog_button">TechPost<span class="badge" id="new_blog_count"></span></a>
</li>
+{% endcomment %}
<li {% if page.contribute_tab %}class="active"{% endif %}>
<a href="{{ site.baseurl }}/contribute">Contribute</a>
</li>
diff --git a/site/_posts/2016-01-01-sample-test-blog.md b/site/_posts/_2016-01-01-sample-test-blog.md
index 884e8ca..884e8ca 100644
--- a/site/_posts/2016-01-01-sample-test-blog.md
+++ b/site/_posts/_2016-01-01-sample-test-blog.md
diff --git a/site/_posts/2016-06-27-security-white-paper.md b/site/_posts/_2016-06-27-security-white-paper.md
index dcf9780..dcf9780 100644
--- a/site/_posts/2016-06-27-security-white-paper.md
+++ b/site/_posts/_2016-06-27-security-white-paper.md
diff --git a/site/_posts/2016-07-02-markdown-tuto.md b/site/_posts/_2016-07-02-markdown-tuto.md
index c1a689a..c1a689a 100644
--- a/site/_posts/2016-07-02-markdown-tuto.md
+++ b/site/_posts/_2016-07-02-markdown-tuto.md
diff --git a/site/misc/feed.xml b/site/misc/feed.xml
index 626f4f9..debd36c 100644
--- a/site/misc/feed.xml
+++ b/site/misc/feed.xml
@@ -11,6 +11,7 @@ layout: null
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<generator>Jekyll v{{ jekyll.version }}</generator>
+{% comment %} <!-- posts disabled : SPEC-2029 -->
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
@@ -26,5 +27,6 @@ layout: null
{% endfor %}
</item>
{% endfor %}
+{% endcomment %}
</channel>
</rss>
diff --git a/site/sitemap.xml b/site/sitemap.xml
index 0e33063..3589b42 100644
--- a/site/sitemap.xml
+++ b/site/sitemap.xml
@@ -4,9 +4,11 @@
<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>
<!-- posts -->
+{% comment %} <!-- posts disabled: SPEC-2029 -->
{% for post in site.posts %}
{% include sitemap_entry.html url=post.url change_frequency=post.change_frequency priority=post.priority %}
{% endfor %}
+{% endcomment %}
<!-- pages -->
{% for site_page in site.pages %}
diff --git a/site/techpost/index.html b/site/techpost/_disabled_index.html
index 46be3d8..46be3d8 100644
--- a/site/techpost/index.html
+++ b/site/techpost/_disabled_index.html