mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-07 00:15:13 +00:00
* check if the Hugo generated author profile URL is valid
* works around the Hugo bug, preventing invalid links
* rename `author` folder to `authors`
* no need to GetPage authors/x and then GetPage author/x to check if
user account was created
* can just rename the folder and use `if .File` instead
* more aligned with how Hugo's taxonomy system was designed
* refactor all author code
BREAKING CHANGE: rename `author` folder to `authors`
Fix #1064
15 lines
493 B
Markdown
15 lines
493 B
Markdown
+++
|
|
# About widget.
|
|
widget = "about" # See https://sourcethemes.com/academic/docs/page-builder/
|
|
headless = true # This file represents a page section.
|
|
active = true # Activate this widget? true/false
|
|
weight = 20 # Order that this section will appear in.
|
|
|
|
title = "Biography"
|
|
|
|
# Choose the user profile to display
|
|
# This should be the username of a profile in your `content/authors/` folder.
|
|
# See https://sourcethemes.com/academic/docs/get-started/#introduce-yourself
|
|
author = "admin"
|
|
+++
|