congo/exampleSite/content/samples/external/index.zh-hans.md

15 lines
658 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: "外部文章 - 为什么我改用 Fathom Analytics"
date: 2019-01-24
externalUrl: "https://jamespanther.com/writings/i-switched-from-google-analytics-to-fathom-analytics/"
summary: "Front Matter中的`externalUrl` 参数可以链接到任何 URL。这篇文章看起来和其他文章没什么区别但会链接到 Hugo 网站之外的一篇文章。"
showReadingTime: false
_build:
render: "never"
list: "local"
---
这个页面使用Front Matter中的`externalUrl`参数将链接指向了Hugo网站之外的一篇文章。
这对于像链接到Medium上的文章或者托管在第三方网站上的研究论文等情况非常方便。