adding an about page as well

This commit is contained in:
Andrej Karpathy
2021-11-27 11:47:17 -08:00
parent 6c87055349
commit a169f0fa61
4 changed files with 38 additions and 1 deletions
+5
View File
@@ -312,6 +312,11 @@ def stats():
context['latest_paper'] = 'N/A'
return render_template('stats.html', **context)
@app.route('/about')
def about():
context = default_context()
return render_template('about.html', **context)
# -----------------------------------------------------------------------------
# tag related endpoints: add, delete tags for any paper
+5 -1
View File
@@ -245,4 +245,8 @@ body {
#profilewrap {
margin: 10px 40px 0 40px;
font-size: 14px;
}
}
#aboutwrap {
margin: 10px 40px 0 40px;
font-size: 14px;
}
+27
View File
@@ -0,0 +1,27 @@
{% extends "base.html" %}
{% block variables %}
{% endblock %}
{% block content %}
<div id="aboutwrap">
<div>
A much lighter-weight arxiv-sanity from-scratch re-write. Periodically polls arxiv API for new papers. Then allows users to tag papers of interest, and recommends new papers for each tag based on SVMs over tfidf features of paper abstracts. Allows one to search, rank, sort, slice and dice these results in a pretty web UI. Lastly, arxiv-sanity-lite can send you daily emails with recommendations of new papers based on your tags. Curate your tags, track recent papers in your area, and don't miss out!
</div>
<br>
<div>
This particular instance indexes papers from cs.CV, cs.LG, cs.CL, cs.AI, cs.NE, cs.RO,
and only since early-ish 2021.
</div>
<br>
<div>The code for this website is open source at Github under <a href="https://github.com/karpathy/arxiv-sanity-lite">arxiv-sanity-lite</a>.</div>
<br>
<div>Developed in spare time as a labor of love by <a href="https://twitter.com/karpathy">@karpathy</a>.</div>
</div>
{% endblock %}
{% block elements %}
{% endblock %}
+1
View File
@@ -25,6 +25,7 @@ var user = {{ user | tojson }};
{{ 'profile' if user else 'login' }}
</a>
<a href="/stats" id="stats-link">stats</a>
<a href="/about" id="stats-link">about</a>
</div>
{% block content %}