feat: done customize

This commit is contained in:
Urko 2023-06-14 17:33:32 +02:00
parent 0b278ea4c4
commit 48d38fb768
3 changed files with 36 additions and 64 deletions

View File

@ -2,10 +2,7 @@
{{ if .Site.Params.footer.socialNetworks.gitea }} {{ if .Site.Params.footer.socialNetworks.gitea }}
<span class="px-1"> <span class="px-1">
<a href="{{ .Site.Params.footer.socialNetworks.gitea }}" aria-label="gitea"> <a href="{{ .Site.Params.footer.socialNetworks.gitea }}" aria-label="gitea">
<svg <svg version="1.1" id="main_outline" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2.7em" height="2.7em" x="0px" y="0px" viewBox="0 0 640 640" style="enable-background:new 0 0 640 640;" xml:space="preserve">
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 1792 1792"
>
<g> <g>
<path <path
id="teabag" id="teabag"
@ -36,10 +33,10 @@
href="{{ .Site.Params.footer.socialNetworks.gitlab }}" href="{{ .Site.Params.footer.socialNetworks.gitlab }}"
aria-label="gitlab" aria-label="gitlab"
> >
<svg <svg version="1.1" id="main_outline" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg" width="2.4em"
viewBox="0 0 1792 1792" height="2.4em"
> x="0px" y="0px" viewBox="0 0 640 640" style="enable-background:new 0 0 640 640;" xml:space="preserve">
<path <path
d="M105.2 24.9c-3.1-8.9-15.7-8.9-18.9 0L29.8 199.7h132c-.1 0-56.6-174.8-56.6-174.8zM.9 287.7c-2.6 8 .3 16.9 7.1 22l247.9 184-226.2-294zm160.8-88l94.3 294 94.3-294zm349.4 88l-28.8-88-226.3 294 247.9-184c6.9-5.1 9.7-14 7.2-22zM425.7 24.9c-3.1-8.9-15.7-8.9-18.9 0l-56.6 174.8h132z" d="M105.2 24.9c-3.1-8.9-15.7-8.9-18.9 0L29.8 199.7h132c-.1 0-56.6-174.8-56.6-174.8zM.9 287.7c-2.6 8 .3 16.9 7.1 22l247.9 184-226.2-294zm160.8-88l94.3 294 94.3-294zm349.4 88l-28.8-88-226.3 294 247.9-184c6.9-5.1 9.7-14 7.2-22zM425.7 24.9c-3.1-8.9-15.7-8.9-18.9 0l-56.6 174.8h132z"
/> />

View File

@ -31,7 +31,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col-sm-12 col-md-12 col-lg-4"> <!-- <div class="col-sm-12 col-md-12 col-lg-4">
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-sm-12 col-md-9 pt-5 image {{ if .Site.Params.animate }}animate{{ end }} px-5 px-md-5 px-lg-0 text-center"> <div class="col-sm-12 col-md-9 pt-5 image {{ if .Site.Params.animate }}animate{{ end }} px-5 px-md-5 px-lg-0 text-center">
<img src="{{ .Site.Params.hero.image }}" <img src="{{ .Site.Params.hero.image }}"
@ -40,7 +40,7 @@
> >
</div> </div>
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
{{ if .Site.Params.hero.bottomImage.enable | default true }} {{ if .Site.Params.hero.bottomImage.enable | default true }}

View File

@ -51,21 +51,6 @@
<span class="h4">{{ .job }}</span> <span class="h4">{{ .job }}</span>
<small>-</small> <small>-</small>
<a href="{{ .companyUrl }}" target="_blank">{{ .company }}</a> <a href="{{ .companyUrl }}" target="_blank">{{ .company }}</a>
<div class="pb-1">
<!-- <small>{{ .date }}</small> -->
{{ if .info.enable | default true }}
<span class="p-2">
<span
style="cursor: pointer;"
data-bs-toggle="tooltip"
data-bs-placement="top"
data-bs-original-title={{ .info.content | default (print "Working as a " .job " at " .company ) }}
>
<i class="fas fa-info-circle fa-xs"></i>
</span>
</span>
{{ end }}
</div>
{{ if .featuredLink.enable | default false }} {{ if .featuredLink.enable | default false }}
<div class="py-2 featuredLink"> <div class="py-2 featuredLink">
@ -76,7 +61,11 @@
{{ end }} {{ end }}
</div> </div>
<div class="pt-2">
{{ .content | markdownify}} {{ .content | markdownify}}
<br>
<strong>{{ .writtenBy | markdownify}} </strong>
</div>
</div> </div>
{{ else }} {{ else }}
<div <div
@ -90,22 +79,6 @@
<small>-</small> <small>-</small>
<a href="{{ .companyUrl }}" target="_blank">{{ .company }}</a> <a href="{{ .companyUrl }}" target="_blank">{{ .company }}</a>
<div class="pb-1">
<!-- <small>{{ .date }}</small> -->
{{ if .info.enable | default true }}
<span class="p-2">
<span
style="cursor: pointer;"
data-bs-toggle="tooltip"
data-bs-placement="top"
data-bs-original-title={{ .info.content | default (print "Worked as a " .job " at " .company ) }}
>
<i class="fas fa-info-circle fa-xs"></i>
</span>
</span>
{{ end }}
</div>
{{ if .featuredLink.enable | default false }} {{ if .featuredLink.enable | default false }}
<div class="py-2 featuredLink"> <div class="py-2 featuredLink">
<a class="p-2 px-4 btn btn-outline-primary btn-sm" href={{ .featuredLink.url | default "#" }} target="_blank"> <a class="p-2 px-4 btn btn-outline-primary btn-sm" href={{ .featuredLink.url | default "#" }} target="_blank">
@ -117,6 +90,8 @@
<div class="pt-2"> <div class="pt-2">
{{ .content | markdownify}} {{ .content | markdownify}}
<br>
<strong>{{ .writtenBy | markdownify}} </strong>
</div> </div>
</div> </div>
{{ end }} {{ end }}