Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/allconfig/docshelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/gohugoio/hugo/docshelper"
)

// This is is just some helpers used to create some JSON used in the Hugo docs.
// This is just some helpers used to create some JSON used in the Hugo docs.
func init() {
docsProvider := func() docshelper.DocProvider {
cfg := config.New()
Expand Down
2 changes: 1 addition & 1 deletion helpers/docshelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/gohugoio/hugo/docshelper"
)

// This is is just some helpers used to create some JSON used in the Hugo docs.
// This is just some helpers used to create some JSON used in the Hugo docs.
func init() {
docsProvider := func() docshelper.DocProvider {
var chromaLexers []any
Expand Down
2 changes: 1 addition & 1 deletion output/docshelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gohugoio/hugo/docshelper"
)

// This is is just some helpers used to create some JSON used in the Hugo docs.
// This is just some helpers used to create some JSON used in the Hugo docs.
func init() {
docsProvider := func() docshelper.DocProvider {
return docshelper.DocProvider{
Expand Down
2 changes: 1 addition & 1 deletion parser/pageparser/pagelexer_shortcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var (
rightDelimScNoMarkup = []byte(">}}")
leftDelimScWithMarkup = []byte("{{%")
rightDelimScWithMarkup = []byte("%}}")
leftComment = []byte("/*") // comments in this context us used to to mark shortcodes as "not really a shortcode"
leftComment = []byte("/*") // comments in this context us used to mark shortcodes as "not really a shortcode"
rightComment = []byte("*/")
)

Expand Down
2 changes: 1 addition & 1 deletion related/inverted_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ type SearchOpts struct {
// The indices to search in.
Indices []string

// Fragments holds a a list of special keywords that is used
// Fragments holds a list of special keywords that is used
// for indices configured as type "fragments".
// This will match the fragment identifiers of the documents.
Fragments []string
Expand Down