aboutsummaryrefslogtreecommitdiffstats
path: root/site/techpost/_disabled_index.html
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:34:01 +0000
commit32537e84454101bb99324aa546ffec8ece8050b5 (patch)
tree02537d8b51dc5328b62b04359c724f21b1544246 /site/techpost/_disabled_index.html
parent6cee6fe207eb717cd51d9589371ccf1d01d2bd01 (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>
Diffstat (limited to 'site/techpost/_disabled_index.html')
-rw-r--r--site/techpost/_disabled_index.html62
1 files changed, 62 insertions, 0 deletions
diff --git a/site/techpost/_disabled_index.html b/site/techpost/_disabled_index.html
new file mode 100644
index 0000000..46be3d8
--- /dev/null
+++ b/site/techpost/_disabled_index.html
@@ -0,0 +1,62 @@
+---
+layout: blog
+title: Blog
+change_frequency: weekly
+priority: 0.7
+---
+
+<div class="row">
+ <div class="col-sm-8 blog-list">
+ <h1 class="blogHeader">
+ Blog
+ <span class="rss">
+ <img src="{{ site.baseurl }}/static/img/subscribe.png"><a href="{{ site.baseurl }}{{ site.rss_path }}">RSS Feed</a>
+ </span>
+ </h1>
+ <ul class="posts">
+ {% for post in site.posts %}
+ <li>
+ <header>
+ <div class="adorner" blogTime="{{ post.date | date_to_rfc822 }}"></div>
+ <h2 class="title">
+ <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
+ </h2>
+ <div class="details">
+ <span class="date">{{ post.date | date_to_string }}</span>
+ - by
+ <span class="author">
+ {% if post.author.url %}
+ <a href="{{ post.author.url }}">{{ post.author.name }}</a>
+ {% else %}
+ {{ post.author.name }}
+ {% endif %}
+ </span>
+ <!--<a class="comment" href="{{ site.baseurl }}{{ post.url }}#disqus_thread"></a>-->
+ </div>
+ </header>
+ <section class="post-excerpt">
+ <p>{{ post.excerpt }}</p>
+ <div><a href="{{ site.baseurl }}{{ post.url }}">More...</a></div>
+ </section>
+ </li>
+ {% endfor %}
+ </ul>
+ <!-- <a target="_blank" href="http://feed1.w3.org/check.cgi?url={{ site.baseurl }}{{ site.rss_path }}"><img src="{{ site.baseurl }}/static/img/valid-rss-rogers.png" alt="[Valid RSS]" title="Validate my RSS feed" /></a> -->
+ </div>
+ <div class="col-sm-4 social-container">
+ {% comment %}
+ {% include twitterFeed.html %}
+ {% endcomment %}
+ </div>
+</div>
+
+<script>
+ window.onload = function(){
+ setTimeout(function(){
+ var lastPostTime = new Date("{{ site.posts[0].date | date_to_rfc822 }}").getTime();
+ setCookie("visitTime", lastPostTime, 365);
+ }, 2000);
+ };
+</script>
+
+{% include comment_count.html %}