all repos — website @ 7fa884607e758f5b8dc982ed48213e258134c5c1

personal website hosted at prithu.xyz, built using hugo

add new data dir for a list of projects
Prithu Goswami prithugoswami524@gmail.com
Wed, 06 May 2020 02:03:24 +0530
commit

7fa884607e758f5b8dc982ed48213e258134c5c1

parent

6160e9afe2c7aba84df2abf18b23a6cf5f465222

2 files changed, 22 insertions(+), 21 deletions(-)

jump to
A hugo-site/data/projects.json

@@ -0,0 +1,17 @@

+[ + { + "title": "Auto Movie Tagger", + "url": "https://github.com/prithugoswami/auto-movie-tagger", + "description": "A small python script that auto tags movie files. It fetches movie information and poster from imdb and tmdb." + }, + { + "title": "moviedb", + "url": "https://project-moviedb.herokuapp.com", + "description": "A simple web app written using python flask framework. A user can search for movies and also add them to their favorites list." + }, + { + "title": "dotfiles", + "url": "https://github.com/prithugoswami/dotfiles", + "description": "These are just my linux config files that I use on my Arch Linux machine." + } +]
M hugo-site/layouts/index.htmlhugo-site/layouts/index.html

@@ -109,30 +109,14 @@ <div class=container>

<h1>Some of my works</h1> <div class="shadow-box"> <div class="project-text"> - <a href="https://github.com/prithugoswami/auto-movie-tagger" target="_blank"> - <div class="project-item"> - <h2>- Auto Movie Tagger</h2> - <p> A small python script that auto tags movie files. It fetches movie - information and poster from imdb and tmdb.</p> - </div> - </a> - - <a href="https://project-moviedb.herokuapp.com" target="_blank"> - <div class="project-item"> - <h2>- moviedb</h2> - <p>A simple web app written using python flask framework. A user - can search for movies and also add them to their favorites - list.</p> - </div> - </a> - - <a href="https://github.com/prithugoswami/dotfiles" target="_blank"> + {{ range .Site.Data.projects }} + <a href="{{ .url }}" target="_blank"> <div class="project-item"> - <h2>- dotfiles</h2> - <p>These are just my linux config files that I use on my Arch - Linux machine.</p> + <h2>- {{ .title }}</h2> + <p>{{ .description }}</p> </div> </a> + {{ end }} </div> <!-- <div class=btn id=project-cta>View All</div> --> </div>