mirror of https://github.com/jpanther/congo.git
🚸 Add archetype for external articles
parent
1d4816f90a
commit
e9eb51e86b
|
@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
- Article pagination direction can be inverted
|
- Article pagination direction can be inverted
|
||||||
- Author `headline` parameter
|
- Author `headline` parameter
|
||||||
- Skip to content and Scroll to top links
|
- Skip to content and Scroll to top links
|
||||||
|
- Archetype for generating links to external articles
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
externalUrl: ""
|
||||||
|
summary: ""
|
||||||
|
showReadingTime: false
|
||||||
|
_build:
|
||||||
|
render: "false"
|
||||||
|
list: "local"
|
||||||
|
---
|
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
title: "An External Article"
|
||||||
|
date: 2019-01-24
|
||||||
|
externalUrl: "https://jamespanther.com/writings/i-switched-from-google-analytics-to-fathom-analytics/"
|
||||||
|
summary: "The `externalUrl` front matter parameter can link to any URL."
|
||||||
|
showReadingTime: false
|
||||||
|
_build:
|
||||||
|
render: "false"
|
||||||
|
list: "local"
|
||||||
|
---
|
||||||
|
|
||||||
|
This page uses the `externalUrl` front matter parameter to link to an article outside of this Hugo website.
|
||||||
|
|
||||||
|
It's great for things like linking to posts on Medium or to research papers you may have hosted on third party websites.
|
Loading…
Reference in New Issue