1 {% extends
"../base.html" %}
3 {% block title %}{{ _(
"Analytics") }} - {{ _(
"Docs") }}{% end block %}
6 <section class=
"hero is-primary">
7 <div class=
"hero-body">
8 <div class=
"container">
9 <nav class=
"breadcrumb" aria-label=
"breadcrumbs">
12 <a href=
"/">{{ _(
"Home") }}
</a>
15 <a href=
"/analytics">{{ _(
"Analytics") }}
</a>
17 <li class=
"is-active">
18 <a href=
"#" aria-current=
"page">{{ _(
"Documentation") }}
</a>
23 <h1 class=
"title">{{ _(
"Documents") }}
</h1>
28 <section class=
"section">
29 <div class=
"container">
30 <h4 class=
"title is-4">{{ _(
"Most Popular Pages") }}
</h4>
32 {% module DocsList(popular_pages, show_author=False) %}
36 <section class=
"section">
37 <div class=
"container">
38 <h4 class=
"title is-4">{{ _(
"Popular Searches") }}
</h4>
40 <table class=
"table is-fullwidth">
43 <th>{{ _(
"Search Query") }}
</th>
44 <th class=
"has-text-right">{{ _(
"Searches") }}
</th>
49 {% for search in sorted(popular_searches, key=lambda q: popular_searches[q], reverse=True) %}
51 <th scope=
"row">{{ search }}
</th>
52 <td class=
"has-text-right">{{ popular_searches[search] }}
</td>