You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/08/15 17:21:57 UTC

[GitHub] [camel-website] zregvart commented on a change in pull request #74: Add search for Hugo (more polishing need to do)

zregvart commented on a change in pull request #74: Add search for Hugo (more polishing need to do) 
URL: https://github.com/apache/camel-website/pull/74#discussion_r314409135
 
 

 ##########
 File path: layouts/_default/list.algolia.json
 ##########
 @@ -0,0 +1,54 @@
+{{/* Generates a valid Algolia search index */}}
+{{- $hits := slice -}}
+{{- $section := $.Site.GetPage "section" .Section }}
+{{- $validVars := $.Param "algolia.vars" | default slice -}}
+{{- $validParams := $.Param "algolia.params" | default slice -}}
+{{/* Include What Pages? */}}
+{{ range $i, $hit := .Site.AllPages }}
 
 Review comment:
   I'm assuming that this only goes through the Hugo generated pages, not the Antora generated ones, am I correct?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services