Skip to content

Commit

Permalink
fix home page title + image optim (#4)
Browse files Browse the repository at this point in the history
- fix home page title
- optimized images
  • Loading branch information
tib authored Jan 18, 2024
1 parent d77cd9d commit 6c43623
Show file tree
Hide file tree
Showing 41 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ watch:

serve:
LOG_LEVEL=notice toucan serve

# brew install optipng jpegoptim

png:
find ./src/* -type f -name '*.png' -exec optipng -o7 {} \;

jpg:
find ./* -type f -name '*.jpg' | xargs jpegoptim --all-progressive '*.jpg'
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/defaults/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/apple-touch-icon-114x114.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/apple-touch-icon-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/apple-touch-icon-57x57.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/apple-touch-icon-72x72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/icon-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/icon-320.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/icons/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Swift on server - Swift on server</title>
<title>Home - Swift on server</title>

<meta name="description" content="Articles about server-side Swift development. Created by Joannis Orlandos and Tibor Bödecs.">

<meta property="og:title" content="Swift on server - Swift on server">
<meta property="og:title" content="Home - Swift on server">
<meta property="og:description" content="Articles about server-side Swift development. Created by Joannis Orlandos and Tibor Bödecs.">
<meta property="og:url" content="https://swiftonserver.com/">
<meta property="og:image" content="https://swiftonserver.com/images/defaults/default.png">

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Swift on server - Swift on server">
<meta name="twitter:title" content="Home - Swift on server">
<meta name="twitter:description" content="Articles about server-side Swift development. Created by Joannis Orlandos and Tibor Bödecs.">
<meta name="twitter:image" content="https://swiftonserver.com/images/defaults/default.png">

Expand Down
2 changes: 1 addition & 1 deletion src/contents/home.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Swift on server
title: Home
description: Articles about server-side Swift development. Created by Joannis Orlandos and Tibor Bödecs.
image: images/defaults/default.png
---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/public/images/defaults/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/public/images/icons/apple-touch-icon-114x114.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/public/images/icons/apple-touch-icon-120x120.png
Binary file modified src/public/images/icons/apple-touch-icon-144x144.png
Binary file modified src/public/images/icons/apple-touch-icon-152x152.png
Binary file modified src/public/images/icons/apple-touch-icon-180x180.png
Binary file modified src/public/images/icons/apple-touch-icon-57x57.png
Binary file modified src/public/images/icons/apple-touch-icon-72x72.png
Binary file modified src/public/images/icons/apple-touch-icon-76x76.png
Binary file modified src/public/images/icons/apple-touch-icon.png
Binary file modified src/public/images/icons/icon-128.png
Binary file modified src/public/images/icons/icon-320.png
Binary file modified src/public/images/icons/icon-512.png
Binary file modified src/public/images/icons/icon.png
Binary file modified src/public/images/icons/logo.png

0 comments on commit 6c43623

Please sign in to comment.