mirror of
https://github.com/aljazceru/cryptoanarchywiki.github.io.git
synced 2025-12-17 05:04:21 +01:00
64 lines
2.0 KiB
HTML
64 lines
2.0 KiB
HTML
---
|
|
layout: default
|
|
---
|
|
<article class="post">
|
|
|
|
<header class="post-header">
|
|
<h1 class="post-title">{{ page.title }}</h1>
|
|
<hr />
|
|
</header>
|
|
|
|
<div class="post-content">
|
|
{{ content }}
|
|
|
|
{% assign p_array = "" | split:"|" %}
|
|
{% for project in site.project %}
|
|
{% capture p_slug %}{{ project.url | split:"/" | last }},{{ project.url }}{% endcapture %}
|
|
{% assign p_slug_arr = p_slug | split:"," %}
|
|
{% assign p_array = p_array | push: p_slug_arr %}
|
|
{% endfor %}
|
|
|
|
<div class="projects">
|
|
{% include project_tags.html %}
|
|
{% for i in site.data.projects %}
|
|
<div class="project-item project-outer" data-tags='{{ i.tags | jsonify | downcase }}'>
|
|
<div class="project-inner">
|
|
<a href="/static/projects/{{ i.image }}" class="thickbox">
|
|
<div class="project-img bordered" style="background-image: url('/static/projects/{{ i.image }}');"></div>
|
|
</a>
|
|
{% assign p_url = nil %}
|
|
{% for pr in p_array %}
|
|
{% if pr contains i.slug %}
|
|
{% assign p_url = pr[1] %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% if p_url == nil %}{% assign p_url = i.url %}{% endif %}
|
|
{% if p_url %}<a class="project-detail" href="{{ p_url }}">{% endif %}
|
|
<h3 class="project-headlines">{{ i.name }}</h3>
|
|
{% if p_url %} </a> {% endif %}
|
|
<div class="project-content">
|
|
<div class="tag-holder">
|
|
{% if i.tags %}
|
|
{% for j in i.tags %}
|
|
<span class="tags tag-filter" data-tag="{{ j | downcase }}"><a href="#{{ j }}">{{ j }}</a></span>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
|
|
</div>
|
|
<div class="project-footer">
|
|
{% if i.url %}
|
|
<a href="{{ i.url }}" class="project-link" target="_blank"><i class="fa fa-globe"></i> View</a>
|
|
{% endif %}
|
|
<span class="project-timeline">{{ i.date }}</span>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
</div>
|
|
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
|
|
</article>
|