RBLicht content fixes. Add about. Add CV using site segments
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f6f090ead6
commit
3c93a5ccdf
8 changed files with 199 additions and 126 deletions
57
content/layouts/base-nonav.njk
Normal file
57
content/layouts/base-nonav.njk
Normal file
|
@ -0,0 +1,57 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
<link href="https://unpkg.com/prism-themes@1.9.0/themes/prism-nord.css" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="https://unpkg.com/simplelightbox@2.14.3/dist/simple-lightbox.min.css" />
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="language" content="English" />
|
||||
<meta name="google-site-verification" content="x17arJy33V33DYnmMYybZciXngFd8R8xn1UZRdp7qxo" />
|
||||
|
||||
<link rel="canonical" href="{{site.url}}{{page.url | url}}" />
|
||||
|
||||
{%if tags.includes("blogpost")%}
|
||||
<meta property="og:type" content="article" />
|
||||
{%if description %}
|
||||
<meta property="description" content="{{description}}" />
|
||||
<meta property="og:description" content="{{description}}" />
|
||||
{% endif %}
|
||||
<meta property="og:title" content="{{title}}" />
|
||||
<meta property="og:url" content="{{site.url}}{{page.url | url}}" />
|
||||
<meta property="og:sitename" content="{{site.title}}" />
|
||||
<meta property="og:image" content="{{site.url}}/img/RB-w.png" />
|
||||
{%endif%}
|
||||
|
||||
|
||||
<title>{% if title %}{{title}} | {% endif %}{{site.title}}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
{{content | safe}}
|
||||
|
||||
<script src="//instant.page/5.2.0" type="module"
|
||||
integrity="sha384-jnZyxPjiipYXnSU0ygqeac2q7CVYMbh84q0uHVRRxEtvFPiQYbXWUorga2aqZJ0z"></script>
|
||||
<script data-goatcounter="https://goatcounter.riksolo.com/count" async
|
||||
src="//goatcounter.riksolo.com/count.js"></script>
|
||||
<script src="//unpkg.com/simplelightbox@2.14.3/dist/simple-lightbox.min.js"></script>
|
||||
<script>
|
||||
new SimpleLightbox('.gallery a', {
|
||||
widthRatio: 0.9,
|
||||
heightRatio: 0.95,
|
||||
captionSelector: '.gallery-caption',
|
||||
captionType: 'text',
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,93 +1,7 @@
|
|||
{% macro navItem(title, url, hyphen=true, target='_self') %}
|
||||
<span>
|
||||
<a href="{{url}}" target="{{target}}">{{title}}</a>
|
||||
{% if hyphen %} - {% endif %}
|
||||
</span>
|
||||
{% endmacro %}
|
||||
---
|
||||
layout: 'base-nonav.njk'
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
<html>
|
||||
{%include "navbar.njk"%}
|
||||
|
||||
<head>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
<link href="https://unpkg.com/prism-themes@1.9.0/themes/prism-nord.css" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="https://unpkg.com/simplelightbox@2.14.3/dist/simple-lightbox.min.css" />
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="language" content="English" />
|
||||
<meta name="google-site-verification" content="x17arJy33V33DYnmMYybZciXngFd8R8xn1UZRdp7qxo" />
|
||||
|
||||
<link rel="canonical" href="{{site.url}}{{page.url | url}}" />
|
||||
|
||||
{%if tags.includes("blogpost")%}
|
||||
<meta property="og:type" content="article" />
|
||||
{%if description %}
|
||||
<meta property="description" content="{{description}}" />
|
||||
<meta property="og:description" content="{{description}}" />
|
||||
{% endif %}
|
||||
<meta property="og:title" content="{{title}}" />
|
||||
<meta property="og:url" content="{{site.url}}{{page.url | url}}" />
|
||||
<meta property="og:sitename" content="{{site.title}}" />
|
||||
<meta property="og:image" content="{{site.url}}/img/RB-w.png" />
|
||||
{%endif%}
|
||||
|
||||
|
||||
<title>{% if title %}{{title}} | {% endif %}{{site.title}}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="nav">
|
||||
<a class="d-inline-block main-logo" href="/">
|
||||
<img src="/img/RB-w.png" alt="RB logo" eleventy:widths="100" />
|
||||
Rik Berkelder
|
||||
</a>
|
||||
<div class="nav-links">
|
||||
<div class="d-inline-block">
|
||||
{{navItem("Home", "/")}}
|
||||
<span class="rblicht-hide">
|
||||
{{navItem("Blog", "/blog")}}
|
||||
</span>
|
||||
{{navItem("Portfolio", "/portfolio", false)}}
|
||||
</div>
|
||||
<div class="d-inline-block">
|
||||
<span> | </span>
|
||||
<span class="rblicht-hide">
|
||||
{{navItem("Mastodon", "https://dook.business/@RikSolo")}}
|
||||
</span>
|
||||
{{navItem("Instagram", "https://instagram.com/RikBerkelder", false)}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</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
|
||||
src="//goatcounter.riksolo.com/count.js"></script>
|
||||
<script src="//unpkg.com/simplelightbox@2.14.3/dist/simple-lightbox.min.js"></script>
|
||||
<script>
|
||||
new SimpleLightbox('.gallery a', {
|
||||
widthRatio: 0.9,
|
||||
heightRatio: 0.95,
|
||||
captionSelector: '.gallery-caption',
|
||||
captionType: 'text',
|
||||
});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
if (window.location.href.includes("rblicht.nl")) {
|
||||
document.querySelectorAll(".rblicht-hide").forEach(e => { e.style.display = 'none'; });
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
{{content | safe}}
|
Loading…
Add table
Add a link
Reference in a new issue