Skip to content

Commit

Permalink
Make language pages link to readable books
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrini committed Dec 20, 2022
1 parent 75c4582 commit 932b0aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openlibrary/templates/type/language/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1>$page.name</h1>
<span class="tag">$page.name</span>
</div>

<p>Try a <a href="/search?q=language:$page.code">search for books in $page.name</a>?</p>
<p>$:_('Try a <a href="%(href)s">search for readable books in %(language)s</a>?', href="/search?" + urlencode(dict(q="language:" + page.code, has_fulltext="true", sort='random')), language=websafe(page.name))</p>

$:render_template("lib/history", page)

Expand Down

0 comments on commit 932b0aa

Please sign in to comment.