mirror of
https://github.com/supleed2/supleed2-old-landing-page.git
synced 2024-12-22 06:05:48 +00:00
Move social.lol link to header, add github link for indieauth
This commit is contained in:
parent
36d52f1486
commit
2fb84f4546
|
@ -33,7 +33,7 @@
|
||||||
{{ if $l }}
|
{{ if $l }}
|
||||||
{{ $link = $l.Permalink}}
|
{{ $link = $l.Permalink}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if eq (add $index 1) (len $.Site.Params.Tree.files) }}
|
{{ 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}}
|
{{ $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 }}
|
{{ else }}
|
||||||
|
@ -51,5 +51,4 @@
|
||||||
{{ $commandDelay := $.Site.Params.Terminal.commandDelay }}
|
{{ $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 ) }}
|
{{ 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 }}
|
{{ end }}
|
||||||
|
|
9
layouts/partials/head.html
Normal file
9
layouts/partials/head.html
Normal 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>
|
Loading…
Reference in a new issue