tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

home.html (1059B)


      1 ---
      2 layout: default
      3 ---
      4 
      5 <div class="home">
      6  {%- if page.title -%}
      7    <h1 class="page-heading">{{ page.title }}</h1>
      8  {%- endif -%}
      9 
     10  {{ content }}
     11 
     12  {%- if site.posts.size > 0 -%}
     13    <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
     14    <ul class="post-list">
     15      {%- for post in site.posts -%}
     16      <li>
     17        {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
     18        <span class="post-meta">{{ post.date | date: date_format }}</span>
     19        <h3>
     20            {% if post.external_url %}
     21            <a class="post-link" href="{{ post.external_url }}">{{ post.title | escape }}</a>
     22          {% else %}
     23            <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
     24          {% endif %}
     25        </h3>
     26        {%- if site.show_excerpts -%}
     27          {{ post.excerpt }}
     28        {%- endif -%}
     29      </li>
     30      {%- endfor -%}
     31    </ul>
     32 
     33    <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
     34  {%- endif -%}
     35 
     36 </div>