Improved main.go comment.
This commit is contained in:
parent
e91747fa1f
commit
54d3b3113c
2 changed files with 2 additions and 2 deletions
|
@ -4,4 +4,4 @@ This document describes the contributors to the Seekia Website codebase.
|
||||||
|
|
||||||
Name | Date Of First Commit | Number Of Commits
|
Name | Date Of First Commit | Number Of Commits
|
||||||
--- | --- | ---
|
--- | --- | ---
|
||||||
Simon Sarasova | April 10, 2024 | 7
|
Simon Sarasova | April 10, 2024 | 8
|
2
main.go
2
main.go
|
@ -157,7 +157,7 @@ func main(){
|
||||||
// Code snippets have fields that need to be parsed
|
// Code snippets have fields that need to be parsed
|
||||||
// So to process the code snippets, we have to:
|
// 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
|
// 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){
|
parseTemplateObjectToStringTwice := func(templateObject *template.Template, definitionsMap map[string]string)(string, error){
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue