sitemap

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package sitemap generates an list of pages of the website. The generated XML file is stored on the site's root and can be parsed by search engine bots.

Index

Constants

View Source
const (
	// Resource of the sitemap.
	Resource = "https://defacto2.net/f/"
	// limit the number of urls as permitted by Bing and Google search engines.
	Limit = 50000
)

Variables

This section is empty.

Functions

func Create

func Create() error

Create generates and prints the sitemap.

Types

This section is empty.

Directories

Path Synopsis
internal
url

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL