Skip to content

Commit 0f7c7f0

Browse files
Adding LinkedIn icon
Adding LinkedIn icon Fixing the date/time
1 parent 4b884a3 commit 0f7c7f0

6 files changed

Lines changed: 52 additions & 4 deletions

File tree

assets/icons/brand-linkedin.svg

Lines changed: 8 additions & 0 deletions
Loading

config/_default/menu.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
identifier = "github"
1212
name = "GitHub"
1313
url = "https://github.com/naturalfunction"
14-
1514
[social.params]
1615
icon = "brand-github"
16+
17+
[[social]]
18+
identifier = "linkedin"
19+
name = "LinkedIn"
20+
url = "https://www.linkedin.com/in/vitorribeiro1"
21+
[social.params]
22+
icon = "brand-linkedin"

config/_default/params.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ since = 2025
99
customText = ""
1010

1111
[dateFormat]
12-
published = "Nov 03, 2025"
13-
lastUpdated = "Nov 03, 2025 00:00 MST"
12+
published = "Jan 02, 2006"
13+
lastUpdated = "Jan 02, 2006 15:04 MST"
1414

1515
[sidebar]
1616
emoji = "🧮"

content/post/welcome-to-vitor-ribeiro-blog/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Welcome to Vitor Ribeiro's Blog"
3-
date: 2025-11-03T21:45:00-06:00
3+
date: 2025-11-04
44
description: ""
55
categories: ["Welcome"]
66
tags: ["welcome"]

layouts/partials/article/time.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{{- $dateFormat := site.Params.dateFormat.published | default "Jan 02, 2006" -}}
2+
{{- $publishDate := .PublishDate.Format $dateFormat -}}
3+
4+
<div class="article-time">
5+
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clock" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
6+
<path stroke="none" d="M0 0h24v24H0z"/>
7+
<circle cx="12" cy="12" r="9" />
8+
<polyline points="12,7 12,12 15,15" />
9+
</svg>
10+
11+
{{- if ne .Date .PublishDate }}
12+
<time class="article-time--published">
13+
{{- T "article.publishedAt" | default "Published at" -}}: {{ $publishDate }}
14+
</time>
15+
<time class="article-time--modified">
16+
{{- T "article.lastUpdatedOn" | default "Updated on" -}}: {{ .Date.Format $dateFormat }}
17+
</time>
18+
{{- else }}
19+
<time class="article-time--published">
20+
{{ $publishDate }}
21+
</time>
22+
{{- end }}
23+
</div>

layouts/partials/head/custom.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Custom CSS -->
2+
{{ $customCSS := resources.Get "scss/custom.scss" | css.Sass | resources.Minify }}
3+
<link rel="stylesheet" href="{{ $customCSS.RelPermalink }}">
4+
5+
<!-- Meta tags for better SEO -->
6+
<meta name="theme-color" content="#2d3748">
7+
<meta name="msapplication-TileColor" content="#2d3748">
8+
9+
<!-- Performance optimizations -->
10+
<link rel="dns-prefetch" href="//fonts.googleapis.com">
11+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

0 commit comments

Comments
 (0)