diff options
author | Phil Davis <[email protected]> | 2020-12-16 16:56:32 +0545 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-16 12:11:32 +0100 |
commit | 04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch) | |
tree | 585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /hugolib/page.go | |
parent | 21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff) | |
download | hugo-04b89857e104ac7dcbf9fc65d8d4f1a1178123e6.tar.gz hugo-04b89857e104ac7dcbf9fc65d8d4f1a1178123e6.zip |
all: Fix minor typos
Diffstat (limited to 'hugolib/page.go')
-rw-r--r-- | hugolib/page.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/page.go b/hugolib/page.go index 47aeb6e9a..6c177b687 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -584,7 +584,7 @@ type renderStringOpts struct { Markup string } -var defualtRenderStringOpts = renderStringOpts{ +var defaultRenderStringOpts = renderStringOpts{ Display: "inline", Markup: "", // Will inherit the page's value when not set. } @@ -595,7 +595,7 @@ func (p *pageState) RenderString(args ...interface{}) (template.HTML, error) { } var s string - opts := defualtRenderStringOpts + opts := defaultRenderStringOpts sidx := 1 if len(args) == 1 { @@ -978,7 +978,7 @@ func (p *pageState) shiftToOutputFormat(isRenderingSite bool, idx int) error { // // For pages that have a source file, it is returns the path to this file as an // absolute path rooted in this site's content dir. -// For pages that do not (sections witout content page etc.), it returns the +// For pages that do not (sections without content page etc.), it returns the // virtual path, consistent with where you would add a source file. func (p *pageState) sourceRef() string { if !p.File().IsZero() { |