+ education and social buttons
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
<a class="navbar-brand"><img src="/images/favicon.png" width="30", height="30" class="d-inline-block align-top" alt="">
|
||||
<strong>Why not look through my:</strong>
|
||||
<strong>Sections</strong>
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
@@ -28,12 +28,24 @@
|
||||
<div class="headline">
|
||||
<h1 class="headline-title reveal-text">{{.Site.Title}}</h1>
|
||||
<p class="reveal-text" style="font-size: 2rem;">{{.Site.Params.Description}}</p>
|
||||
<!-- TODO: move this into a partial for better control -->
|
||||
{{ 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 }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
{{- partial "projects.html" . -}}
|
||||
{{- partial "experience.html" . -}}
|
||||
{{- partial "education.html" . -}}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
17
themes/resume/layouts/partials/education.html
Normal file
17
themes/resume/layouts/partials/education.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{{ with .Site.GetPage "/education" }}
|
||||
<h1 class="section-header" id="education">{{.Title}}</h1>
|
||||
<div class="section">
|
||||
<ul>
|
||||
{{ range .Pages }}
|
||||
<li style="list-style-type: none;">
|
||||
<a><strong class="bigger">{{.Params.Institution}}</strong></a>
|
||||
{{ if .Params.Degree }}
|
||||
<p class="text-muted">{{.Params.When}}</p>
|
||||
{{ end }}
|
||||
<p>{{.Content}}</p>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<h1 class="section-header" id="experience">{{.Title}}</h1>
|
||||
<div class="section">
|
||||
<ul class="timeline">
|
||||
{{ range .Pages }}
|
||||
{{ range (.Paginate (.Pages.ByParam "rank")).Pages }}
|
||||
<li>
|
||||
<a>
|
||||
<strong class="bigger">{{.Title}}</strong>
|
||||
|
||||
10
themes/resume/layouts/partials/socials.html
Normal file
10
themes/resume/layouts/partials/socials.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{ 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 }}
|
||||
@@ -72,6 +72,11 @@ html {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.socials {
|
||||
display:inline;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.reveal-text {
|
||||
animation: slideIn 1.2s;
|
||||
animation-delay: 750ms;
|
||||
@@ -178,4 +183,4 @@ ul.timeline > li:before {
|
||||
|
||||
.bigger {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user