Improve home page.
This commit is contained in:
parent
b660dde94f
commit
13bfd42914
2 changed files with 3 additions and 2 deletions
|
@ -23,7 +23,7 @@ bp = Blueprint('agora', __name__)
|
|||
|
||||
@bp.route('/')
|
||||
def index():
|
||||
return render_template('index.html', help=url_for('agora.help'), nodes=url_for('agora.nodes'), subnodes=url_for('agora.subnodes'), users=url_for('agora.users'), journals=url_for('agora.journals'))
|
||||
return render_template('index.html', help=url_for('agora.help'), nodes=url_for('agora.nodes'), subnodes=url_for('agora.subnodes'), users=url_for('agora.users'), journals=url_for('agora.journals'), search=url_for('agora.search'))
|
||||
|
||||
@bp.route('/help')
|
||||
def help():
|
||||
|
|
|
@ -26,9 +26,10 @@ This site is very much under construction, but feel free to look around:
|
|||
<li><a href="{{subnodes}}">{{subnodes}}</a> lists all subnodes in this Agora; currently these are mostly notes as volunteered by users.</li>
|
||||
<li><a href="{{journals}}">{{journals}}</a> displays all journal entries (these are notes matching YYYY-MM-DD).</li>
|
||||
<li><a href="{{users}}">{{users}}</a> displays all users in this Agora, click through to see their subnodes.</li>
|
||||
<li><a href="{{search}}">{{search}}</a> offers full text search over all subnodes (supports regexes).</li>
|
||||
</ul>
|
||||
|
||||
The [[<a href="/node/wikilink">wikilink</a>]] is the heart of the Agora. <a href="/node/foo">/node/foo</a> and <a href="/wikilink/foo">/wikilink/foo</a> will both render every node that responds to wikilink [[<a href="/node/foo">foo</a>]]. For example: [[<a href="/node/agora-help">agora-help</a>]].
|
||||
The <a href="/node/wikilink">[[wikilink]]</a> is the heart of the Agora. <a href="/node/foo">/node/foo</a> will render every subnode that resolves to wikilink <a href="/node/foo">[[foo]]</a>. For example: <a href="/node/agora">[[Agora]]</a>.
|
||||
|
||||
<br /><br />
|
||||
For more information, please visit the <a href="https://flancia.org/go/agora">Agora repository.</a> If you're interested in knowing what's coming, please refer to <a href="https://anagora.org/node/agora-plan">Agora plan</a>.
|
||||
|
|
Loading…
Reference in a new issue