forked from DIYgod/RSSHub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(aeon): enhance category and type routes with detailed parameters…
… and improved data fetching (DIYgod#17745)
- Loading branch information
Showing
5 changed files
with
121 additions
and
57 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
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,3 +1,9 @@ | ||
<img src="{{ banner }}" alt=""> | ||
{{ if banner.url }} | ||
<figure> | ||
<img src="{{ banner.url }}" alt="{{ banner.alt }}"> | ||
{{ if banner.caption }} | ||
<figcaption>{{ banner.caption }}</figcaption> | ||
{{ /if }} | ||
{{ /if }} | ||
{{@ authorsBio }} | ||
{{@ content}} | ||
{{@ content }} |
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,10 +1,10 @@ | ||
{{ set video = article.hosterId }} | ||
{{ if article.hoster === 'vimeo' }} | ||
{{ set video = "https://player.vimeo.com/video/" + video + "?dnt=1"}} | ||
{{ else if article.hoster == 'youtube' }} | ||
{{ set video = "https://player.vimeo.com/video/" + video + "?dnt=1" }} | ||
{{ else if article.hoster === 'youtube' }} | ||
{{ set video = "https://www.youtube-nocookie.com/embed/" + video }} | ||
{{ /if }} | ||
|
||
<iframe width="672" height="377" src="{{ video }}" frameborder="0" allowfullscreen></iframe> | ||
{{@ article.credits}} | ||
{{@ article.description}} | ||
{{@ article.credits }} | ||
{{@ article.description }} |
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