Add link: lsix
This commit is contained in:
parent
b59d8fa922
commit
de3926d040
3 changed files with 11 additions and 4 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue