Skip to content

Latest commit

 

History

History
77 lines (64 loc) · 2.38 KB

index.md

File metadata and controls

77 lines (64 loc) · 2.38 KB
layout title tagline
page
OpenTechSchool
organizing tech workshops. Hands-on, awesome, and free.

{% include JB/setup %}

{% for post in site.posts %}
{% if post.authors %}
  {% for author_id in post.authors %}
    {% assign author = site.authors[author_id] %}

    {% if author.link %}
      <a href="{{author.link">{{author.name}}</a>{% if forloop.last == false -%}, {% endif %}
    {% else %}
      <a href="/authors.html#{{author_id}}">{{ author.name }}</a>{% if forloop.last == false -%}, {% endif %}
    {% endif %}
    
  {% endfor %}

{% else %}
  {% if post.author %}
    {% assign author_id = post.author %}
  {% else %}
      {% assign author_id = site.default_author %}
  {% endif %}    

  {% assign author = site.authors[author_id] %}

  {% if author.link %}
    <a href="{{author.link">{{author.name}}</a>
  {% else %}
    <a href="/authors.html#{{author_id}}">{{ author.name }} </a>
  {% endif %}
{% endif %}
&middot;    
{{ post.date | date_to_long_string }}
{% if post.image %} {% if post.image_alt %}{{ post.image_alt|escape }} {% else %}{{ post.title|escape }}{% endif %} {% endif %} {% if post.teaser %} {{ post.teaser | markdownify }} Read more → {% else %} {{ post.content }} {% endif %} Leave a comment!
{% endfor %}
<script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = '{{ site.JB.comments.disqus.short_name }}'; /* * * DON'T EDIT BELOW THIS LINE * * */ (function () { var s = document.createElement('script'); s.async = true; s.type = 'text/javascript'; s.src = 'http://' + disqus_shortname + '.disqus.com/count.js'; (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); }()); </script>