update script
Closed this issue · 2 comments
nasciiboy commented
folders = ["about",
"getting-started",
"themes",
"content-management",
"templates",
"functions",
"variables",
"commands",
"troubleshooting",
"tools",
"hosting-and-deployment",
"contribute"]
titleRe = re.compile(r'^title: (.*)')
linktitleRe = re.compile(r'^linktitle: (.*)')
weightRe = re.compile(r'^weight: ([0-9]+)')
hamoid commented
Hi, thanks for this update. You added some folders and changed weightRE
to only scan numbers? With these changes, does it work well for you?
nasciiboy commented
Yes, they changed to https://github.com/gohugoio/hugoDocs, they added more sections and in some fields weigh
also added letters at the end