New Theme

This commit is contained in:
2020-11-21 14:13:16 +01:00
parent 9bc54d475f
commit cbc70ca8e1
593 changed files with 13702 additions and 14006 deletions

View File

@@ -0,0 +1,16 @@
{% if page.show_profile %}
<div class="card-deck">
<div class="card bg-light col-xs-6 mb-4">
<div class="card-body text-center">
{% include components/profile-avatar.html %}
</div>
</div>
<div class="card bg-light col-xs-6 mb-4">
<div class="card-body">
{% include components/profile-body.html %}
</div>
</div>
</div>
{% endif %}

20
_includes/bars/nav.html Normal file
View File

@@ -0,0 +1,20 @@
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top justify-content-between">
<div class="container">
<a class="navbar-brand font-weight-bold" href="{{ "/" | relative_url }}">{{site.title}}</a>
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarContent" >
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav ml-auto">
{% for item in site.data.nav %}
<li class="nav-item">
<a href='{% if item.href contains ":" %}{% else %}{{ "/" | relative_url }}{% endif %}{{ item.href }}'
class="nav-link">
{{ item.title }}
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</nav>

30
_includes/bars/side.html Normal file
View File

@@ -0,0 +1,30 @@
{% if page.show_profile %}
<div class="card bg-light">
<div class="card-body text-center">
{{site.author.name}}
{% include components/profile-avatar.html %}
{% include components/profile-body.html %}
</div>
</div>
{% endif %}
{% if page.show_tags %}
{% include components/all-tags.html %}
{% endif %}
{% if page.show_skills %}
{% include components/all-skills.html %}
{% endif %}
{% if page.path contains '_projects' %}
{% include components/project-meta.html %}
{% endif %}
{% if page.path contains 'courses' %}
{% include components/project-meta.html %}
{% endif %}
{% if page.path contains '_posts' %}
{% include components/post-meta.html %}
{% endif %}