diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-05-04 01:05:04 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-05-04 13:34:10 +0200 |
| commit | fe7c149811f2e20c055ad0375aff05d29491efb4 (patch) | |
| tree | 8df0652a35cca0f9c8fcb5fb90648fef2f8415b4 /layouts/_default | |
| parent | 3de434508e0b609dea1ce8dca94ef1b708e61d61 (diff) | |
Rebuild the site in Astro
Add licence
Update site name in header to match README.md
Add missing metadescription, opengraph and link to RSS
Update Astro configuration to include sitemap integration with priority and changefreq settings
New post
Diffstat (limited to 'layouts/_default')
| -rw-r--r-- | layouts/_default/_markup/render-heading.html | 4 | ||||
| -rw-r--r-- | layouts/_default/baseof.html | 42 | ||||
| -rw-r--r-- | layouts/_default/single.html | 9 |
3 files changed, 0 insertions, 55 deletions
diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html deleted file mode 100644 index dd16877..0000000 --- a/layouts/_default/_markup/render-heading.html +++ /dev/null @@ -1,4 +0,0 @@ -<h{{ .Level }} id="{{ .Anchor | safeURL }}"> - <a class="anchor" href="#{{ .Anchor | safeURL }}">#</a> - {{ .Text | safeHTML }} -</h{{ .Level }}>
\ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html deleted file mode 100644 index 7015d95..0000000 --- a/layouts/_default/baseof.html +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html> -<html lang="es"> - -<head> - <base href="{{ .Site.BaseURL }}"> - - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>{{ .Page.Title }} - Ariel Costas</title> - - <link rel="canonical" href="{{ .Permalink }}"> - - <meta name="description" content="{{ .Page.Description }}"> - - <meta property="og:title" content="{{ .Page.Title }} - Ariel Costas"> - <meta property="og:description" content="{{ .Page.Description }}"> - <meta property="og:type" content="website"> - <meta property="og:url" content="{{ .Permalink }}"> - - {{- $stylesheetOptions := dict "transpiler" "libsass" }} - {{ $mainStylesheet := resources.Get "css/base.scss" | resources.ToCSS $stylesheetOptions | resources.Minify | resources.Fingerprint }} - <link rel="stylesheet" href='{{ $mainStylesheet.RelPermalink }}' integrity='{{ $mainStylesheet.Data.Integrity }}' crossorigin='anonymous'> - - {{ block "head_extras" . }} - {{ end }} -</head> - -<body> - {{ partial "partials/header.html" . }} - - <main> - {{ block "main" . }} - {{ end }} - </main> - - {{ partial "partials/footer.html" . }} - - {{ $script := resources.Get "js/navbar.js" | minify }} - <script src='{{ $script.RelPermalink }}'></script> -</body> - -</html>
\ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html deleted file mode 100644 index f87f4b3..0000000 --- a/layouts/_default/single.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ define "main" }} -<h1>{{ .Title }}</h1> -<p class="meta"> - {{ if gt .Date.Unix 0 }} - <time datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">{{ .Date.Format "2006-01-02" }}</time> - {{ end }} -</p> -{{ .Content }} -{{ end }}
\ No newline at end of file |
