-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from arXiv/develop
Pre-release merge for arXiv Browse v0.2.3
- Loading branch information
Showing
8 changed files
with
206 additions
and
141 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{%- extends "base.html" -%} | ||
{% block title %}Category Taxonomy{% endblock %} | ||
{% block header_h1 %}<h1><a href="/">{{ config['BROWSE_SITE_LABEL'] }}</a> > category taxonomy</h1>{% endblock %} | ||
{# Disable login on this page for now, per classic #} | ||
{% block login_link %}{% endblock %} | ||
|
||
{%- block content %} | ||
<h1>arXiv Category Taxonomy</h1> | ||
<div id="guide" style="border-radius: 5px; border: 1px solid; width: 55%; padding-left: 5px"> | ||
<h2>Group Name</h2> | ||
<ul> | ||
<li>Archive Name (Archive ID) - omitted if group consists of a single archive with the same name as the group</li> | ||
<ul> | ||
<li><strong>Category Name (Category ID)</strong><br />Category description if available</li> | ||
</ul> | ||
</ul> | ||
</div> | ||
|
||
{%- for group_key, group_details in groups.items()|sort if not group_details.is_test -%} | ||
<h2>{{ groups[group_key].name }}</h2> | ||
<ul> | ||
{%- for archive_key, archive_details in archives.items()|sort(attribute='1.name') if archives[archive_key].in_group == group_key %} | ||
{%- set archive_url = url_for('browse.archive', archive=archive_key) if archive_key != 'cs' else 'https://arxiv.org/corr' -%} | ||
{%- set archive_name = archives[archive_key].name -%} | ||
{%- if not (loop.first and loop.last) -%} | ||
<li>{{ archive_name }} ({{ archive_key }})</li> | ||
{%- endif -%} | ||
<ul> | ||
{% for category_key, category_details in categories.items()|sort(attribute='1.name') if categories[category_key].in_archive == archive_key %} | ||
<li><strong>{{ categories[category_key].name }} ({{ category_key }})</strong> | ||
{%- if 'description' in categories[category_key] -%} | ||
<br />{{ categories[category_key].description }} | ||
{%- endif -%} | ||
</li> | ||
{%- endfor -%} | ||
</ul> | ||
{%- endfor -%} | ||
</ul> | ||
{%- endfor -%} | ||
|
||
{% endblock 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,2 +1,3 @@ | ||
{#- News blurbs appear at the top of the home page. Generally there should be no more than four items. -#} | ||
11 Jun 2019: <a href="https://arxiv.org/new/#june11_2019">Announcing a new category and category mergers</a><br/> | ||
20 May 2019: <a href="http://bit.ly/arXivEngineer4">We are hiring: arXiv Service Reliability Engineer</a><br/> |
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