michal-sapka-me

Codebase for my homepage.
git clone git://vcs.sapka.me/michal-sapka-me
Log | Files | Refs

commit 8987664e3ab4dd08879c3d45ba4ba954aaec6f69
parent 98c04aa1e19e9391a19daf903a024e7ebeaeb36b
Author: MichaƂ Sapka <michal@sapka.me>
Date:   Fri,  6 Jan 2023 23:14:49 +0100

feat: add logos

Diffstat:
A.hugo_build.lock | 0
Aassets/icons/android-chrome-192x192.png | 0
Aassets/icons/android-chrome-512x512.png | 0
Aassets/icons/apple-touch-icon.png | 0
Aassets/icons/favicon-16x16.png | 0
Aassets/icons/favicon-32x32.png | 0
Aassets/icons/favicon.ico | 0
Aassets/icons/site.webmanifest | 2++
Aassets/logo.png | 0
Mconfig.toml | 11++---------
Mlayouts/_default/baseof.html | 8++------
Mlayouts/_default/list.html | 6------
Aresources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x45_resize_box_3.png | 0
Mstatic/favicon.ico | 0
14 files changed, 6 insertions(+), 21 deletions(-)

diff --git a/.hugo_build.lock b/.hugo_build.lock diff --git a/assets/icons/android-chrome-192x192.png b/assets/icons/android-chrome-192x192.png Binary files differ. diff --git a/assets/icons/android-chrome-512x512.png b/assets/icons/android-chrome-512x512.png Binary files differ. diff --git a/assets/icons/apple-touch-icon.png b/assets/icons/apple-touch-icon.png Binary files differ. diff --git a/assets/icons/favicon-16x16.png b/assets/icons/favicon-16x16.png Binary files differ. diff --git a/assets/icons/favicon-32x32.png b/assets/icons/favicon-32x32.png Binary files differ. diff --git a/assets/icons/favicon.ico b/assets/icons/favicon.ico Binary files differ. diff --git a/assets/icons/site.webmanifest b/assets/icons/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} +\ No newline at end of file diff --git a/assets/logo.png b/assets/logo.png Binary files differ. diff --git a/config.toml b/config.toml @@ -1,12 +1,5 @@ -baseURL = 'https://memes.sapka.me' +baseURL = 'https://michal.sapka.me' languageCode = 'en-us' -title = "Michal's based meme collection" +title = "Michal's website" -[outputFormats.TXT] -mediaType = "text/plain" -sufix = "txt" -isPlainText = true - -[outputs] - home = [ "HTML", "RSS", "TXT" ] diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html @@ -64,14 +64,10 @@ </OL> </ASIDE> <div> - Created by <a href="https://sapka.me" target="_blank">Michal</a> + Created by <a href="https://sapka.me" target="_blank">Michal</a>. + <a href="https://github.com/michalsapka/meme.sapka.me" target="_blank">Source code is available</a>. <BR> <BR> - <a href="/index.xml"> - {{ $image := resources.Get "rss.png" }} - {{ $image := $image.Resize "x25" }} - <img alt="rss" src="{{ $image.Permalink }}" width={{$image.Width}} height={{$image.Height}}/> - </a> </div> </FOOTER> diff --git a/layouts/_default/list.html b/layouts/_default/list.html @@ -1,12 +1,6 @@ {{ define "main" }} {{ range where .Pages "Params.category" "meme"}} <article class="list"> - <a href="{{ .RelPermalink }}"> - {{ $imageUrl := .Param "image" }} - {{ $image := resources.Get $imageUrl }} - {{ $image := $image.Resize "350x" }} - <img alt="{{ .Param "title"}}" src="{{ $image.Permalink }}" width={{ $image.Width }} height={{ $image.Height }}/> - </a> </article> {{ end }} {{ end }} diff --git a/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x45_resize_box_3.png b/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x45_resize_box_3.png Binary files differ. diff --git a/static/favicon.ico b/static/favicon.ico Binary files differ.