Files
hugo-PaperMod/theme.toml
T
Aditya Telange a5d59c7d44 Fix/hugo v0.158.0 deprecations (#1884)
* fix(layouts): use non-deprecated .Language methods

Hugo v0.158.0 deprecated these in favour of new names:
- .Language.LanguageDirection -> .Language.Direction
- .Language.LanguageCode -> .Language.Locale
- .Language.LanguageName -> .Language.Label

Fixes the deprecation warnings shown on every build. Requires Hugo
v0.158.0 or later.

Closes #1856

* chore(theme): bump minimum hugo version to v0.158.0

* fix(schema_json): replace deprecated .Language.Lang with .Language.Name

ref: https://discourse.gohugo.io/t/deprecations-in-v0-158-0/56869
2026-10-18 19:27:30 +05:30

69 lines
1.4 KiB
TOML

# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "PaperMod"
license = "MIT"
licenselink = "https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE"
description = "A fast, clean, responsive Hugo theme"
homepage = "https://github.com/adityatelange/hugo-PaperMod/"
demosite = "https://adityatelange.github.io/hugo-PaperMod/"
tags = [
"responsive",
"blog",
"clean",
"minimal",
"light",
"dark",
"fast",
"multilingual",
"search",
"seo",
"chroma",
"personal"
]
features = [
"responsive",
"single-column",
"blog",
"cover-image",
"table-of-contents",
"opengraph",
"twitter-cards",
"favicon",
"archive",
"share-icons",
"cover",
"multilingual",
"social-icons",
"minified-assets",
"theme-toggle",
"menu-location-indicator",
"scroll-to-top",
"search",
"breadcrumbs",
"reading-time",
"word-count",
"code-copy",
"comments",
"edit-post",
"canonical-link",
"profile-mode",
"home-info-mode",
"related-posts",
"rss",
"multiple-authors",
"post-nav-links"
]
min_version = "0.158.0"
[author]
name = "Aditya Telange"
homepage = "https://github.com/adityatelange"
# If porting an existing theme
[original]
name = "Paper"
author = "nanxiaobei"
homepage = "https://github.com/nanxiaobei"
repo = "https://github.com/nanxiaobei/hugo-paper/"