Skip to content

Commit

Permalink
just some minor styling tweks
Browse files Browse the repository at this point in the history
  • Loading branch information
jksolbakken committed Jul 9, 2024
1 parent 1a821ae commit 7fa52ed
Show file tree
Hide file tree
Showing 5 changed files with 172 additions and 153 deletions.
29 changes: 23 additions & 6 deletions website/src/_data/mydata.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
[
{
"title": "James Midzi",
"description": "A site to showcase Eleventy features by building a site.",
"keywords": "eleventy, 11ty, css, ssg"
"title": "Really cool stuff",
"description": "Doesn't get much cooler than this.",
"keywords": "stuff, things"
},
{
"title": "Yolo",
"description": "description 2.",
"keywords": "eleventy"
"title": "Funky thang",
"description": "You know, stuff and things.",
"keywords": "things, thangs"
},
{
"title": "Funky thang",
"description": "You know, stuff and other things.",
"keywords": ""
}
,
{
"title": "Another funky thang",
"description": "You know, stuff and different things.",
"keywords": "yolo"
}
,
{
"title": "Yet one more funky thang",
"description": "You know, stuff and whatever.",
"keywords": "sup?"
}
]
20 changes: 11 additions & 9 deletions website/src/_includes/partials/_header.njk
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<header>
<a href="/">
<img src="/assets/images/oslo_logo.png" class="navlogo" alt="logo">
</a>
<nav>
<ul>
<li><a href="/">Home</a></li>
<img src="/assets/images/oslo_logo.png" class="navlogo"></img>
<input type="checkbox" id="nav-toggle" class="nav-toggle">
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/program">Program</a></li>
<li><a href="/venue">Venue</a></li>
<li><a href="/about">About</a></li>
</ul>
</nav>
</header>
</ul>
</nav>
<label for="nav-toggle" class="nav-toggle-label">
<span></span>
</label>
</header>
6 changes: 4 additions & 2 deletions website/src/_layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
<title>KCD - {{ title }}</title>
<link rel="stylesheet" href="/assets/css/style.css">
<link rel="shortcut icon" href="https://punkt-cdn.oslo.kommune.no/latest/logos/32x32-favicon.png" type="image/x-icon">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'self' https://fonts.googleapis.com; img-src 'self' https://punkt-cdn.oslo.kommune.no https://images.photowall.com; font-src 'self' https://fonts.gstatic.com; frame-src 'none'; frame-ancestors 'none'; form-action 'none'">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'self' https://fonts.googleapis.com; img-src 'self' https://punkt-cdn.oslo.kommune.no; font-src 'self' https://fonts.gstatic.com; frame-src 'none'; frame-ancestors 'none'; form-action 'none'">
<meta http-equiv="Permissions-Policy" content="accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), geolocation=(), gyroscope=(), keyboard-map=(), magnetometer=(), microphone=(), midi=(), navigation-override=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), sync-xhr=(), usb=(), web-share=(), xr-spatial-tracking=()">
</head>
<body>
{% include "partials/_header.njk" %}
{{content | safe}}
<div class="content">
{{content | safe}}
</div>
</body>
</html>
Loading

0 comments on commit 7fa52ed

Please sign in to comment.