aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2023-01-19 22:39:31 +0100
committerJulien Dessaux2023-01-19 22:39:31 +0100
commitcdbe7b4e63da1f9b8680b120c336bea8e5e73c45 (patch)
tree83dd5f2dc158fb8b237986462cca900887eb92cc
parentAdded factorio docs index page (diff)
downloadwww-cdbe7b4e63da1f9b8680b120c336bea8e5e73c45.tar.gz
www-cdbe7b4e63da1f9b8680b120c336bea8e5e73c45.tar.bz2
www-cdbe7b4e63da1f9b8680b120c336bea8e5e73c45.zip
Fixed broken git.adyxax.org external link
-rw-r--r--content/blog/hugo/search.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/blog/hugo/search.md b/content/blog/hugo/search.md
index d58f51c..fd1b314 100644
--- a/content/blog/hugo/search.md
+++ b/content/blog/hugo/search.md
@@ -81,7 +81,7 @@ The `search` template just need to be written accordingly, and the http templati
### The golang webservice
-The webservice lives in a folder of my hugo repository and can be found [here](https://git.adyxax.org/adyxax/www/src/branch/master/search). The website's makefile first builds the hugo website, then copies the HTML template and the json index in the search folder. It then builds the golang binary and embeds these.
+The webservice lives in a folder of my hugo repository and can be found [here](https://git.adyxax.org/adyxax/www/tree/search). The website's makefile first builds the hugo website, then copies the HTML template and the json index in the search folder. It then builds the golang binary and embeds these.
When the webservice starts, it parses the JSON index and generates separate lists of unique words found in titles, descriptions, tags and page content. These lists each have a weight that factors in the results when the searched words are found in the list via a simple `string.Contains` match.