aboutsummaryrefslogtreecommitdiffstats
path: root/site/techpost
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-11-08 12:39:57 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2016-11-10 14:53:01 +0100
commitc530e84843444a40804e0c2b038c2ec53fe411b2 (patch)
tree1a9eebf49fd85027ba472bad8c178d686bad8d56 /site/techpost
webdocs-agl: added developer website template
Change-Id: I4a45ee0ad5dd0c29a6d6876a0e02cd5550c010e9 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'site/techpost')
-rw-r--r--site/techpost/index.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/site/techpost/index.html b/site/techpost/index.html
new file mode 100644
index 0000000..2a1b63d
--- /dev/null
+++ b/site/techpost/index.html
@@ -0,0 +1,60 @@
+---
+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">
+ {% include twitterFeed.html %}
+ </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 %}