Revamping socials and stuff

This commit is contained in:
shockrah 2023-09-20 00:06:46 -07:00
parent 6656d787ae
commit d76cae659f
4 changed files with 4 additions and 53 deletions

View File

@ -1,22 +0,0 @@
{{ with .Site.GetPage "/education" }}
<h1 class="section-header" id="education">{{.Title}}</h1>
<div class="section">
<ul>
{{ range (.Paginate (.Pages.ByParam "rank")).Pages }}
<li style="list-style-type: none;">
<a><strong class="bigger">{{.Params.Institution}}</strong></a>
{{ if .Params.Degree }}
<p class="text-muted">{{.Params.Degree}} acheived {{.Params.When}}</p>
{{ end }}
{{ if .Params.Certlink }}
<a href="{{.Params.Certlink}}">Certificate Link</a>
{{ end }}
{{ if .Params.Certid }}
<p class="text-muted">Certificate id: {{.Params.Certid}}</p>
{{ end }}
</li>
{{ end }}
</ul>
</div>
{{ end }}

View File

@ -1,18 +0,0 @@
{{ with .Site.GetPage "/experience"}}
<h1 class="section-header" id="experience">{{.Title}}</h1>
<div class="section">
<ul class="timeline">
{{ range (.Paginate (.Pages.ByParam "rank")).Pages }}
<li>
<a>
<strong class="bigger">{{.Title}}</strong>
<em class="text-muted">@</em>
<a class="bigger">{{.Params.Company}}</a>
</a>
<p class="badge badge-dark float-right media-float">{{.Params.When}}</p>
<p>{{.Content}}</p>
</li>
{{ end }}
</ul>
</div>
{{ end }}

View File

@ -1,21 +1,12 @@
{{ if .Site.Params.Gitlab }}
<a class="socials" href="{{.Site.Params.Gitlab}}">
<i class="fab fa-gitlab"></i>
</a>
{{ end }}
{{ if .Site.Params.Linkedin }}
<a class="socials" href="{{.Site.Params.Linkedin}}">
<i class="fab fa-linkedin-in"></i>
</a>
{{ end }}
{{ if .Site.Params.Twitch }}
<a class="socials" href="{{.Site.Params.Twitch}}">
<i class="fab fa-twitch"></i>
</a>
{{ end }}
{{ if .Site.Params.Mastodon }}
<a class="socials" href="{{.Site.Params.Mastodon}}">
<i class="fab fa-mastodon"></i>
</a>
{{ end }}
<a class="socials" href="{{.Site.Params.Github}}">
<i class="fab fa-github"></i>
</a>

View File

@ -67,7 +67,7 @@ html {
.headline {
position: absolute;
bottom: 10%;
top: 10%;
left: 50%;
transform: translate(-50%, -50%);
}