Skip to content

Commit

Permalink
Add link: lsix
Browse files Browse the repository at this point in the history
  • Loading branch information
jultty committed Jun 7, 2024
1 parent b59d8fa commit de3926d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions assets/js/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
Expand Down
5 changes: 3 additions & 2 deletions assets/js/links.js
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
5 changes: 3 additions & 2 deletions assets/js/main.js
Original file line number Diff line number Diff line change
@@ -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')
Expand Down

0 comments on commit de3926d

Please sign in to comment.