Add FLL to portfolio

This commit is contained in:
2024-10-12 23:49:20 +02:00
parent 537dcd6536
commit d92074b59b
12 changed files with 142 additions and 42 deletions
+5 -6
View File
@@ -13,12 +13,6 @@
max-width: 600px;
}
&-start-date {
&:after {
content: "—";
}
}
&-title {
font-size: 2.625rem;
margin: 0 0 20px;
@@ -32,6 +26,11 @@
}
}
&-timespan {
margin-top: -20px;
font-size: 0.9em;
}
&-tags {
display: block;
margin-bottom: 20px;
@@ -72,19 +72,16 @@
}
&-company {
font-size: 1rem;
font-size: .9rem;
margin: 5px 0 5px 0;
}
&-year {
padding-top: 6px;
margin-right: 1.8em;
font-size: 1.6em;
@include dimmed;
&-meta {
font-size: .8em;
}
@media #{$media-size-tablet} {
margin: -6px 0 4px;
}
&-content {
margin-top: 12px;
}
&-item {
+2 -1
View File
@@ -37,4 +37,5 @@ other = "{{ .Count }} Words"
[post]
pageViews = "Views"
unknownViews = "Unknown"
unknownViews = "Unknown"
present = "Present"
@@ -28,6 +28,10 @@
<p class="post-subtitle">{{ . | markdownify }}</p>
{{- end }}
{{- if .Params.Cover }}
{{- partial "image.html" (dict "path" .Params.Cover "alt" (.Title | plainify) "class" "post-cover") }}
{{- end }}
{{- if .Params.toc }}
<hr />
<aside id="toc">
@@ -37,10 +41,6 @@
<hr />
{{- end }}
{{- if .Params.Cover }}
{{- partial "image.html" (dict "path" .Params.Cover "alt" (.Title | plainify) "class" "post-cover") }}
{{- end }}
<div class="post-content">
{{ .Content }}
</div>
+7 -13
View File
@@ -18,21 +18,15 @@
<div class="portfolio-meta">
{{- if .Params.start_date }}
<span class="portfolio-start-date">
{{- if eq (printf "%T" .Params.start_date) "time.Time"}}
{{ .Params.start_date.Format ($.Site.Params.DateFormatList | default "2006-01-02") }}
{{- else }}
{{ .Params.start_date }}
{{- end }}
{{- $dateFormat := default "Jan, 2006" .Site.Params.dateformMonth }}
{{ dateFormat $dateFormat .Params.start_date }}
</span>
—
<span class="portfolio-end-date">
{{- if eq (printf "%T" .Params.end_date) "time.Time"}}
{{- if lt .Params.end_date now }}
{{ .Params.end_date.Format ($.Site.Params.DateFormatList | default "2006-01-02") }}
{{- if and .Params.end_date (lt .Params.end_date now) }}
{{ dateFormat $dateFormat .Params.end_date }}
{{- else }}
Present
{{- end }}
{{- else }}
{{ .Params.end_date }}
{{ i18n "post.present" }}
{{- end }}
</span>
{{- end }}
@@ -60,7 +54,7 @@
{{- end }}
</div>
{{- with .Params.skills }}
<h3 class="portfolio-skills-title">Skills used:</h3>
<h3 class="portfolio-skills-title">Skills developed:</h3>
<ul class="portfolio-skills">
{{- range . }}
<li class="portfolio-skill">{{ . }}</li>
+38 -9
View File
@@ -25,26 +25,41 @@
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</h1>
{{- if .Params.toc }}
<hr />
<aside id="toc">
<div class="toc-title">{{ i18n "tableOfContents" }}</div>
{{ .TableOfContents }}
</aside>
<hr />
{{- end }}
<p class="portfolio-timespan">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="feather feather-calendar">
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
<line x1="16" y1="2" x2="16" y2="6"></line>
<line x1="8" y1="2" x2="8" y2="6"></line>
<line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
{{- if .Params.start_date }}
{{- $dateFormat := default "Jan, 2006" .Site.Params.dateformMonth }}
{{ dateFormat $dateFormat .Params.start_date }} — {{ if and .Params.end_date (lt .Params.end_date now) }}{{ dateFormat $dateFormat .Params.end_date }}{{ else }}{{ i18n "post.present" }}{{ end }}
{{- end }}
</p>
{{- if .Params.Cover }}
{{- partial "image.html" (dict "path" .Params.Cover "alt" (.Title | plainify) "class" "portfolio-cover") }}
{{- end }}
{{- if .Params.toc }}
<hr />
<aside id="toc">
<h2>{{ i18n "tableOfContents" }}</h2>
{{ .TableOfContents }}
</aside>
<hr />
{{- end }}
<div class="portfolio-content">
{{ .Content }}
</div>
<div>
{{- with .Params.skills }}
<h2 class="portfolio-skills-title">Skills used:</h2>
<h2 class="portfolio-skills-title">Skills developed:</h2>
<ul class="portfolio-skills">
{{- range . }}
<li class="portfolio-skill">{{ . }}</li>
@@ -85,6 +100,20 @@
{{ i18n "wordCount" .Page.WordCount }}
</p>
{{- if and (default true .Params.showPageViews) (default true .Site.Params.showPageViews) }}
{{- if .Site.Params.goatCounter }}
<p>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="feather feather-activity">
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path>
<circle cx="12" cy="12" r="3"></circle>
</svg>
{{- partial "page_views.html" . -}}
</p>
{{- end }}
{{- end }}
{{- if .GitInfo }}
<p>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"