portfolio content, styling
Some checks failed
Build / Deploy (push) Failing after 2m24s
Some checks failed
Build / Deploy (push) Failing after 2m24s
This commit is contained in:
parent
afcdd8ed12
commit
2d182e6391
70 changed files with 367 additions and 120 deletions
6
content/layouts/base-container.njk
Normal file
6
content/layouts/base-container.njk
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
layout: base.njk
|
||||
---
|
||||
<div class="container">
|
||||
{{content | safe}}
|
||||
</div>
|
|
@ -58,11 +58,11 @@
|
|||
{{navItem("Instagram", "https://instagram.com/RikBerkelder", false)}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{{content | safe}}
|
||||
|
||||
</div>
|
||||
|
||||
{{content | safe}}
|
||||
|
||||
<script src="//instant.page/5.2.0" type="module"
|
||||
integrity="sha384-jnZyxPjiipYXnSU0ygqeac2q7CVYMbh84q0uHVRRxEtvFPiQYbXWUorga2aqZJ0z"></script>
|
||||
<script data-goatcounter="https://goatcounter.riksolo.com/count" async
|
||||
|
|
20
content/layouts/portfolio.njk
Normal file
20
content/layouts/portfolio.njk
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
layout: base.njk
|
||||
---
|
||||
<div class="portfolio-detail">
|
||||
<div class="portfolio-detail-header container">
|
||||
<h1>{{title}}</h1>
|
||||
<span>{{description}}</span>
|
||||
<a href="/portfolio"><- Back to overview</a>
|
||||
<span>
|
||||
{{content | safe}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="portfolio-detail-images">
|
||||
{% for image in data.images %}
|
||||
<img src="{{image}}" alt="" loading="lazy" />
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue