Browse Source

Migrate benkurtovic.com to gitea.

master
Ben Kurtovic 6 years ago
parent
commit
167500bc71
3 changed files with 10 additions and 9 deletions
  1. +6
    -0
      _includes/repo.html
  2. +1
    -1
      _layouts/base.html
  3. +3
    -8
      index.html

+ 6
- 0
_includes/repo.html View File

@@ -0,0 +1,6 @@
{% capture domain %}{% if project.host == "gitea" %}git.benkurtovic.com{% else %}github.com{% endif %}{% endcapture %}
{% capture user %}{% if project.host == "gitea" %}ben{% else %}earwig{% endif %}{% endcapture %}
<li>
<a class="underlined" href="https://{{ domain }}/{% if project.repo %}{{ project.repo }}{% else %}{{ user }}/{{ project.name }}{% endif %}">{{ project.name }}</a> <span class="subtitle"><i>({{ project.langs }} // started {{ project.started }}{% if project.incomplete %}<span class="incomplete"> // in development</span>{% endif %}{% if project.abandoned %}<span class="abandoned"> // abandoned</span>{% endif %})</i></span><br />
<span class="subtitle">{{ project.description }}</span>
</li>

+ 1
- 1
_layouts/base.html View File

@@ -24,7 +24,7 @@
<div id="container">
{{ content }}
<div id="footer">
<p>Copyright &copy; 2011&ndash;{{ site.time | date: "%Y" }} Ben&nbsp;Kurtovic &bull; <a href="https://github.com/earwig/benkurtovic.com">View&nbsp;Source</a> &bull; <a href="https://validator.w3.org/check?uri=referer">Valid&nbsp;HTML5</a></p>
<p>Copyright &copy; 2011&ndash;{{ site.time | date: "%Y" }} Ben&nbsp;Kurtovic &bull; <a href="https://git.benkurtovic.com/ben/benkurtovic.com">View&nbsp;Source</a> &bull; <a href="https://validator.w3.org/check?uri=referer">Valid&nbsp;HTML5</a></p>
</div>
</div>
</body>


+ 3
- 8
index.html View File

@@ -98,6 +98,7 @@ projects:
started: June 2011
description: A console script that allows you to easily pull to multiple git repositories at once
- name: benkurtovic.com
host: gitea
langs: Web
started: June 2011
description: The site you're viewing right now in source code form
@@ -124,19 +125,13 @@ projects:
<h3>Highlights</h3>
<ul class="work-list">
{% for project in page.projects["highlights"] %}
<li>
<a class="underlined" href="https://github.com/{% if project.repo %}{{ project.repo }}{% else %}earwig/{{ project.name }}{% endif %}">{{ project.name }}</a> <span class="subtitle"><i>({{ project.langs }} // started {{ project.started }}{% if project.incomplete %}<span class="incomplete"> // in development</span>{% endif %}{% if project.abandoned %}<span class="abandoned"> // abandoned</span>{% endif %})</i></span><br />
<span class="subtitle">{{ project.description }}</span>
</li>
{% include repo.html %}
{% endfor %}
</ul>
<h3>Other work</h3>
<ul class="work-list">
{% for project in page.projects["others"] %}
<li>
<a class="underlined" href="https://github.com/{% if project.repo %}{{ project.repo }}{% else %}earwig/{{ project.name }}{% endif %}">{{ project.name }}</a> <span class="subtitle"><i>({{ project.langs }} // started {{ project.started }}{% if project.incomplete %}<span class="incomplete"> // in development</span>{% endif %}{% if project.abandoned %}<span class="abandoned"> // abandoned</span>{% endif %})</i></span><br />
<span class="subtitle">{{ project.description }}</span>
</li>
{% include repo.html %}
{% endfor %}
</ul>
</td>


Loading…
Cancel
Save