mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Documentation: improve bookmarks documentation and working examples (#2713)
This commit is contained in:
parent
e206c86de8
commit
44b161799b
@ -3,7 +3,7 @@ title: Bookmarks
|
|||||||
description: Bookmark Configuration
|
description: Bookmark Configuration
|
||||||
---
|
---
|
||||||
|
|
||||||
Bookmarks function much the same as [Services](services.md), in how groups and lists work. They're just much simpler, smaller, and contain no extra features other than being a link out.
|
Bookmarks are configured in the `bookmarks.yaml` file. They function much the same as [Services](services.md), in how groups and lists work. They're just much simpler, smaller, and contain no extra features other than being a link out.
|
||||||
|
|
||||||
The design of homepage expects `abbr` to be 2 letters, but is not otherwise forced.
|
The design of homepage expects `abbr` to be 2 letters, but is not otherwise forced.
|
||||||
|
|
||||||
@ -12,6 +12,7 @@ You can also use an icon for bookmarks similar to the [options for service icons
|
|||||||
By default, the description will use the hostname of the link, but you can override it with a custom description.
|
By default, the description will use the hostname of the link, but you can override it with a custom description.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
---
|
||||||
- Developer:
|
- Developer:
|
||||||
- Github:
|
- Github:
|
||||||
- abbr: GH
|
- abbr: GH
|
||||||
@ -29,4 +30,8 @@ By default, the description will use the hostname of the link, but you can overr
|
|||||||
href: https://youtube.com/
|
href: https://youtube.com/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
which renders to (depending on your theme, etc.):
|
||||||
|
|
||||||
<img width="1000" alt="Bookmarks" src="https://user-images.githubusercontent.com/19408/269307009-d7e45885-230f-4e07-b421-9822017ae878.png">
|
<img width="1000" alt="Bookmarks" src="https://user-images.githubusercontent.com/19408/269307009-d7e45885-230f-4e07-b421-9822017ae878.png">
|
||||||
|
|
||||||
|
The default [bookmarks.yaml](https://github.com/gethomepage/homepage/blob/main/src/skeleton/bookmarks.yaml) is a working example.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user