diff options
author | Michał Sapka <michal@sapka.me> | 2023-01-06 23:14:49 +0100 |
---|---|---|
committer | Michał Sapka <michal@sapka.me> | 2023-01-06 23:14:49 +0100 |
commit | 8987664e3ab4dd08879c3d45ba4ba954aaec6f69 (patch) | |
tree | 5f1e7cadc94c56ed5f24349c81f7d9204b98e6e2 | |
parent | 98c04aa1e19e9391a19daf903a024e7ebeaeb36b (diff) |
feat: add logos
-rw-r--r-- | .hugo_build.lock | 0 | ||||
-rw-r--r-- | assets/icons/android-chrome-192x192.png | bin | 0 -> 12146 bytes | |||
-rw-r--r-- | assets/icons/android-chrome-512x512.png | bin | 0 -> 20980 bytes | |||
-rw-r--r-- | assets/icons/apple-touch-icon.png | bin | 0 -> 10909 bytes | |||
-rw-r--r-- | assets/icons/favicon-16x16.png | bin | 0 -> 695 bytes | |||
-rw-r--r-- | assets/icons/favicon-32x32.png | bin | 0 -> 1836 bytes | |||
-rw-r--r-- | assets/icons/favicon.ico | bin | 0 -> 15406 bytes | |||
-rw-r--r-- | assets/icons/site.webmanifest | 1 | ||||
-rw-r--r-- | assets/logo.png | bin | 0 -> 3957 bytes | |||
-rw-r--r-- | config.toml | 11 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 8 | ||||
-rw-r--r-- | layouts/_default/list.html | 6 | ||||
-rw-r--r-- | resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x45_resize_box_3.png | bin | 0 -> 2576 bytes | |||
-rw-r--r-- | static/favicon.ico | bin | 15406 -> 15406 bytes |
14 files changed, 5 insertions, 21 deletions
diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.hugo_build.lock diff --git a/assets/icons/android-chrome-192x192.png b/assets/icons/android-chrome-192x192.png Binary files differnew file mode 100644 index 0000000..ea04632 --- /dev/null +++ b/assets/icons/android-chrome-192x192.png diff --git a/assets/icons/android-chrome-512x512.png b/assets/icons/android-chrome-512x512.png Binary files differnew file mode 100644 index 0000000..bdfb41e --- /dev/null +++ b/assets/icons/android-chrome-512x512.png diff --git a/assets/icons/apple-touch-icon.png b/assets/icons/apple-touch-icon.png Binary files differnew file mode 100644 index 0000000..db8cab4 --- /dev/null +++ b/assets/icons/apple-touch-icon.png diff --git a/assets/icons/favicon-16x16.png b/assets/icons/favicon-16x16.png Binary files differnew file mode 100644 index 0000000..3bf6a45 --- /dev/null +++ b/assets/icons/favicon-16x16.png diff --git a/assets/icons/favicon-32x32.png b/assets/icons/favicon-32x32.png Binary files differnew file mode 100644 index 0000000..460bf46 --- /dev/null +++ b/assets/icons/favicon-32x32.png diff --git a/assets/icons/favicon.ico b/assets/icons/favicon.ico Binary files differnew file mode 100644 index 0000000..893aa53 --- /dev/null +++ b/assets/icons/favicon.ico diff --git a/assets/icons/site.webmanifest b/assets/icons/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ 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 differnew file mode 100644 index 0000000..3ff9f87 --- /dev/null +++ b/assets/logo.png diff --git a/config.toml b/config.toml index f4e80d6..fcc4e90 100644 --- 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 index b0bfc6f..280135e 100644 --- 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 index cc3addd..b9ddde4 100644 --- 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 differnew file mode 100644 index 0000000..f45eadf --- /dev/null +++ b/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x45_resize_box_3.png diff --git a/static/favicon.ico b/static/favicon.ico Binary files differindex 36de9d2..893aa53 100644 --- a/static/favicon.ico +++ b/static/favicon.ico |