Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/reference/projects/_websites.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ about:
template: jolla
image: profile.jpg
links:
- icon: twitter
text: twitter
href: https://twitter.com
- icon: bluesky
text: Bluesky
href: https://bsky.app
---
```

Expand Down
4 changes: 2 additions & 2 deletions docs/websites/_footer.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ You can alternatively target the `left`, `right`, and `center` regions of the fo
right:
- icon: github
href: https://github.com/
- icon: twitter
href: https://twitter.com/
- icon: bluesky
href: https://bsky.app/
```

Note for the `right` region of the footer we included navigational items for GitHub and Twitter rather than text. You can include navigational items in any region of the footer.
Expand Down
12 changes: 6 additions & 6 deletions docs/websites/website-about.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ about:
template: jolla
image: profile.jpg
links:
- icon: twitter
text: twitter
href: https://twitter.com
- icon: bluesky
text: Bluesky
href: https://bsky.app
- icon: github
text: Github
href: https://github.com
Expand Down Expand Up @@ -139,9 +139,9 @@ about:
template: jolla
image: profile.jpg
links:
- icon: twitter
text: twitter
href: https://twitter.com
- icon: bluesky
text: Bluesky
href: https://bsky.app
- icon: github
text: Github
href: https://github.com
Expand Down
6 changes: 3 additions & 3 deletions docs/websites/website-blog.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ image: profile.jpg
about:
template: jolla
links:
- icon: twitter
text: Twitter
href: https://twitter.com
- icon: bluesky
text: Bluesky
href: https://bsky.app
# (additional links excluded for brevity)
---

Expand Down
14 changes: 7 additions & 7 deletions docs/websites/website-navigation.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Here are all of the options available for top navigation:
| `background` | Background color ("primary", "secondary", "success", "danger", "warning", "info", "light", "dark", or hex color). |
| `foreground` | Foreground color ("primary", "secondary", "success", "danger", "warning", "info", "light", "dark", or hex color). The foreground color will be used to color navigation elements, text and links that appear in the navbar. |
| `search` | Include a search box (true or false). |
| `tools` | List of navbar tools (e.g., link to github or twitter, etc.). See [Navbar Tools](#navbar-tools) for details. |
| `tools` | List of navbar tools (e.g., link to github or bluesky, etc.). See [Navbar Tools](#navbar-tools) for details. |
| `left` / `right` | Lists of navigation items for left and right side of navbar. |
| `pinned` | Always show the navbar (true or false). Defaults to false, and uses [headroom.js](https://wicky.nillia.ms/headroom.js/) to automatically show the navbar when the user scrolls up on the page. |
| `collapse` | Collapse the navbar items into a hamburger menu when the display gets narrow (defaults to true). |
Expand All @@ -76,7 +76,7 @@ Here are the options available for individual navigation items:
|--------------|----------------------------------------------------------------------------------------------------------------------------------------------|
| `href` | Link to file contained with the project or external URL. |
| `text` | Text to display for navigation item (defaults to the document `title` if not provided). |
| `icon` | Name of one of the standard [Bootstrap 5 icons](https://icons.getbootstrap.com/) (e.g., "github", "twitter", "share", etc.). |
| `icon` | Name of one of the standard [Bootstrap 5 icons](https://icons.getbootstrap.com/) (e.g., "github", "bluesky", "share", etc.). |
| `aria-label` | [Accessible label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) for the navigation item. |
| `rel` | Value for [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel) attribute. Multiple space-separated values are permitted. |
| `target` | Value for [target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target) attribute. E.g., `_blank` to open in a new tab. |
Expand All @@ -99,8 +99,8 @@ For example:
website:
navbar:
tools:
- icon: twitter
href: https://twitter.com
- icon: bluesky
href: https://bsky.app
- icon: github
menu:
- text: Source Code
Expand Down Expand Up @@ -168,7 +168,7 @@ Here are all of the options available for side navigation:
| `logo-alt` | Alternate text for the logo image. |
| `logo-href` | Target href from sidebar logo. By default, the logo and title link to the root page of the site (`/index.html`). |
| `search` | Include a search box (true or false). Note that if there is already a search box on the top navigation bar it won't be displayed on the sidebar. |
| `tools` | List of sidebar tools (e.g., link to github or twitter, etc.). See the next section for details. |
| `tools` | List of sidebar tools (e.g., link to github or bluesky, etc.). See the next section for details. |
| `contents` | List of navigation items to display (typically top level items will in turn have a list of sub-items). |
| `style` | "docked" or "floating". |
| `type` | "dark" or "light" (hint to make sure the text color is the inverse of the background). |
Expand Down Expand Up @@ -263,8 +263,8 @@ For example:
website:
sidebar:
tools:
- icon: twitter
href: https://twitter.com
- icon: bluesky
href: https://bsky.app
- icon: github
menu:
- text: Source Code
Expand Down