Skip to content

Commit

Permalink
fix some whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
marioortizmanero committed Aug 12, 2024
1 parent dc25de4 commit e8bb3e7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions layouts/_default/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ <h1 class="post-title">{{ .Title }}</h1>
</div>

<div class="projects">
{{ range $.Site.Data.projects.list }}
{{ partial "project.html" . }}
{{ end }}
{{- range $.Site.Data.projects.list }}
{{- partial "project.html" . }}
{{- end }}
</div>

<p>
If you want to contact me, you can <a href="https://chat.nullderef.com" target="_blank" rel="noopener noreferrer me">schedule a chat</a> or use any of these links:
</p>

<p class="text-center">
{{ $social := where $.Site.Params.socialIcons "personal" "==" true }}
{{ $social = $social | append (dict "name" "Mail" "url" "mailto:marioortizmanero@gmail.com") }}
{{ $social = $social | append (dict "name" "PGP keys" "url" "https://nullderef.com/pgp_keys.asc") }}
{{ $last := sub (len $social) 1 }}
{{ range $i, $data := $social }}
{{- $social := where $.Site.Params.socialIcons "personal" "==" true }}
{{- $social = $social | append (dict "name" "Mail" "url" "mailto:marioortizmanero@gmail.com") }}
{{- $social = $social | append (dict "name" "PGP keys" "url" "https://nullderef.com/pgp_keys.asc") }}
{{- $last := sub (len $social) 1 }}
{{- range $i, $data := $social }}
<a href="{{ $data.url }}" target="_blank" rel="noopener noreferrer me">{{ $data.name }}</a>{{ if ne $i $last }} · {{ end }}
{{ end }}
{{- end }}
</p>

<!-- WIP Some phrases that I stand for:
Expand All @@ -53,9 +53,9 @@ <h2>Other Cool Blogs</h2>
<p>Here are some people that inspire me:</p>

<ul>
{{ range $.Site.Data.other_blogs.list }}
{{- range $.Site.Data.other_blogs.list }}
{{ partial "other_blogs.html" . }}
{{ end }}
{{- end }}
</ul>
</div>

Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/subscribe.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- define "main" }}

<article class="post-single">
{{ partial "subscribe.html" }}
{{- partial "subscribe.html" }}
</article>

{{- end }}{{/* end main */}}

0 comments on commit e8bb3e7

Please sign in to comment.