! Finalized theme framework
This commit is contained in:
parent
25e9fe1977
commit
2c1443d9da
@ -2,7 +2,7 @@
|
|||||||
<html lang="en-us">
|
<html lang="en-us">
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
<body>
|
<body>
|
||||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark sticky-top">
|
||||||
<a class="navbar-brand"><img src="/images/favicon.png" width="30", height="30" class="d-inline-block align-top" alt="">
|
<a class="navbar-brand"><img src="/images/favicon.png" width="30", height="30" class="d-inline-block align-top" alt="">
|
||||||
<strong>Sections</strong>
|
<strong>Sections</strong>
|
||||||
</a>
|
</a>
|
||||||
@ -30,12 +30,12 @@
|
|||||||
<p class="reveal-text" style="font-size: 2rem;">{{.Site.Params.Description}}</p>
|
<p class="reveal-text" style="font-size: 2rem;">{{.Site.Params.Description}}</p>
|
||||||
<!-- TODO: move this into a partial for better control -->
|
<!-- TODO: move this into a partial for better control -->
|
||||||
{{ if .Site.Params.Gitlab }}
|
{{ if .Site.Params.Gitlab }}
|
||||||
<a class="socials" href="{{.Site.Params.Gitlab}}">
|
<a class="socials reveal-text" href="{{.Site.Params.Gitlab}}">
|
||||||
<i class="fab fa-gitlab"></i>
|
<i class="fab fa-gitlab"></i>
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Site.Params.Linkedin }}
|
{{ if .Site.Params.Linkedin }}
|
||||||
<a class="socials" href="{{.Site.Params.Linkedin}}">
|
<a class="socials reveal-text" href="{{.Site.Params.Linkedin}}">
|
||||||
<i class="fab fa-linkedin-in"></i>
|
<i class="fab fa-linkedin-in"></i>
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@ -43,8 +43,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{{- partial "projects.html" . -}}
|
|
||||||
{{- partial "experience.html" . -}}
|
{{- partial "experience.html" . -}}
|
||||||
|
{{- partial "projects.html" . -}}
|
||||||
{{- partial "education.html" . -}}
|
{{- partial "education.html" . -}}
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<em class="text-muted">@</em>
|
<em class="text-muted">@</em>
|
||||||
<a class="bigger">{{.Params.Company}}</a>
|
<a class="bigger">{{.Params.Company}}</a>
|
||||||
</a>
|
</a>
|
||||||
<p class="float-right">{{.Params.When}}</p>
|
<p class="badge badge-dark float-right">{{.Params.When}}</p>
|
||||||
<p>{{.Content}}</p>
|
<p>{{.Content}}</p>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,5 +1,15 @@
|
|||||||
{{ with .Site.GetPage "/projects" }}
|
{{ with .Site.GetPage "/projects" }}
|
||||||
<h1 class="section-header" id="projects">{{.Title}}</h1>
|
<h1 class="section-header" id="projects">{{.Title}}</h1>
|
||||||
|
{{ if .Page.Params.Subtitle }}
|
||||||
|
<p>
|
||||||
|
{{.Page.Params.Subtitle}}
|
||||||
|
{{ if .Page.Params.Gitpage }}
|
||||||
|
<a href="{{.Page.Params.Gitpage}}">
|
||||||
|
<i class="fab fa-gitlab"></i>
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
</p>
|
||||||
|
{{ end }}
|
||||||
<div class="section">
|
<div class="section">
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
@ -10,4 +20,4 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -142,7 +142,10 @@ html {
|
|||||||
a { color:#dcdcdc; }
|
a { color:#dcdcdc; }
|
||||||
a:hover { color: #EAA221; }
|
a:hover { color: #EAA221; }
|
||||||
|
|
||||||
.card-img { max-width: 250px; }
|
.card-img {
|
||||||
|
width: auto;
|
||||||
|
height: 150px;
|
||||||
|
}
|
||||||
.card {
|
.card {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
max-width: 45%;
|
max-width: 45%;
|
||||||
|
Loading…
Reference in New Issue
Block a user