hexo-theme-icarus/source/_posts/widget/Links.md

19 lines
611 B
Markdown
Raw Normal View History

2018-10-24 04:22:46 +00:00
title: Links Sidebar Widget
date: 2016-02-01
2018-10-24 04:22:46 +00:00
categories:
- Widgets
---
2018-10-28 05:30:33 +00:00
You can show a list of links to other websites in the sidebar by enabling the links widget. Add the following configuration to the `widgets` section in your `_config.yml` file, and you are good to go:
2018-10-24 04:22:46 +00:00
```yaml
-
type: links
position: left
links:
'Website name': 'http://website/url'
Hexo: 'https://hexo.io'
PPOffice: 'https://github.com/ppoffice'
```
One thing you should note is that the links widget only takes a list of website name and URL, and the URL is displayed on the right side of the widget.