changed footer, added blogtags, removed .DS_Store's ++
This commit is contained in:
parent
f30cf1c80a
commit
d30e2d5185
14 changed files with 145 additions and 9 deletions
BIN
.DS_Store
vendored
BIN
.DS_Store
vendored
Binary file not shown.
BIN
archetypes/.DS_Store
vendored
BIN
archetypes/.DS_Store
vendored
Binary file not shown.
BIN
content/.DS_Store
vendored
BIN
content/.DS_Store
vendored
Binary file not shown.
|
@ -18,7 +18,7 @@ public class Me {
|
|||
}
|
||||
|
||||
public Favourites favs(self) {
|
||||
self.fav_sport = "bouldering && sportsclimbing";
|
||||
self.fav_sport = "bouldering && climbing";
|
||||
self.fav_color = "purple";
|
||||
self.fav_series = "Silicon Valley";
|
||||
self.fav_anime = "One Piece";
|
||||
|
@ -30,7 +30,6 @@ public class Me {
|
|||
self.github = "SindreKjelsrud";
|
||||
self.linkedin = "Sindre Kjelsrud";
|
||||
self.instagram = "sindrekjelsrud";
|
||||
self.strava = "Sindre Kjelsrud";
|
||||
self.spotify = "Kjelsrud!";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
title: "Breathing new life into my old GameBoy Color!"
|
||||
date: 2022-11-30T08:03:57+02:00
|
||||
description: "The pinnacle of Nostalgia."
|
||||
tags: ["Technology", "Nostalgia"]
|
||||
author: "Sindre Kjelsrud"
|
||||
draft: false
|
||||
---
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
title: "Why you should get the Nintendo Wii in 2023"
|
||||
date: 2023-02-06T10:03:57+02:00
|
||||
description: "Reason 1: Funky Kong."
|
||||
tags: ["Technology", "Nostalgia"]
|
||||
author: "Sindre Kjelsrud"
|
||||
image: https://www.turn-on.de/media/webp/media/cache/article_image_slider/media/cms/2015/06/wii.webp?356188
|
||||
draft: false
|
|
@ -33,7 +33,7 @@ Experience
|
|||
|
||||
Education
|
||||
---------
|
||||
2021 - todays' date
|
||||
2021 - present
|
||||
: **Bachelor, Information Technology**; Western Norway University of Applied Sciences, in Bergen
|
||||
|
||||
2020 - 2021
|
||||
|
@ -48,10 +48,14 @@ Education
|
|||
Extracurricular activity
|
||||
---------
|
||||
**Member, [friByte](https://fribyte.no) student organization**
|
||||
*2. semester of 2022*
|
||||
*Sep. 2022 - present*
|
||||
>Member of the student organization friByte in Bergen. friByte is an independent student organization that supplies secure and stable data services to other student organizations in Bergen.
|
||||
>This role generally contains maintenance and operation of IT systems, and the setup of different services for automatic deployment of other services.
|
||||
|
||||
**Leader, [friByte](https://fribyte.no) student organization**
|
||||
*Jan. 2022 - present*
|
||||
>This role includes administrative tasks, convene meetings, etc. as well as the regular member tasks.
|
||||
>During my leadership we've (so far) gotten two more members and a new client, plus we've hosted an successful Capture The Flag event.
|
||||
-----------------------------------------------
|
||||
|
||||
Projects
|
||||
|
@ -62,12 +66,13 @@ sidBot | Python
|
|||
<br><br>
|
||||
|
||||
My Personal Website | Hugo Framework
|
||||
: A personal website that gets updated during my education. [Github Repo](https://github.com/SindreKjelsrud/sindrekjelsrud.github.io)
|
||||
: A personal website that gets updated during my education.
|
||||
[Github Repo](https://github.com/SindreKjelsrud/sindrekjelsrud.github.io)
|
||||
|
||||
<br><br>
|
||||
|
||||
Wordle | Java (WIP)
|
||||
: A clone of the game Wordle. [Github Repo](https://github.com/SindreKjelsrud/Wordle)
|
||||
Wordle | Java
|
||||
: A clone of the game Wordle. (Has some bugs) [Github Repo](https://github.com/SindreKjelsrud/Wordle)
|
||||
|
||||
-----------------------------------------------
|
||||
|
||||
|
@ -77,7 +82,7 @@ Extra Section
|
|||
IT-skills
|
||||
: **Programming Languages:** Java, HTML/CSS, and basic knowledge of Python & postgreSQL.
|
||||
**Libraries & Frameworks:** Hugo
|
||||
**Tools:** Git, Office 365 (learning Docker & Vim)
|
||||
**Tools:** Git, Office 365
|
||||
|
||||
<br><br>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ _Sep. 2022 - Now, Hugo Framework_
|
|||
- Is a WIP, as I will continue to add small stuff and posts!
|
||||
---
|
||||
### Wordle 🔠
|
||||
_Oct. 2022 - Now, Java_
|
||||
_Oct. 2022 - Nov. 2022, Java_
|
||||
>Github Repo: <https://github.com/SindreKjelsrud/Wordle>
|
||||
- A recreation of the popular game [Wordle](https://www.nytimes.com/games/wordle/index.html) by Josh Wardle/The New York Times, written in Java.
|
||||
- Still needs some finishing touches.. (bug fixes, cleaning up code etc.)
|
||||
|
|
130
layouts/partials/footer.html
Normal file
130
layouts/partials/footer.html
Normal file
|
@ -0,0 +1,130 @@
|
|||
{{- if not (.Param "hideFooter") }}
|
||||
<footer class="footer">
|
||||
{{- if site.Copyright }}
|
||||
<span>{{ site.Copyright | markdownify }}</span>
|
||||
{{- else }}
|
||||
<span>{{ now.Year }} © <a href="{{ "" | absLangURL }}">Sindre Kjelsrud</a></span>
|
||||
{{- end }}
|
||||
</footer>
|
||||
{{- end }}
|
||||
|
||||
{{- if (not site.Params.disableScrollToTop) }}
|
||||
<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
|
||||
<path d="M12 6H0l6-6z" />
|
||||
</svg>
|
||||
</a>
|
||||
{{- end }}
|
||||
|
||||
{{- partial "extend_footer.html" . }}
|
||||
|
||||
<script>
|
||||
let menu = document.getElementById('menu')
|
||||
if (menu) {
|
||||
menu.scrollLeft = localStorage.getItem("menu-scroll-position");
|
||||
menu.onscroll = function () {
|
||||
localStorage.setItem("menu-scroll-position", menu.scrollLeft);
|
||||
}
|
||||
}
|
||||
|
||||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||
anchor.addEventListener("click", function (e) {
|
||||
e.preventDefault();
|
||||
var id = this.getAttribute("href").substr(1);
|
||||
if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
|
||||
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({
|
||||
behavior: "smooth"
|
||||
});
|
||||
} else {
|
||||
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView();
|
||||
}
|
||||
if (id === "top") {
|
||||
history.replaceState(null, null, " ");
|
||||
} else {
|
||||
history.pushState(null, null, `#${id}`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
{{- if (not site.Params.disableScrollToTop) }}
|
||||
<script>
|
||||
var mybutton = document.getElementById("top-link");
|
||||
window.onscroll = function () {
|
||||
if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) {
|
||||
mybutton.style.visibility = "visible";
|
||||
mybutton.style.opacity = "1";
|
||||
} else {
|
||||
mybutton.style.visibility = "hidden";
|
||||
mybutton.style.opacity = "0";
|
||||
}
|
||||
};
|
||||
|
||||
</script>
|
||||
{{- end }}
|
||||
|
||||
{{- if (not site.Params.disableThemeToggle) }}
|
||||
<script>
|
||||
document.getElementById("theme-toggle").addEventListener("click", () => {
|
||||
if (document.body.className.includes("dark")) {
|
||||
document.body.classList.remove('dark');
|
||||
localStorage.setItem("pref-theme", 'light');
|
||||
} else {
|
||||
document.body.classList.add('dark');
|
||||
localStorage.setItem("pref-theme", 'dark');
|
||||
}
|
||||
})
|
||||
|
||||
</script>
|
||||
{{- end }}
|
||||
|
||||
{{- if (and (eq .Kind "page") (ne .Layout "archives") (ne .Layout "search") (.Param "ShowCodeCopyButtons")) }}
|
||||
<script>
|
||||
document.querySelectorAll('pre > code').forEach((codeblock) => {
|
||||
const container = codeblock.parentNode.parentNode;
|
||||
|
||||
const copybutton = document.createElement('button');
|
||||
copybutton.classList.add('copy-code');
|
||||
copybutton.innerHTML = '{{- i18n "code_copy" | default "copy" }}';
|
||||
|
||||
function copyingDone() {
|
||||
copybutton.innerHTML = '{{- i18n "code_copied" | default "copied!" }}';
|
||||
setTimeout(() => {
|
||||
copybutton.innerHTML = '{{- i18n "code_copy" | default "copy" }}';
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
copybutton.addEventListener('click', (cb) => {
|
||||
if ('clipboard' in navigator) {
|
||||
navigator.clipboard.writeText(codeblock.textContent);
|
||||
copyingDone();
|
||||
return;
|
||||
}
|
||||
|
||||
const range = document.createRange();
|
||||
range.selectNodeContents(codeblock);
|
||||
const selection = window.getSelection();
|
||||
selection.removeAllRanges();
|
||||
selection.addRange(range);
|
||||
try {
|
||||
document.execCommand('copy');
|
||||
copyingDone();
|
||||
} catch (e) { };
|
||||
selection.removeRange(range);
|
||||
});
|
||||
|
||||
if (container.classList.contains("highlight")) {
|
||||
container.appendChild(copybutton);
|
||||
} else if (container.parentNode.firstChild == container) {
|
||||
// td containing LineNos
|
||||
} else if (codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName == "TABLE") {
|
||||
// table containing LineNos and code
|
||||
codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.appendChild(copybutton);
|
||||
} else {
|
||||
// code blocks not having highlight as parent class
|
||||
codeblock.parentNode.appendChild(copybutton);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{{- end }}
|
BIN
resources/.DS_Store
vendored
BIN
resources/.DS_Store
vendored
Binary file not shown.
BIN
resources/_gen/.DS_Store
vendored
BIN
resources/_gen/.DS_Store
vendored
Binary file not shown.
BIN
static/.DS_Store
vendored
BIN
static/.DS_Store
vendored
Binary file not shown.
BIN
static/img/.DS_Store
vendored
BIN
static/img/.DS_Store
vendored
Binary file not shown.
BIN
themes/.DS_Store
vendored
BIN
themes/.DS_Store
vendored
Binary file not shown.
Loading…
Add table
Reference in a new issue