Skip to content

Commit

Permalink
Use absolute path for img
Browse files Browse the repository at this point in the history
  • Loading branch information
leslieyip02 committed Mar 8, 2024
1 parent b12c1e2 commit ff03669
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/events/dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@
'title': 'SOC Wellness Festival',
'body': wellness_festival_body,
'link': 'wellness_festival',
'imgSrc': '../../../articles/wellness_festival.jpg',
'imgSrc': 'https://nuscomputingdev.github.io/comclub-website-2024/articles/wellness_festival.jpg',
},
'bizcom_league': {
'title': 'BIZCOM League',
'body': bizcom_league_body,
'link': 'bizcom_league',
'imgSrc': '../../../articles/bizcom_league.jpg',
'imgSrc': 'https://nuscomputingdev.github.io/comclub-website-2024/articles/bizcom_league.jpg',
},
}
json.dump(articles, open('articles.json', 'w+'))

0 comments on commit ff03669

Please sign in to comment.