added hyperlink in things-i-do and markdown support in description
This commit is contained in:
@@ -46,14 +46,17 @@ params:
|
||||
- logo: fab fa-python
|
||||
title: Python
|
||||
description: I build something beautiful using Python.
|
||||
#url: https://example.com
|
||||
|
||||
- logo: fas fa-robot
|
||||
title: Machine learning
|
||||
description: I train robust models for various tasks.
|
||||
#url: https://example.com
|
||||
|
||||
- logo: fab fa-html5
|
||||
title: Things for web
|
||||
description: I love to build things for web
|
||||
#url: https://example.com
|
||||
|
||||
#Description for seo. If you want to show description in your listing or single page, let's make it true
|
||||
showdescription: false
|
||||
|
||||
@@ -121,18 +121,18 @@
|
||||
<div class="col-md-8 text-center">
|
||||
<div class="about-content text-dark p-3">
|
||||
{{ if .Site.Params.descripe_l1_person }}
|
||||
{{ .Site.Params.descripe_l1_person }}
|
||||
{{ .Site.Params.descripe_l1_person | markdownify }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.descripe_l2_person }}
|
||||
<br><br>
|
||||
{{ .Site.Params.descripe_l2_person }}
|
||||
{{ .Site.Params.descripe_l2_person | markdownify }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="social px-3 text-center pb-4">
|
||||
{{ if .Site.Params.useresume }}
|
||||
<a href="{{ .Site.Params.resumelink | default " #" }}" class="btn btn-outline-danger"
|
||||
role="button" aria-pressed="true">
|
||||
<a href={{ .Site.Params.resumelink | default "#" }} class="btn btn-outline-danger" role="button"
|
||||
aria-pressed="true">
|
||||
{{ if .Site.Params.customname }}
|
||||
{{ .Site.Params.customname }}
|
||||
{{ else }}
|
||||
|
||||
@@ -9,6 +9,21 @@
|
||||
<div class="do-things-card">
|
||||
<div class="row pb-2 justify-content-center">
|
||||
{{ range .Site.Params.Things }}
|
||||
{{ if .url }}
|
||||
<div class="col-lg-3 col-md-4">
|
||||
<a id="nothing" href={{ .url | default "#" }} class="">
|
||||
<div class="things shadow rounded p-4 my-2 mb-4 card btn-outline-primary">
|
||||
<i class="{{ .logo }} fa-3x" width="3em" height="3em"></i>
|
||||
<div class="p-2 font-weight-bold">
|
||||
{{ .title }}
|
||||
</div>
|
||||
<div class="py-4 things-text">
|
||||
{{ .description }}
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
{{ else }}
|
||||
<div class="col-lg-3 col-md-4">
|
||||
<div class="things shadow rounded p-4 my-2 mb-4 card btn-outline-primary">
|
||||
<i class="{{ .logo }} fa-3x" width="3em" height="3em"></i>
|
||||
@@ -21,6 +36,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -46,14 +46,17 @@ params:
|
||||
- logo: fab fa-python
|
||||
title: Python
|
||||
description: I build something beautiful using Python.
|
||||
#url: https://example.com
|
||||
|
||||
- logo: fas fa-robot
|
||||
title: Machine learning
|
||||
description: I train robust models for various tasks.
|
||||
#url: https://example.com
|
||||
|
||||
- logo: fab fa-html5
|
||||
title: Things for web
|
||||
description: I love to build things for web
|
||||
#url: https://example.com
|
||||
|
||||
#Description for seo. If you want to show description in your listing or single page, let's make it true
|
||||
showdescription: false
|
||||
|
||||
Reference in New Issue
Block a user