Add external link feature for posts (#141)
* Add external link feature for posts
* Add post example using external link
1 files added
3 files modified
| | |
| | | - [Piotr Januszewski](https://piojanu.github.io) |
| | | - [Artem Khvastunov](https://artspb.me) |
| | | - [Gabriel Nepomuceno] (https://blog.nepomuceno.me) |
| | | - [Salvatore Giordano] (https://salvatore-giordano.github.io) |
| | |
| | | slug = "" |
| | | tags = [] |
| | | categories = [] |
| | | externalLink = "" |
| | | +++ |
| New file |
| | |
| | | +++ |
| | | date = "2019-01-17" |
| | | title = "Hugo coder wiki" |
| | | slug = "hugo-coder-wiki" |
| | | tags = [ |
| | | "hugo", |
| | | "development", |
| | | "themes" |
| | | ] |
| | | categories = [ |
| | | "Development", |
| | | ] |
| | | externalLink = "https://github.com/luizdepra/hugo-coder/wiki" |
| | | +++ |
| | |
| | | <li> |
| | | <span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span> |
| | | <a class="title" href="{{ .URL }}">{{ .Title }}</a> |
| | | <a class="title" href="{{ .Params.ExternalLink | default .URL }}">{{ .Title }}</a> |
| | | </li> |