blog post tags added

parent 4ec19024
- slug: monero missives
name: Monero Missives
- slug: conferences
name: Conferences
- slug: exchanges
name: Exchanges
- slug: gui
name: Monero Core GUI
- slug: usability
name: Usability
- slug: dev diaries
name: Dev Diaries
- slug: mining
name: Mining
- slug: i2p
name: i2p
- slug: rpc
name: RPC API
- slug: docs
name: Documentation
- slug: branding
name: Branding and Graphics
- slug: compliance
name: Standards Compliance
- slug: crypto
name: Cryptography
---
layout: default
---
{% assign filename = page.path | remove: '.md' | split: '/' | last %}
{% for data_tag in site.data.tags %}
{% if data_tag.slug == filename %}
{% assign tag = data_tag %}
{% endif %}
{% endfor %}
<h1>{% t tags.all %}: <span class="kicks">{{ tag.name }}</span></h1>
<div>
{% if site.tags[tag.slug] %}
{% for post in site.tags[tag.slug] %}
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
<blockquote>
{{ post.summary }}
</blockquote>
{% endfor %}
{% else %}
<h3>There are no posts for this tag.</h3>
{% endif %}
</div>
<!DOCTYPE html>
<html lang="en">
<html>
{% include head.html %}
......
<!DOCTYPE html>
<html lang="en">
<body>
{{ content }}
</body>
</html>
---
layout: default
---
{% assign post = page %}
{% if post.tags.size > 0 %}
{% capture tags_content %}Post tags {% if post.tags.size == 1 %}<i class="fa fa-tag"></i>{% else %}<i class="fa fa-tags"></i>{% endif %}: {% endcapture %}
{% for post_tag in post.tags %}
{% for data_tag in site.data.tags %}
{% if data_tag.slug == post_tag %}
{% assign tag = data_tag %}
{% endif %}
{% endfor %}
{% if tag %}
{% capture tags_content_temp %}{{ tags_content }}<a href="/blog/tags/{{ tag.slug }}">{{ tag.name }}</a>{% if forloop.last == false %}, {% endif %}{% endcapture %}
{% assign tags_content = tags_content_temp %}
{% endif %}
{% endfor %}
{% else %}
{% assign tags_content = '' %}
{% endif %}
<article>
<header>
<h2>{{ page.title }}</h2>
......@@ -11,6 +29,6 @@ layout: default
<div class="entry">{{ content }}</div>
<footer><!-- additional info --></footer>
<footer><p id="post-meta">{{ tags_content }}</p></footer>
</article>
\ No newline at end of file
{% include language_cookie.php %}
<!DOCTYPE html>
<html lang="en">
<html>
{% include head.html %}
......
......@@ -86,4 +86,6 @@ blog:
title_1: All
title_2: Blog
title_3: Posts
tagged: Tagged under
\ No newline at end of file
tagged: Tagged under
tags:
all: Articles by Tag
---
layout: none
---
<pre>
{% for post in site.posts %}{% for tag in post.tags %}{{ tag }}
{% endfor %}{% endfor %}
</pre>
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: blog_by_tag
---
\ No newline at end of file
---
layout: default
translated_name: files.simplewallet
---
#How to Use simplewallet
......
---
layout: default
translated_name: files.vocab
---
#Vocab
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment