summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/templates
diff options
context:
space:
mode:
Diffstat (limited to 'clams-server/src/main/resources/templates')
-rw-r--r--clams-server/src/main/resources/templates/404.html6
-rw-r--r--clams-server/src/main/resources/templates/home.html8
-rw-r--r--clams-server/src/main/resources/templates/layout.html2
-rw-r--r--clams-server/src/main/resources/templates/post.html2
-rw-r--r--clams-server/src/main/resources/templates/posts-search.html14
-rw-r--r--clams-server/src/main/resources/templates/posts.html10
-rw-r--r--clams-server/src/main/resources/templates/projects.html8
7 files changed, 25 insertions, 25 deletions
diff --git a/clams-server/src/main/resources/templates/404.html b/clams-server/src/main/resources/templates/404.html
index bb4c4d5..3a655ae 100644
--- a/clams-server/src/main/resources/templates/404.html
+++ b/clams-server/src/main/resources/templates/404.html
@@ -4,10 +4,10 @@
<main class="main-container">
<div class="error-container">
<div class="error-code">404</div>
- <h1>Page Not Found</h1>
- <p>The page you are looking for does not exist.</p>
+ <h1>Fil iIkke Funnet</h1>
+ <p>Filen du ser etter finnes ikke.</p>
<p class="error-home-link">
- <a href="/">Return to Home Page</a>
+ <a href="/">Tilbake til Hemmesiden</a>
</p>
</div>
</main>
diff --git a/clams-server/src/main/resources/templates/home.html b/clams-server/src/main/resources/templates/home.html
index 242d501..745b487 100644
--- a/clams-server/src/main/resources/templates/home.html
+++ b/clams-server/src/main/resources/templates/home.html
@@ -2,18 +2,18 @@
{% block content %}
<main class="main-container">
- <h1>Elias Haugsbakk's Webpage</h1>
+ <h1>Elias Haugsbakk sin Nettside</h1>
<div class="content-grid">
<div class="left-column">
<img src="/images/elias_haugsbakk.jpeg" alt="Image of Elias Haugsbakk" class="profile-img">
- <p>Hello! I am Elias. This is my personal website for projects, writings, and code.</p>
- <p>I'm currently studying Computer Science at NTNU, Trondheim.</p>
+ <p>Hei! Jeg heter Elias og dette er nettsiden min hvor du finner prosjekter, kode og en blog.</p>
+ <p>Nå studerer jeg for å bli Dataingeniør ved NTNU i Trondheim.</p>
</div>
<div class="right-column">
<ul>
- <li><a href="/projects">Projects</a> <span class="description"></span></li>
+ <li><a href="/projects">Prosjekter</a> <span class="description"></span></li>
<li><a href="/posts">Blog</a> <span class="description"></span></li>
<li><a href="https://github.com/eliashaugsbakk">GitHub</a> <span class="description"></span></li>
</ul>
diff --git a/clams-server/src/main/resources/templates/layout.html b/clams-server/src/main/resources/templates/layout.html
index 1460721..08b2fc7 100644
--- a/clams-server/src/main/resources/templates/layout.html
+++ b/clams-server/src/main/resources/templates/layout.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="en">
+<html lang="no">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
diff --git a/clams-server/src/main/resources/templates/post.html b/clams-server/src/main/resources/templates/post.html
index d20bda6..b4aa034 100644
--- a/clams-server/src/main/resources/templates/post.html
+++ b/clams-server/src/main/resources/templates/post.html
@@ -2,7 +2,7 @@
{% block content %}
<main class="main-container">
- <a href="/posts" class="back-link-top">&larr; back</a>
+ <a href="/posts" class="back-link-top">&larr; hjem</a>
<header class="post-header">
<span class="post-date">{{ published_date }}</span>
<span class="post-author">{{ author }}</span>
diff --git a/clams-server/src/main/resources/templates/posts-search.html b/clams-server/src/main/resources/templates/posts-search.html
index 34a2ed5..a63c987 100644
--- a/clams-server/src/main/resources/templates/posts-search.html
+++ b/clams-server/src/main/resources/templates/posts-search.html
@@ -2,14 +2,14 @@
{% block content %}
<main class="main-container">
- <a href="/posts" class="back-link-top">&larr; back</a>
+ <a href="/posts" class="back-link-top">&larr; hjem</a>
<header>
- <h1>My posts</h1>
- <p class="intro-text">For search: "<strong>{{ search_term }}</strong>" -- Found {{ results_count }} matching posts</p>
+ <h1>Blog</h1>
+ <p class="intro-text">Søk etter: "<strong>{{ search_term }}</strong>" -- Fant {{ results_count }} resultater.</p>
<form action="/posts" method="GET" class="search-form">
<input type="text" name="search" value="{{ search_term }}" placeholder="Search posts..." aria-label="Search posts">
- <button type="submit" class="pill-button">Search</button>
+ <button type="submit" class="pill-button">Søk</button>
</form>
</header>
@@ -17,10 +17,10 @@
{% if results is empty %}
<div class="no-results">
{% if search_term is empty %}
- <p>Please enter a search term to search the posts. Or <a href="/posts">go back to all posts</a>.</p>
+ <p>Skriv inn et søk. Eller <a href="/posts">gå tilbake til alle innlegg</a>.</p>
{% else %}
- <p>Found no posts matching <strong>"{{ search_term }}"</strong>. <br>
- <a href="/posts">Go back to all posts</a>.</p>
+ <p>Fant ingen resultater for <strong>"{{ search_term }}"</strong>. <br>
+ <a href="/posts">Gå tilbake til alle innlegg</a>.</p>
{% endif %}
</div>
{% else %}
diff --git a/clams-server/src/main/resources/templates/posts.html b/clams-server/src/main/resources/templates/posts.html
index 3eecd62..ed15beb 100644
--- a/clams-server/src/main/resources/templates/posts.html
+++ b/clams-server/src/main/resources/templates/posts.html
@@ -2,20 +2,20 @@
{% block content %}
<main class="main-container">
- <a href="/" class="back-link-top">&larr; back</a>
+ <a href="/" class="back-link-top">&larr; hjem</a>
<header>
<h1>Blog</h1>
- <p class="intro-text">My blog posts.</p>
+ <p class="intro-text">Ta en titt på bloggen min da vel.</p>
<form action="/posts" method="GET" class="search-form">
- <input type="text" name="search" value="{{ search_value }}" placeholder="Search posts..."
+ <input type="text" name="search" value="{{ search_value }}" placeholder="Søk i innlegg..."
aria-label="Search posts">
- <button type="submit" class="pill-button">Search</button>
+ <button type="submit" class="pill-button">Søk</button>
</form>
</header>
<section id="all" class="posts-section">
- <h2>All Posts</h2>
+ <h2>Alle Innlegg</h2>
{% for group in posts_by_year %}
<details class="year-accordion" {% if loop.first %}open{% endif %}>
<summary class="year-toggle">{{ group.key }}</summary>
diff --git a/clams-server/src/main/resources/templates/projects.html b/clams-server/src/main/resources/templates/projects.html
index 6e31def..fbd973f 100644
--- a/clams-server/src/main/resources/templates/projects.html
+++ b/clams-server/src/main/resources/templates/projects.html
@@ -2,9 +2,9 @@
{% block content %}
<main class="main-container">
- <a href="/" class="back-link-top">&larr; back</a>
+ <a href="/" class="back-link-top">&larr; hjem</a>
<header>
- <h1>Projects</h1>
+ <h1>Prosjekter</h1>
</header>
<section class="projects-category">
@@ -17,10 +17,10 @@
</div>
<div class="project-actions">
{% if project.readMoreUrl %}
- <a href="{{ project.readMoreUrl }}" class="pill-button">Read More</a>
+ <a href="{{ project.readMoreUrl }}" class="pill-button">Les Mer</a>
{% endif %}
{% if project.gitUrl %}
- <a href="{{ project.gitUrl }}" class="pill-button">Self-Hosted Git</a>
+ <a href="{{ project.gitUrl }}" class="pill-button">Git repo</a>
{% endif %}
{% if project.gitHubUrl %}
<a href="{{ project.gitHubUrl }}" class="pill-button">GitHub</a>