mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-10-02 14:46:25 +00:00
Remove inline styling where possible
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<main role="main" style="">
|
||||
<main role="main">
|
||||
<div>
|
||||
{{- if .Site.Params.Portrait.Path }}
|
||||
{{- partial "image.html" (dict "path" .Site.Params.Portrait.Path "alt" .Site.Params.Portrait.Alt "class" "circle" "style" (printf "max-width:%s" .Site.Params.Portrait.Size ))}}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<a href="{{ if .Site.Params.Logo.LogoHomeLink }}{{ .Site.Params.Logo.LogoHomeLink }}{{else}}{{ .Site.BaseURL }}{{ end }}"
|
||||
style="text-decoration: none;">
|
||||
<a
|
||||
href="{{ if .Site.Params.Logo.LogoHomeLink }}{{ .Site.Params.Logo.LogoHomeLink }}{{else}}{{ .Site.BaseURL }}{{ end }}">
|
||||
<div class="logo">
|
||||
{{- if .Site.Params.Logo.path }}
|
||||
{{- partial "image.html" (dict "path" .Site.Params.Logo.path "alt" .Site.Params.Logo.alt) }}
|
||||
@@ -7,10 +7,7 @@
|
||||
<span class="logo__mark">></span>
|
||||
<span class="logo__text">{{- with .Site.Params.Logo.logoText }}{{ . }}{{ else }}$ cd /home/{{ end }}<span
|
||||
id="nav-terminal"></span></span>
|
||||
<span class="logo__cursor" style="{{- with.Site.Params.Logo.logoCursorDisabled }}visibility:hidden;{{ end -}}
|
||||
{{- with.Site.Params.Logo.logoCursorColor }}background-color:{{ . }};{{ end -}}
|
||||
{{- with.Site.Params.Logo.logoCursorAnimate }}animation-duration:{{ . }};{{ end -}}">
|
||||
</span>
|
||||
<span class="logo__cursor"></span>
|
||||
{{- end }}
|
||||
</div>
|
||||
</a>
|
||||
Reference in New Issue
Block a user