-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[admin] Improve YT description output
- Loading branch information
1 parent
43c4027
commit 4b67960
Showing
9 changed files
with
131 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[ | ||
import_deps: [:ecto, :phoenix], | ||
inputs: ["*.{heex,ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{heex,ex,exs}"], | ||
inputs: ["*.{eex,heex,ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{eex,heex,ex,exs}"], | ||
subdirectories: ["priv/*/migrations"] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
lib/changelog_web/templates/admin/episode/_yt_friends.text.eex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<%= @episode.summary %> | ||
|
||
SUBSCRIBE: | ||
|
||
RSS: https://changelog.am/rss | ||
Apple: https://changelog.am/apple | ||
Spotify: https://changelog.am/spotify | ||
Android: https://changelog.am/android | ||
Overcast: https://changelog.am/overcast | ||
Email: https://changelog.am/email | ||
X: https://x.com/changelog | ||
Bluesky: https://bsky.app/profile/changelog.com | ||
Mastodon: https://changelog.social/@changelog | ||
|
||
SPONSORS: | ||
<%= for sponsor <- @episode.episode_sponsors do %> | ||
<%= sponsor.title %> - <%= sponsor.description |> SharedHelpers.md_to_text() %> <%= sponsor.link_url %> | ||
<% end %> | ||
LINKS: | ||
|
||
<%= @episode.notes |> Changelog.StringKit.md_bare_linkify() %> | ||
|
||
CHAPTERS: | ||
|
||
<%= @chapters %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Moar links worth your attention! 👉 <%= EpisodeView.share_url(@episode) %> | ||
|
||
<%= SharedHelpers.md_to_text(@episode.summary) %> | ||
|
||
CHAPTERS: | ||
<%= for chapter <- @episode.audio_chapters do %> | ||
<%= TimeView.duration(chapter.starts_at) %> <%= chapter.title %><% end %> |
25 changes: 25 additions & 0 deletions
25
lib/changelog_web/templates/admin/episode/_yt_podcast.text.eex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<%= SharedHelpers.md_to_text(@episode.summary) %> | ||
|
||
SUBSCRIBE: | ||
|
||
RSS: https://changelog.fm/rss | ||
Apple: https://changelog.fm/apple | ||
Spotify: https://changelog.fm/spotify | ||
Android: https://changelog.fm/android | ||
Overcast: https://changelog.fm/overcast | ||
Email: https://changelog.fm/email | ||
X: https://x.com/changelog | ||
Bluesky: https://bsky.app/profile/changelog.com | ||
Mastodon: https://changelog.social/@changelog | ||
|
||
SPONSORS: | ||
<%= for sponsor <- @episode.episode_sponsors do %> | ||
<%= sponsor.title %> - <%= sponsor.description |> SharedHelpers.md_to_text() %> <%= sponsor.link_url %> | ||
<% end %> | ||
LINKS: | ||
|
||
<%= @episode.notes |> Changelog.StringKit.md_bare_linkify() %> | ||
|
||
CHAPTERS: | ||
|
||
<%= @chapters %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters