Move social.lol link to header, add github link for indieauth

This commit is contained in:
Aadi Desai 2023-07-17 15:44:29 +01:00 committed by GitHub
parent 36d52f1486
commit 2fb84f4546
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -33,7 +33,7 @@
{{ if $l }}
{{ $link = $l.Permalink}}
{{ end }}
{{ if eq (add $index 1) (len $.Site.Params.Tree.files) }}
{{ $leaf = printf "<span id='terminal'>%s└── <a href='%s' target='_blank' rel='noopener noreferrer me' title='%s'>%s</a></span>" $leaf $link $ac $ac | safeHTML}}
{{ else }}
@ -51,5 +51,4 @@
{{ $commandDelay := $.Site.Params.Terminal.commandDelay }}
{{ partial "partials/typeIndex.html" (dict "context" . "env" $env "cd" $cd "envWithDir" $envWithDir "cat" $cat "description" $description "tree" $tree "leaf" $leaf "ps1delay" $ps1Delay "stdoutdelay" $stdoutDelay "commanddelay" $commandDelay ) }}
<div style="display: none;"><a rel="me" href="https://social.lol/@8bit"></a></div>
{{ end }}

View file

@ -0,0 +1,9 @@
<head>
<title>{{- if .IsHome }}{{ .Site.Title }}{{- else }}{{ .Title }}{{- end }}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}" />
<link href="https://social.lol/@8bit" rel="me">
<link href="https://github.com/supleed2" rel="me" authn>
{{ partial "partials/style.html" . }}
</head>