Merge pull request #52 from sonic182/master

Statics param, and optional GPA by @sonic182
This commit is contained in:
Guru Sabarish
2022-04-04 10:06:42 +05:30
committed by GitHub
9 changed files with 42 additions and 43 deletions
+7 -7
View File
@@ -11,7 +11,7 @@
rel="stylesheet">
<!-- font configuration -->
<link rel="stylesheet" href="/css/font.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/font.css" media="all">
<!-- Internal templates -->
{{ template "_internal/google_analytics_async.html" . }}
@@ -19,16 +19,16 @@
{{ template "_internal/twitter_cards.html" . }}
<!-- stylesheets -->
<link rel="stylesheet" href="/bootstrap-5/css/bootstrap.min.css" media="all">
<link rel="stylesheet" href="/css/header.css" media="all">
<link rel="stylesheet" href="/css/footer.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/bootstrap-5/css/bootstrap.min.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/header.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/footer.css" media="all">
<!-- theme -->
<link rel="stylesheet" href="/css/theme.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/theme.css" media="all">
<!-- Custom Styles -->
{{ if .Site.Params.customCSS }}
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/style.css">
{{ end }}
<style>
@@ -54,4 +54,4 @@
line-height: {{ .Site.Params.font.lineHeight | default "1.5" }};
text-align: {{ .Site.Params.font.textAlign | default "left" }};
}
</style>
</style>
+3 -1
View File
@@ -35,12 +35,14 @@
{{ .school.name }}
{{ end }}
{{ if .GPA }}
<div class="py-1">
GPA:
<i>
<small>{{ .GPA }}</small>
</i>
</div>
{{ end }}
<div class="py-1 education-content">
{{ .content | markdownify}}
</div>
@@ -61,4 +63,4 @@
</div>
</div>
</section>
{{ end }}
{{ end }}