Added author image
* closes #8 Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
6
_data/author.yml
Normal file
6
_data/author.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
name: Jim Martens
|
||||||
|
image: /assets/images/jim.jpg
|
||||||
|
image_desc:
|
||||||
|
age: 23
|
||||||
|
location: Hamburg, Germany
|
||||||
|
cv_link: /cv
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
<div class="card" style="width: 20rem;">
|
||||||
|
<img class="card-img-top" src="{{ site.data.author.image }}" alt="Image of {{ site.data.author.name }}">
|
||||||
|
<div class="card-body">
|
||||||
|
<p class="card-text">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><span class="font-weight-bold">Name:</span> {{ site.data.author.name }}</li>
|
||||||
|
<li><span class="font-weight-bold">Age:</span> {{ site.data.author.age }}</li>
|
||||||
|
<li><span class="font-weight-bold">Location:</span> {{ site.data.author.location }}</li>
|
||||||
|
<li><a href="{{ site.data.author.cv_link }}">Further information...</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@ -5,10 +5,16 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
{% include header.html %}
|
{% include header.html %}
|
||||||
<main class="container">
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<main class="col-sm-9">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</main>
|
</main>
|
||||||
{% include sidebar.html %}
|
<div class="col-sm-3">
|
||||||
|
{% include sidebar.html %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% include footer.html %}
|
{% include footer.html %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
BIN
assets/images/jim.jpg
Normal file
BIN
assets/images/jim.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 745 KiB |
Reference in New Issue
Block a user