Skip to content

Commit

Permalink
Better website when deeplink fails (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteHamster authored Jul 10, 2024
1 parent 80034d9 commit 1445e1b
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _i18n/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ homepage:
description: "With AntennaPod, you can download episodes and listen anywhere. You can even select podcasts that should be downloaded automatically."
img-alt: ""

# Not installed
not-installed:
title: "AntennaPod not installed"
text: "AntennaPod is not installed or your browser does not support opening it directly."

## Blog
blog:
posted: "Posted on"
Expand Down
23 changes: 23 additions & 0 deletions deeplink/main/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
layout: internal
title: not-installed.title
---

<div class="container-fluid">
<div class="container">
<div class="row justify-content-md-center">
<div class="col col-xl-6">
<article class="post-content">
<h2 id="podcastTitle">{% t not-installed.title %}</h2>
<p>
{% t not-installed.text %}
</p>
<p>
<a href="{{ site.baseurl }}/download" class="hero mr-3 mb-3 mb-xs-0">{% t generic.download %}</a>
</p>
</article>
</div>
</div>
</div>
</div>

23 changes: 23 additions & 0 deletions deeplink/search/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
layout: internal
title: not-installed.title
---

<div class="container-fluid">
<div class="container">
<div class="row justify-content-md-center">
<div class="col col-xl-6">
<article class="post-content">
<h2 id="podcastTitle">{% t not-installed.title %}</h2>
<p>
{% t not-installed.text %}
</p>
<p>
<a href="{{ site.baseurl }}/download" class="hero mr-3 mb-3 mb-xs-0">{% t generic.download %}</a>
</p>
</article>
</div>
</div>
</div>
</div>

0 comments on commit 1445e1b

Please sign in to comment.