summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdus <gh@abdus.net>2020-10-28 12:48:02 +0530
committerAbdus <gh@abdus.net>2020-10-28 12:48:02 +0530
commit1b75747cad31c95077669b68bb0a81dbfffd90fa (patch)
tree1b1f1c2f783fecd5733dbddbc25f30c65f8c1ddd
parent79b75c140fba454b4421f8929cf1beef3cdbfa1f (diff)
downloadabdus.net-1b75747cad31c95077669b68bb0a81dbfffd90fa.tar.bz2
abdus.net-1b75747cad31c95077669b68bb0a81dbfffd90fa.zip
add projects. fix workflow
-rw-r--r--.github/workflows/gh-pages.yml2
-rw-r--r--data/personal.yaml22
-rw-r--r--themes/bronn/layouts/index.html43
3 files changed, 39 insertions, 28 deletions
diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index b53245c..1e89804 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -17,7 +17,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
- hugo-version: 'v0.76.5'
+ hugo-version: '0.76.5'
extended: true
- name: Build
diff --git a/data/personal.yaml b/data/personal.yaml
index ced46ce..e62ba02 100644
--- a/data/personal.yaml
+++ b/data/personal.yaml
@@ -37,3 +37,25 @@ social:
- url: https://linkedin.com/in/thisisabdus
name: LinkedIn
fa: 'fab fa-linkedin-in'
+
+
+projects:
+ - name: Chat App
+ demo: # demo url
+ source: https://github.com/abdus/chat-app
+ description: |
+ A real-time chat application built using NodeJS, JavaScript, MongoDB and
+ Express
+
+ - name: Movie Wiki
+ demo:
+ source: https://github.com/abdus/movie-wiki
+ description: |
+ A simple web-app built using ReactJS for searching movie's information
+ using API.
+
+ - name: dotfiles
+ demo:
+ source: https://github.com/abdus/dotfiles
+ description: |
+ A collection of all the dotfiles I use on a daily basis.
diff --git a/themes/bronn/layouts/index.html b/themes/bronn/layouts/index.html
index 2d46673..d048b1d 100644
--- a/themes/bronn/layouts/index.html
+++ b/themes/bronn/layouts/index.html
@@ -55,43 +55,32 @@
<a href="#" class="btn">GitHub</a>
</p>
</div>
+
+ {{ with .Site.Data.personal.projects }} {{ range . }}
<div class="content-card card">
- <h3 class="font-eczar color-accent">Chat App</h3>
- <p>
- A real-time chat application built using NodeJS, JavaScript, MongoDB and
- Express
- </p>
- <p>
- <a class="btn btn-small" href="#">SourceCode</a>
- <a class="btn btn-small" href="#">LiveDemo</a>
- </p>
- </div>
- <div class="content-card card">
- <h3 class="font-eczar color-accent">Movie Wiki</h3>
- <p>
- A simple web-app built using ReactJS for searching movie's information
- using API.
- </p>
- <p>
- <a class="btn btn-small" href="#">SourceCode</a>
- <a class="btn btn-small" href="#">LiveDemo</a>
- </p>
- </div>
- <div class="content-card card">
- <h3 class="font-eczar color-accent">dotfiles</h3>
- <p>A collection of all the dotfiles I use on a daily basis.</p>
+ <h3 class="font-eczar color-accent">{{ .name }}</h3>
+ <p>{{ .description | safeHTML }}</p>
<p>
- <a class="btn btn-small" href="#">SourceCode</a>
+ {{ with .source }}
+ <a class="btn btn-small" href="{{ . | absURL }}">SourceCode</a>
+ {{ end }}
+ <!--.-->
+ {{ with .demo }}
+ <a class="btn btn-small" href="{{ .demo | absURL }}">LiveDemo</a>
+ {{ end }}
</p>
</div>
+ {{ end }}
+ <!--.-->
+ {{ end }}
</section>
<section class="writings grid grid-2 grid-sm-1">
<div class="title-card">
<h3 class="font-eczar">WRITINGS</h3>
<p>
- Like almost every other developer, I do share whatever I learn in my
- Blog. I also have a section for sharing my daily learnings.
+ I share what I learn in my blogs. Recently, I have started taking notes
+ while learning new things. You will find them in 'notes' section.
</p>
<p>
<a href="/posts" class="btn">Blog</a>