Browse Source

data, jekyll: Add code repository

Jakub Valenta 3 years ago
parent
commit
a8d9d0c034
2 changed files with 11 additions and 1 deletions
  1. 3 1
      data.yml
  2. 8 0
      jekyll/_includes/header.html

+ 3 - 1
data.yml

@@ -12,7 +12,9 @@ name:
   en: Strategies to not be included. Free to use.
 author: Jakub Valenta
 dateCreated: 2015
-dateCreatedFormatted: "2015"
+dateCreatedFormatted: '2015'
+codeRepository:
+  "texts, exports and website": http://lab.jakubvalenta.cz/jakub/art-strategies
 artform:
   cs: text
   en: text

+ 8 - 0
jekyll/_includes/header.html

@@ -9,4 +9,12 @@
   </p>
   <meta itemprop="artform" content="{{ site.artform }}">
   <p><a href="{{ "/feed.xml" | prepend: site.baseurl }}">RSS</a></li></p>
+  {% if site.codeRepository %}
+  <p>
+    code:
+    {% for item in site.codeRepository %}
+    <a href="{{ item[1] }}" itemprop="codeRepository">{{ item[0] }}</a>
+    {% endfor %}
+  </p>
+  {% endif %}
 </header>