【发布时间】:2023-04-10 17:52:01
【问题描述】:
我正在使用 hugo (https://gohugo.io/) 并尝试在菜单中创建外部链接(docsy 主题)。
我将 _index.md 更改为:
---
title: "Documentation"
linkTitle: "Documentation"
url: "https://www.myurl.com"
weight: 20
menu:
main:
weight: 20
---
然而雨果报告:
Rebuild failed: URLs with protocol (http*) not supported
谁能建议如何直接在菜单上创建外部 URL 链接?
谢谢你,格雷戈
【问题讨论】:
-
居然在这里找到了 hugo docsy 主题的答案:docsy.dev/docs/adding-content/navigationThanks
-
如果您发布答案会很好。