datat.fi/_includes/cv/intro.html

19 lines
754 B
HTML
Raw Normal View History

2017-03-17 15:37:30 +02:00
<header class="intro">
2017-03-07 23:12:17 +02:00
<div class="inner">
<div class="intro-text">
<h1 class="intro-title">{{ cv.basics.name | default: page.title | markdownify | remove: '<p>' | remove: '</p>' }}</h1>
{% if cv.basics.label %}
<p class="intro-subtitle">{{ cv.basics.label | markdownify | remove: '<p>' | remove: '</p>' }}</p>
{% endif %}
{% if page.actions %}
<ul class="intro-actions">
{% for action in page.actions %}
<li><a href="{{ action.url }}" class="btn">{% if action.icon %}<span class="icon">{% include {{ action.icon | prepend: 'icon-' | append: '.svg' }} %}</span>{% endif %}{{ action.label }}</a></li>
{% endfor %}
</ul>
{% endif %}
</div>
</div>
2017-03-17 15:37:30 +02:00
</header>