Compare commits
No commits in common. "aade3d3941e69052ba1e3af01a47991570daca24" and "f28ff22fb1b7af9722ae396a089051ab45ab245e" have entirely different histories.
aade3d3941
...
f28ff22fb1
22
LICENSE
22
LICENSE
@ -1,21 +1,7 @@
|
||||
MIT License
|
||||
ISC License
|
||||
|
||||
Copyright (c) 2024 Wiktor Zykubek
|
||||
Copyright 2024 Wiktor Zykubek
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
@ -1,5 +0,0 @@
|
||||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = {{ .Date }}
|
||||
draft = true
|
||||
+++
|
@ -1,17 +0,0 @@
|
||||
* {
|
||||
--base: #faf4ed;
|
||||
--surface: #fffaf3;
|
||||
--overlay: #f2e9e1;
|
||||
--muted: #9893a5;
|
||||
--subtle: #797593;
|
||||
--text: #575279;
|
||||
--love: #b4637a;
|
||||
--gold: #ea9d34;
|
||||
--rose: #d7827e;
|
||||
--pine: #286983;
|
||||
--foam: #56949f;
|
||||
--iris: #907aa9;
|
||||
--highlightLow: #f4ede8;
|
||||
--highlightMed: #dfdad9;
|
||||
--highlightHigh: #cecacd;
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
* {
|
||||
--base: #232136;
|
||||
--surface: #2a273f;
|
||||
--overlay: #393552;
|
||||
--muted: #6e6a86;
|
||||
--subtle: #908caa;
|
||||
--text: #e0def4;
|
||||
--love: #eb6f92;
|
||||
--gold: #f6c177;
|
||||
--rose: #ea9a97;
|
||||
--pine: #3e8fb0;
|
||||
--foam: #9ccfd8;
|
||||
--iris: #c4a7e7;
|
||||
--highlightLow: #2a283e;
|
||||
--highlightMed: #44415a;
|
||||
--highlightHigh: #56526e;
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
+++
|
||||
title = 'Blog'
|
||||
date = '2024-11-23T13:39:35+01:00'
|
||||
draft = false
|
||||
+++
|
@ -2,6 +2,7 @@
|
||||
date = '2024-11-23T13:39:35+01:00'
|
||||
draft = false
|
||||
title = 'Installing Arch Linux with Btrfs, LUKS encryption and YubiKey Authentication'
|
||||
layout = 'article'
|
||||
+++
|
||||
|
||||
In this tutorial I will show you how to use your YubiKey with LUKS. In this case we will use our key to shorten encryption password. Person, who will get access to your machine but without key, will be prompted for very long, computer generated password. On the other hand - _you_ - will be prompted only for the PIN for your attached YubiKey. Of course your PIN also should be as long and complicated as possible, but you should be able to memorize it.
|
||||
|
@ -2,6 +2,7 @@
|
||||
title = 'Contact'
|
||||
date = '2024-11-23T13:39:35+01:00'
|
||||
draft = false
|
||||
layout = 'single'
|
||||
+++
|
||||
|
||||
Simply, write me an [e-mail](mailto:contact@wzykubek.xyz).
|
||||
|
13
content/pl/_index.md
Normal file
13
content/pl/_index.md
Normal file
@ -0,0 +1,13 @@
|
||||
+++
|
||||
title = 'Home'
|
||||
date = 2023-01-01T08:00:00-07:00
|
||||
draft = false
|
||||
+++
|
||||
|
||||
_Witaj Świecie!_ :wave: Jestem **Wiktor**. Od dziecka pasjonuję się komputerami i wszystkim co z nimi związane. Szczególnie bliski jest mi Linux, serwery, programowanie, [tworzenie muzyki](https://lugnx.xyz), a także grafiki i wiele, wiele więcej. Ta strona posłuży mi do dzielenia się tym, co tworzę w wolnym czasie.
|
||||
|
||||
Możesz znaleźć mnie między innymi na
|
||||
[Gitei](https://git.brono.cloud/wzykubek),
|
||||
[GitHubie](https://github.com/wzykubek),
|
||||
[Telegramie](https://t.me/wzykubek).
|
||||
Możesz również zasubskrybować mojego bloga, używając [RSS](blog/index.xml) lub napisać do mnie [maila](mailto:contact@wzykubek.xyz).
|
8
content/pl/contact.md
Normal file
8
content/pl/contact.md
Normal file
@ -0,0 +1,8 @@
|
||||
+++
|
||||
title = 'Kontakt'
|
||||
date = 2023-01-01T08:00:00-07:00
|
||||
draft = false
|
||||
layout = 'single'
|
||||
+++
|
||||
|
||||
Po prostu napisz do mnie [maila](mailto:contact@wzykubek.xyz).
|
@ -45,7 +45,7 @@ languages:
|
||||
subtitle: Moja strona
|
||||
menus:
|
||||
main:
|
||||
- name: Strona Główna
|
||||
- name: Główna
|
||||
pageRef: /
|
||||
weight: 10
|
||||
- name: Blog
|
||||
|
@ -1 +1,3 @@
|
||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}"><a href="#{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}</a></h{{ .Level }}>
|
||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
|
||||
<a href="#{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}</a>
|
||||
</h{{ .Level }}>
|
||||
|
11
layouts/_default/article.html
Normal file
11
layouts/_default/article.html
Normal file
@ -0,0 +1,11 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format ":date_medium" }}
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||||
{{ end }}
|
@ -1,17 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ site.Language.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
{{ partial "header.html" . }}
|
||||
</header>
|
||||
<main>
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
<footer>
|
||||
{{ partial "footer.html" . }}
|
||||
</footer>
|
||||
</body>
|
||||
<!doctype html>
|
||||
<html
|
||||
lang="{{ site.Language.LanguageCode }}"
|
||||
dir="{{ or site.Language.LanguageDirection `ltr` }}"
|
||||
>
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<header>{{ partial "header.html" . }}</header>
|
||||
<main>{{ block "main" . }}{{ end }}</main>
|
||||
<footer>{{ partial "footer.html" . }}</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,9 +3,11 @@
|
||||
{{ .Content }}
|
||||
{{ range .Pages }}
|
||||
<h3><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h3>
|
||||
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
@ -1,9 +1,7 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format ":date_medium" }}
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
{{ .Content }}
|
||||
|
||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||||
{{ end }}
|
||||
|
@ -1,11 +1,13 @@
|
||||
<p class="flex-space-between">
|
||||
<span>{{ .Site.Copyright }}</span>
|
||||
<span class='hidden-on-mobile'>
|
||||
{{ if eq .Site.Language.LanguageCode "en" }}
|
||||
Used <a href="https://rosepinetheme.com/">Rosé Pine</a> palette
|
||||
{{ else if eq .Site.Language.LanguageCode "pl" }}
|
||||
Wykorzystano paletę kolorów <a href="https://rosepinetheme.com/">Rosé Pine</a>
|
||||
{{ end }}
|
||||
|
||||
</span>
|
||||
{{ if eq .Site.Language.LanguageCode "en" }}
|
||||
<span class="hidden-on-mobile"
|
||||
>Used <a href="https://rosepinetheme.com/">Rosé Pine</a> palette</span
|
||||
>
|
||||
{{ else if eq .Site.Language.LanguageCode "pl" }}
|
||||
<span class="hidden-on-mobile"
|
||||
>Wykorzystano paletę kolorów
|
||||
<a href="https://rosepinetheme.com/">Rosé Pine</a></span
|
||||
>
|
||||
{{ end }}
|
||||
</p>
|
||||
|
@ -8,7 +8,7 @@
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
<!--Implement function to change theme-->
|
||||
<!--TODO: Implement a function for changing theme-->
|
||||
{{- with resources.Get "css/rose-pine-main.css" }}
|
||||
<link rel="stylesheet" href="{{ .RelPermalink }}">
|
||||
{{- end }}
|
||||
|
@ -7,9 +7,7 @@
|
||||
{{ if .IsTranslated }}
|
||||
{{ range .Translations }}
|
||||
<a href="{{ .Permalink }}">
|
||||
<span class='hidden-on-mobile'>
|
||||
{{ .Site.Language.LanguageCode }}
|
||||
</span>
|
||||
<span class='hidden-on-mobile'>{{ .Site.Language.LanguageCode }}</span>
|
||||
{{ if eq .Site.Language.LanguageCode "en" }}
|
||||
{{ ":gb:" | .RenderString }}
|
||||
{{ else if eq .Site.Language.LanguageCode "pl" }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user