New Theme
This commit is contained in:
17
_includes/components/all-tags.html
Normal file
17
_includes/components/all-tags.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% include utilities/group-by-array.html collection=site.posts field="tags" %}
|
||||
|
||||
<div class="sticky-top space-before">
|
||||
<div class="card bg-light">
|
||||
<div class="card-body p-2">
|
||||
<div class="card-title">
|
||||
<h5>Filter by Tag</h5>
|
||||
</div>
|
||||
{% for tag in group_names %}
|
||||
<a class="d-inline-block bg-white border rounded p-1 mr-1 mb-1 tag tag-{{ tag | slugify }}"
|
||||
href="#{{tag | slugify}}">
|
||||
{{ tag }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
3
_includes/components/intro.md
Normal file
3
_includes/components/intro.md
Normal file
@@ -0,0 +1,3 @@
|
||||
Friday Theme is a theme for Jekyll using Bootstrap 4.4 designed to build a great personal web site with a portfolio, blog and project documentation. It is compatible with GitHub Pages. It supports all the Bootstrap components, it has blogs with tags, it has syntax highlighting and it has SVG icons. It is customisable with SCSS by simply changing the default boostrap variables.
|
||||
|
||||
It is maintained by Simon Freytag on [GitHub](https://github.com/sfreytag/friday-theme) and it was built originally for [Simon's own portfolio](http://www.freytag.org.uk).
|
||||
19
_includes/components/lecture-meta.html
Normal file
19
_includes/components/lecture-meta.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="sticky-top space-before">
|
||||
<div class="card bg-light mb-3 space-before">
|
||||
<div class="card-body">
|
||||
<div class="card-title">
|
||||
<h5>På denne siden</h5>
|
||||
</div>
|
||||
<ul class="nav flex-column nav-pills header-list">
|
||||
</ul>
|
||||
<div class="d-flex align-items-center mt-2">
|
||||
<span class="icon grey mr-1">
|
||||
{% include entypo/arrow-left.svg %}
|
||||
</span>
|
||||
<a href="{% link list/projects.md %}">Back to the contents</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
26
_includes/components/post-card.html
Normal file
26
_includes/components/post-card.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<div class="card card-post w-100 border-top-0 border-left-0 border-right-0 rounded-0 mb-4">
|
||||
<div class="card-body px-0 pt-0">
|
||||
<h4 class="card-title mb-4">
|
||||
<a href="{{ post.url | absolute_url }}">{{ post.title }}</a>
|
||||
</h4>
|
||||
<h6 class="card-subtitle mb-3 text-secondary">
|
||||
{{ post.date | date_to_string }}
|
||||
</h6>
|
||||
<div class="card-text d-flex align-items-center mb-2">
|
||||
<span class="icon grey mr-2 mb-1">
|
||||
{% include entypo/price-tag.svg %}
|
||||
</span>
|
||||
<div>
|
||||
{% for tag in post.tags %}
|
||||
<span class="d-inline-block border rounded p-1 mr-1 mb-1 tag tag-{{ tag | slugify}}">
|
||||
{{ tag }}
|
||||
</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-text mb-0">
|
||||
{{ post.excerpt }}
|
||||
</div>
|
||||
<a href="{{ post.url | absolute_url }}">More...</a>
|
||||
</div>
|
||||
</div>
|
||||
26
_includes/components/post-meta.html
Normal file
26
_includes/components/post-meta.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<div class="sticky-top space-before">
|
||||
<div class="card bg-light mb-3">
|
||||
<div class="card-body">
|
||||
<div class="card-title">
|
||||
<h5>{{ page.date | date_to_string }}</h5>
|
||||
</div>
|
||||
<div class="d-flex flex-wrap align-items-center">
|
||||
<span class="icon grey mr-2 mb-2">
|
||||
{%include entypo/price-tag.svg %}
|
||||
</span>
|
||||
{% for tag in page.tags %}
|
||||
<a href="{% link list/posts.html %}#{{ tag | slugify }}"
|
||||
class="bg-white border rounded p-1 mr-2 mb-2 d-inline-block">
|
||||
{{ tag }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="d-flex align-items-center mt-2">
|
||||
<span class="icon grey mr-1">
|
||||
{% include entypo/arrow-left.svg %}
|
||||
</span>
|
||||
<a href="{% link list/posts.html %}">Back to all posts</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
13
_includes/components/profile-avatar.html
Normal file
13
_includes/components/profile-avatar.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<p class="card-text d-none d-sm-block">
|
||||
<a href="{{ "/" | relative_url }}">
|
||||
<img class="profile-image rounded-circle w-75" src="{{ site.avatar | relative_url}}" />
|
||||
</a>
|
||||
</p>
|
||||
<h4 class="card-title d-none d-sm-block">{{site.name}}</h4>
|
||||
|
||||
<p class="card-text d-xs-flex d-sm-none">
|
||||
<a href="{{ "/" | relative_url }}">
|
||||
<img class="profile-image rounded-circle mr-2" src="{{ site.avatar | relative_url}}" style="width: 15% !important" />
|
||||
</a>
|
||||
<strong>{{site.name}}</strong>
|
||||
</p>
|
||||
10
_includes/components/profile-body.html
Normal file
10
_includes/components/profile-body.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<p class="card-text">
|
||||
{% for link in site.data.profile %}
|
||||
<a href="{{link.href}}" class="d-flex align-items-center mb-1">
|
||||
<span class="icon grey mr-2">
|
||||
{% include {{link.icon}} %}
|
||||
</span>
|
||||
<span class="text-nowrap">{{link.caption}}</span>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</p>
|
||||
19
_includes/components/project-meta.html
Normal file
19
_includes/components/project-meta.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="sticky-top space-before">
|
||||
<div class="card bg-light mb-3 space-before">
|
||||
<div class="card-body">
|
||||
<div class="card-title">
|
||||
<h5>På denne siden</h5>
|
||||
</div>
|
||||
<ul class="nav flex-column nav-pills header-list">
|
||||
</ul>
|
||||
<div class="d-flex align-items-center mt-2">
|
||||
<span class="icon grey mr-1">
|
||||
{% include entypo/arrow-left.svg %}
|
||||
</span>
|
||||
<a href="{% link list/projects.md %}">Back to the contents</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user