mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-18 07:26:48 +00:00
add param support
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
<entry>
|
||||
<id>{{item.link}}</id>
|
||||
<title><![CDATA[{{item.title|safe}}]]></title>
|
||||
<published>{{item.pubDate}}</published>
|
||||
<updated>{{item.pubDate}}</updated>
|
||||
<published>{{item.pubDate|default(now)}}</published>
|
||||
<updated>{{item.pubDate|default(now)}}</updated>
|
||||
<link href="{{item.link}}"/>
|
||||
<content type="html" src="{{item.link}}"><![CDATA[{{item.description|safe}}]]></content>
|
||||
</entry>
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
{% extends "layout.html" %}
|
||||
|
||||
{% block title %}All Feeds{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<div class="list-group">
|
||||
{% for rule in rules %}
|
||||
<a href="{{rule.rule}}" class="list-group-item list-group-item-action">{{rule.endpoint[5:]}}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock content %}
|
||||
@@ -7,7 +7,7 @@
|
||||
<h1 class="display-4">Welcome to RSSHub!</h1>
|
||||
<p class="lead">If you see this page, the RSSHub is successfully installed and working.</p>
|
||||
<p>
|
||||
<a class="btn btn-primary btn-lg" role="button" href="{{url_for('main.feeds')}}">View All Feeds</a>
|
||||
<a class="btn btn-primary btn-lg" role="button" target="_blank" href="https://github.com/alphardex/RSSHub-python">View Source</a>
|
||||
</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user