bookmarks

This commit is contained in:
night0721 2023-11-11 01:03:23 +00:00
parent 213fb40ae0
commit 757c192ee2
5 changed files with 125 additions and 18 deletions

7
content/bookmarks.md Normal file
View file

@ -0,0 +1,7 @@
---
title: "Bookmarks"
description: "Archive of links that I find useful"
lastmod: "2023-11-10"
---
{{<bookmarks>}}

95
data/bookmarks.json Normal file
View file

@ -0,0 +1,95 @@
{
"cheatsheets": {
"title": "Cheat sheets",
"class": "cheatsheets",
"links": [
{
"title": "Vim cheat sheet",
"link": "https://vim.rtorr.com/"
},
{
"title": "Tmux cheat sheet",
"link": "https://tmuxcheatsheet.com/"
},
{
"title": "Rust cheat sheet",
"link": "https://cheat.sh/rust/:list"
}
]
},
"guides": {
"title": "Guides",
"class": "guides",
"links": [
{
"title": "Grub rescue",
"link": "https://christitus.com/grub-rescue/"
},
{
"title": "Recovering deleted Windows boot partition",
"link": "https://christitus.com/recovering-deleted-windows-boot-partition/"
},
{
"title": "Landchad",
"link": "https://landchad.net/"
},
{
"title": "Creating git bare repository",
"link": "https://www.ackama.com/what-we-think/the-best-way-to-store-your-dotfiles-a-bare-git-repository-explained/"
},
{
"title": "Using SSH config",
"link": "https://linuxize.com/post/using-the-ssh-config-file/"
},
{
"title": "Learn C# by building a simple RPG",
"link": "https://scottlilly.com/learn-c-by-building-a-simple-rpg-index/"
},
{
"title": "Go tutorial making lolcat",
"link": "https://flaviocopes.com/go-tutorial-lolcat/"
},
{
"title": "Write a shell in C",
"link": "https://danishpraka.sh/posts/write-a-shell/"
},
{
"title": "Crafting interpreters",
"link": "https://craftinginterpreters.com/"
},
{
"title": "Neural networks and deep learning",
"link": "http://neuralnetworksanddeeplearning.com/"
},
{
"title": "Flexbox",
"link": "https://css-tricks.com/snippets/css/a-guide-to-flexbox/"
}
]
},
"posts": {
"title": "Posts",
"class": "posts",
"links": [
{
"title": "Stop using Discord",
"link": "https://usemumble.neocities.org/"
}
]
},
"tools": {
"title": "Tools",
"class": "tools",
"links": [
{
"title": "Google webfonts helper",
"link": "https://gwfh.mranftl.com/"
},
{
"title": "System font stack",
"link": "https://systemfontstack.com/"
}
]
}
}

View file

@ -67,6 +67,11 @@
"description": "Linux, Open Source Software", "description": "Linux, Open Source Software",
"rss": "https://opensourcemusings.com/feed/" "rss": "https://opensourcemusings.com/feed/"
}, },
{
"title": "LinuxBabe",
"link": "https://www.linuxbabe.com/",
"description": "Linux"
},
{ {
"title": "Samsai", "title": "Samsai",
"link": "https://samsai.eu/", "link": "https://samsai.eu/",
@ -259,23 +264,5 @@
"link": "https://www.coursera.org/professional-certificates/meta-front-end-developer" "link": "https://www.coursera.org/professional-certificates/meta-front-end-developer"
} }
] ]
},
"useful": {
"title": "Useful websites",
"class": "useful",
"links": [
{
"title": "Google webfonts helper",
"link": "https://gwfh.mranftl.com/"
},
{
"title": "System font stack",
"link": "https://systemfontstack.com/"
},
{
"title": "Landchad",
"link": "https://landchad.net/"
}
]
} }
} }

View file

@ -0,0 +1,13 @@
<div class="links-containter">
{{ range .Site.Data.bookmarks }}
<div class="{{ .class }}">
<h2 class="classifiers">{{ .title }}</h2>
</div>
<ul>
{{ range .links }}
<li>
<strong><a class="link-item" href="{{ .link }}">{{ .title }}</a></strong>
</li>
{{ end }}
</ul>
{{ end }}

View file

@ -0,0 +1,5 @@
{{ if .IsNamedParams }}
{{ $click := .Get "onclick" }}
<button class="general-button" onclick='{{ safeJS (printf $click)}};'>{{ .Get "text" }}</button>
{{ else }}
{{ end }}