Projects (#11)

* Projects can now have names

* Added url field for projects
This commit is contained in:
Calin Tataru 2021-02-13 12:11:47 +00:00 committed by GitHub
parent cdd0fb54cf
commit ee6c94c5f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 3 deletions

View File

@ -1,22 +1,36 @@
name: Projects name: Projects
source: source:
- icon: fa fa-github - icon: fa fa-github
name: Project 1
description: Ei viderer tacimates pro, quem assum ea nam. Veritus omnesque eam te. Et natum mucius tamquam vel, ea dolorem volumus deterruisset nec. Graeci mentitum sea an, eu prima elaboraret est. description: Ei viderer tacimates pro, quem assum ea nam. Veritus omnesque eam te. Et natum mucius tamquam vel, ea dolorem volumus deterruisset nec. Graeci mentitum sea an, eu prima elaboraret est.
url: https://github.com/nurlansu/hugo-sustain
- icon: fa fa-github - icon: fa fa-github
name: Project 2
description: An eripuit phaedrum qui, nec facer splendide ex, vel ea assum facilisi convenire. Te his neglegentur consectetuer. description: An eripuit phaedrum qui, nec facer splendide ex, vel ea assum facilisi convenire. Te his neglegentur consectetuer.
url: https://github.com/nurlansu/hugo-sustain
- icon: fa fa-github - icon: fa fa-github
name: Project 3
description: An alii quot tantas eum, doming platonem persecuti mea et, vim perpetua cotidieque delicatissimi in. description: An alii quot tantas eum, doming platonem persecuti mea et, vim perpetua cotidieque delicatissimi in.
url: https://github.com/nurlansu/hugo-sustain
- icon: fa fa-globe - icon: fa fa-globe
name: Project 4
description: Vim an case vidit sententiae, est at euismod laboramus efficiantur. Ei sit brute lorem, ea eam timeam viderer aliquid, cu integre omittam moderatius quo. description: Vim an case vidit sententiae, est at euismod laboramus efficiantur. Ei sit brute lorem, ea eam timeam viderer aliquid, cu integre omittam moderatius quo.
url: https://github.com/nurlansu/hugo-sustain
- icon: fa fa-globe - icon: fa fa-globe
name: Project 5
description: Dicta causae meliore ex vel, in vix erant integre petentium. Vix ei nisl scripta recusabo, eam doming blandit facilisis. description: Dicta causae meliore ex vel, in vix erant integre petentium. Vix ei nisl scripta recusabo, eam doming blandit facilisis.
url: https://github.com/nurlansu/hugo-sustain
- icon: fa fa-cog - icon: fa fa-cog
name: Project 6
description: Inermis recusabo elaboraret mea et, dicat neglegentur vim te. Nec et sanctus scriptorem, usu ex sapientem gubergren. Tamquam admodum ei usu. description: Inermis recusabo elaboraret mea et, dicat neglegentur vim te. Nec et sanctus scriptorem, usu ex sapientem gubergren. Tamquam admodum ei usu.
url: https://github.com/nurlansu/hugo-sustain
- icon: fa fa-cog - icon: fa fa-cog
name: Project 7
description: Essent putant indoctum sed in, reprimique persequeris neglegentur te quo. Nam rebum tractatos partiendo at, debet ubique oporteat ut his. description: Essent putant indoctum sed in, reprimique persequeris neglegentur te quo. Nam rebum tractatos partiendo at, debet ubique oporteat ut his.
url: https://github.com/nurlansu/hugo-sustain

View File

@ -3,10 +3,10 @@
<h3>{{ .Site.Data.projects.name }}</h3> <h3>{{ .Site.Data.projects.name }}</h3>
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-body"> <div class="panel-body">
{{ range $i, $el := .Site.Data.projects.source }} {{ range $el := .Site.Data.projects.source }}
<h5> <h5>
<i class="{{ .icon }}"></i>&nbsp;&nbsp; <i class="{{ .icon }}"></i>&nbsp;&nbsp;
<strong><a href="#">Project {{ add $i 1 }}</a></strong>&nbsp;-&nbsp;{{ $el.description }} <strong><a href="{{ .url }}">{{ $el.name }}</a></strong>&nbsp;-&nbsp;{{ $el.description }}
</h5> </h5>
{{ end }} {{ end }}
</div> </div>