Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Wave Theme) Google Podcasts -> YouTube Music #387

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions packages/wave/default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,18 @@
<span class="subscribe-text">Apple</span>
</a>
{{/if}}
{{#if @custom.google_podcasts_link}}
<a href="{{@custom.google_podcasts_link}}" class="subscribe-link" target="_blank" rel="noopener noreferrer">
{{> "icons/google"}}
<span class="subscribe-text">Google</span>
</a>
{{/if}}
{{#if @custom.spotify_link}}
<a href="{{@custom.spotify_link}}" class="subscribe-link" target="_blank" rel="noopener noreferrer">
{{> "icons/spotify"}}
<span class="subscribe-text">Spotify</span>
</a>
{{/if}}
{{#if @custom.youtube_music_link}}
<a href="{{@custom.youtube_music_link}}" class="subscribe-link" target="_blank" rel="noopener noreferrer">
{{> "icons/youtube-music"}}
<span class="subscribe-text">YouTube Music</span>
</a>
{{/if}}
<a href="{{#if @custom.rss_link}}{{@custom.rss_link}}{{else}}{{@site.url}}/rss{{/if}}" class="subscribe-link rss" target="_blank" rel="noopener noreferrer">
{{> "icons/rss"}}
<span class="subscribe-text">RSS</span>
Expand Down
30 changes: 20 additions & 10 deletions packages/wave/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"ghost": ">=5.0.0"
},
"license": "MIT",
"author": {
"name": "Ghost Foundation",
"email": "[email protected]",
"url": "https://ghost.org"
},
"author": {
"name": "Ghost Foundation",
"email": "[email protected]",
"url": "https://ghost.org"
},
"keywords": [
"ghost",
"theme",
Expand Down Expand Up @@ -44,26 +44,36 @@
"custom": {
"navigation_layout": {
"type": "select",
"options": ["Logo on the left", "Logo in the middle", "Stacked"],
"options": [
"Logo on the left",
"Logo in the middle",
"Stacked"
],
"default": "Logo on the left"
},
"title_font": {
"type": "select",
"options": ["Modern sans-serif", "Elegant serif"],
"options": [
"Modern sans-serif",
"Elegant serif"
],
"default": "Modern sans-serif"
},
"body_font": {
"type": "select",
"options": ["Modern sans-serif", "Elegant serif"],
"options": [
"Modern sans-serif",
"Elegant serif"
],
"default": "Modern sans-serif"
},
"apple_podcasts_link": {
"type": "text",
"default": "https://podcasts.apple.com/"
},
"google_podcasts_link": {
"youtube_music_link": {
"type": "text",
"default": "https://podcasts.google.com/"
"default": "https://music.youtube.com/"
},
"spotify_link": {
"type": "text",
Expand Down
3 changes: 0 additions & 3 deletions packages/wave/partials/icons/google.hbs

This file was deleted.

5 changes: 5 additions & 0 deletions packages/wave/partials/icons/youtube-music.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="12" r="12" fill="currentColor"/>
<path d="M12 6.273c3.15 0 5.727 2.563 5.727 5.727S15.164 17.727 12 17.727 6.273 15.164 6.273 12 8.85 6.273 12 6.273m0-.546c-3.464 0-6.273 2.809-6.273 6.273 0 3.464 2.809 6.273 6.273 6.273 3.464 0 6.273-2.809 6.273-6.273 0-3.464-2.809-6.273-6.273-6.273Z" fill="#ffffff"/>
<path d="m9.818 15.136 5.318-3.272-5.318-3v6.272Z" fill="#ffffff"/>
</svg>