Skip to content

Commit

Permalink
Add og:image to posts
Browse files Browse the repository at this point in the history
Using the dynamic image generation endpoint of assets.rile.yt.
  • Loading branch information
rileytomasek committed Oct 12, 2022
1 parent 03271f3 commit a618534
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions posts/changesets-monorepo-npm-publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Publish monorepo packages with Changesets
publish_date: 2022-10-01
description: Painlessly publish public/private packages to NPM from a monorepo.
og:image: https://assets.rile.yt/api/post?date=2022-10-01&title=Publish%20monorepo%20packages%20with%20Changesets
---

[Changesets](https://github.com/changesets/changesets) makes it easy to publish public and/or private packages to NPM from a monorepo.
Expand Down
1 change: 1 addition & 0 deletions posts/edgedb-shape-filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Reusable EdgeDB filters with e.shape()
publish_date: 2022-10-11
description: Don't write the same filter twice
og:image: https://assets.rile.yt/api/post?date=2022-20-11&title=Reusable%20EdgeDB%20filters%20with%20e.shape()
---

The [EdgeDB TypeScript client](https://www.edgedb.com/docs/clients/js/index) recently added [`e.shape()`](https://www.edgedb.com/docs/clients/js/select#portable-shapes) for portable shapes, but it also works well for DRYing out your filters.
Expand Down
1 change: 1 addition & 0 deletions posts/favicon-from-google.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Get a free favicon for any domain
publish_date: 2022-10-08
description: An open Google URL that returns a favicon
og:image: https://assets.rile.yt/api/post?date=2022-10-08&title=Get%20a%20free%20favicon%20for%20any%20domain
---

This URL can be used to get a favicon for any domain from Google:
Expand Down
Binary file removed posts/logo.png
Binary file not shown.
1 change: 1 addition & 0 deletions posts/private-npm-docker-github.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Private NPM packages with Docker and GitHub Actions
publish_date: 2022-10-05
description: How to build Docker images using private NPM packages with GitHub Actions.
og:image: https://assets.rile.yt/api/post?date=2022-10-05&title=Private%20NPM%20packages%20with%20Docker%20and%20GitHub%20Actions
---

Follow these steps to use private NPM packages when deploying applications using the [docker/build-push-action]( https://github.com/docker/build-push-action ) GitHub Action.
Expand Down
1 change: 1 addition & 0 deletions posts/ts-equal-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: How to check TypeScript type equality
publish_date: 2022-10-06
description: An easy way to verify or test TypeScript types
og:image: https://assets.rile.yt/api/post?date=2022-10-06&title=How%20to%20check%20TypeScript%20type%20equality
---

It can be useful to know if two TypeScript types are equal when working with generics or when you want to verify that first party types are aligned with types generated by a third party library.
Expand Down
1 change: 1 addition & 0 deletions posts/zod-ts-switch.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Better switches with Zod and TypeScript
publish_date: 2022-10-07
description: Zod discriminated unions for type narrowing switch statements
og:image: https://assets.rile.yt/api/post?date=2022-10-07&title=Better%20switches%20with%20Zod%20and%20TypeScript
---

[Zod discriminated unions](https://github.com/colinhacks/zod#discriminated-unions) allow a switch case to perform automated type narrowing and cause a TypeScript error if a case is missed.
Expand Down
1 change: 1 addition & 0 deletions posts/zsh-history-improvements.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: ZSH History Improvements
publish_date: 2022-10-03
description: Improve autocompletion and save more commands
og:image: https://assets.rile.yt/api/post?date=2022-10-03&title=ZSH%20History%20Improvements
---

These `~/.zshrc` updates are helpful if you use history for autocompletion or to reference old commands.
Expand Down

0 comments on commit a618534

Please sign in to comment.