feat: Post 2023-11-06
This commit is contained in:
parent
5e7f4a2bea
commit
daeeb2f70c
2 changed files with 15 additions and 4 deletions
|
@ -158,15 +158,11 @@ defmodule PreDotHn do
|
|||
end
|
||||
|
||||
def make_sitemap(posts) do
|
||||
IO.inspect("Map")
|
||||
|
||||
posts
|
||||
|> Stream.map(&(%Sitemapper.URL{lastmod: (&1[:updated_at] || &1.date), loc: "https://pre.hn/#{&1.slug}/"}))
|
||||
|> Sitemapper.generate(sitemap_url: "https://pre.hn/")
|
||||
|> Sitemapper.persist(store: Sitemapper.FileStore, store_config: [path: "priv/static/"])
|
||||
|> Stream.run()
|
||||
|
||||
IO.inspect("/Map")
|
||||
end
|
||||
|
||||
attr(:title, :string, required: true)
|
||||
|
|
15
site/posts/2023-11-06-things-i-like.md
Normal file
15
site/posts/2023-11-06-things-i-like.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
title: "Things I Like This Week (2023-11-06)"
|
||||
---
|
||||
|
||||
# 1. ooh.directory
|
||||
|
||||
[ooh.directory](https://ooh.directory/) is "a collection of 2,084 blogs about every topic." I've really enjoyed finding new blogs that I can put in my RSS reader. I'm sure I never would have found many of these delightful blogs without the directory. I'm particularly enamored with the Random button, which I have pinned in my bookmark bar as my latest digital fidget.
|
||||
|
||||
# 2. One Revolution Per Minute
|
||||
|
||||
Erik Wernquist's six minute short film [One Revolution Per Minute](https://erikwernquist.com/one-revolution-per-minute) visualizes what the view from the spinning habitat ring of an interplanetary cruise ship might be like.
|
||||
|
||||
# 3. Ramen
|
||||
|
||||
[This](https://www.youtube.com/watch?v=4poyENnFKm4) 48 second animated short about the iconic japanese dish was rather captivating.
|
Loading…
Reference in a new issue