urls.Parse
少于1分钟
将以下英文翻译为中文:
urls.Parse
https://gohugo.io/functions/urls.parse/
Parses a URL into a URL structure.
语法
urls.Parse URL
The urls.Parse function parses a URL into a URL structure. The URL may be relative (a path, without a host) or absolute (starting with a scheme). Hugo throws an error when parsing an invalid URL.
| |
另请参阅
最后修改 June 1, 2023: 新增一个配置参数:sidebar_menu_truncate = 500 用于解决菜单不全的问题 (27810f1)