Add link: lsix

This commit is contained in:
jultty 2024-06-06 21:08:41 -03:00
commit de3926d040
3 changed files with 11 additions and 4 deletions

View file

@ -17,6 +17,11 @@ function get_data() {
]
},
"links": [
{
"title": "hackerb9/lsix Like ls, but for images. Shows thumbnails in terminal using sixel graphics.",
"url": "https://github.com/hackerb9/lsix",
"date": "06/06/2024"
},
{
"title": "Capital Offense How to Handle Abbreviations in CamelCase - Approxion",
"url": "https://www.approxion.com/capital-offenses-how-to-handle-abbreviations-in-camelcase/",

View file

@ -1,9 +1,10 @@
const data = get_data()
function populate_links() {
const links = document.getElementById('links')
links.innerHTML = ''
data.links.forEach(link => {
const links = document.getElementById('links')
links.innerHTML = ''
const item = document.createElement('li')
const anchor = document.createElement('a')
const date = document.createElement('span')

View file

@ -1,9 +1,10 @@
const data = get_data()
function populate_posts() {
const posts = document.getElementById('nav-posts')
posts.innerHTML = ''
data.posts[lang].forEach(post => {
const posts = document.getElementById('nav-posts')
posts.innerHTML = ''
const item = document.createElement('li')
const anchor = document.createElement('a')
const date = document.createElement('span')