Improved main.go comment.

This commit is contained in:
Simon Sarasova 2024-04-22 22:57:08 +00:00
parent e91747fa1f
commit 54d3b3113c
No known key found for this signature in database
GPG key ID: 5E710636FDAA0C61
2 changed files with 2 additions and 2 deletions

View file

@ -4,4 +4,4 @@ This document describes the contributors to the Seekia Website codebase.
Name | Date Of First Commit | Number Of Commits
--- | --- | ---
Simon Sarasova | April 10, 2024 | 7
Simon Sarasova | April 10, 2024 | 8

View file

@ -157,7 +157,7 @@ func main(){
// Code snippets have fields that need to be parsed
// So to process the code snippets, we have to:
// 1. First parse the html page files to add the code snippets/replace any language fields
// 2. Then parse again to replace any language fields and instances of {{.LinkURLBase}} within the code snippets we just added
// 2. Then parse again to replace any language fields and instances of {{.BaseURL}} within the code snippets we just added
//
parseTemplateObjectToStringTwice := func(templateObject *template.Template, definitionsMap map[string]string)(string, error){