This is an automated email from the ASF dual-hosted git repository.

gcruz pushed a commit to branch gc/8444
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/gc/8444 by this push:
     new 4fc327bb9 fixup! [#8444] updated pagination_meta_tags with new args, 
added test and comments for querystring helper
4fc327bb9 is described below

commit 4fc327bb95dd5f5a5a92ed99f8da6adf29ebf413
Author: Guillermo Cruz <[email protected]>
AuthorDate: Wed Jul 13 10:12:44 2022 -0600

    fixup! [#8444] updated pagination_meta_tags with new args, added test and 
comments for querystring helper
---
 ForgeBlog/forgeblog/templates/blog/search.html | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ForgeBlog/forgeblog/templates/blog/search.html 
b/ForgeBlog/forgeblog/templates/blog/search.html
index a81e74bb0..a59677615 100644
--- a/ForgeBlog/forgeblog/templates/blog/search.html
+++ b/ForgeBlog/forgeblog/templates/blog/search.html
@@ -17,11 +17,13 @@
        under the License.
 -#}
 {% extends g.theme.master %}
-
+{% import 'allura:templates/jinja_master/lib.html' as lib with context %}
 {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / 
Search{% endblock %}
 
 {%  block head %}
     <meta name="robots" content="noindex, follow">
+    {{ lib.canonical_tag() }}
+    {{ lib.pagination_meta_tags(request, page, count, limit) }}
 {% endblock %}
 
 {% block header %}Search {{c.app.config.options.mount_point}}: {{q}}{% 
endblock %}

Reply via email to