Separate sintax from style

This commit is contained in:
C. Lente 2023-02-10 17:32:44 -03:00
parent 6e341272f5
commit d78444cd19
No known key found for this signature in database
GPG key ID: B0B503C26E05781B
4 changed files with 99 additions and 93 deletions

View file

@ -11,8 +11,11 @@
{{- partial "seo_tags.html" . -}}
<meta name="referrer" content="no-referrer-when-downgrade" />
{{ $css := resources.Get "style.css" | minify }}
<link href="{{ $css.RelPermalink }}" rel="stylesheet">
{{ $style := resources.Get "style.css" | minify }}
<link href="{{ $style.RelPermalink }}" rel="stylesheet">
{{ $syntax := resources.Get "syntax.css" | minify }}
<link href="{{ $syntax.RelPermalink }}" rel="stylesheet">
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}