Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
1ada1704
Commit
1ada1704
authored
Oct 01, 2017
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
excluded read/unread when exposing the catalog to an anonymous user
parent
3c9f8b15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
index.xml
cps/templates/index.xml
+2
-0
No files found.
cps/templates/index.xml
View file @
1ada1704
...
...
@@ -34,6 +34,7 @@
<id>
{{url_for('feed_discover')}}
</id>
<content
type=
"text"
>
{{_('Show Random Books')}}
</content>
</entry>
{% if not current_user.is_anonymous() %}
<entry>
<title>
{{_('Read Books')}}
</title>
<link
rel=
"subsection"
href=
"{{url_for('feed_read_books')}}"
type=
"application/atom+xml;profile=opds-catalog"
/>
...
...
@@ -46,6 +47,7 @@
<id>
{{url_for('feed_unread_books')}}
</id>
<content
type=
"text"
>
{{_('Unread Books')}}
</content>
</entry>
{% endif %}
<entry>
<title>
{{_('Authors')}}
</title>
<link
rel=
"subsection"
href=
"{{url_for('feed_authorindex')}}"
type=
"application/atom+xml;profile=opds-catalog"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment