From ab588abc309c4760a0601c5d1f46d115488cc6c8 Mon Sep 17 00:00:00 2001 From: Sami Ahmed Siddiqui Date: Mon, 15 Aug 2022 15:47:17 +0500 Subject: [PATCH] update icon names --- layouts/partials/page-meta-links.html | 12 ++++++------ userguide/config.toml | 2 +- userguide/content/en/_index.html | 6 +++--- userguide/content/en/docs/adding-content/content.md | 8 ++++---- .../content/en/docs/adding-content/navigation.md | 2 +- .../en/docs/adding-content/shortcodes/index.md | 8 ++++---- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/layouts/partials/page-meta-links.html b/layouts/partials/page-meta-links.html index 1e3b5680bd..e3561eb221 100644 --- a/layouts/partials/page-meta-links.html +++ b/layouts/partials/page-meta-links.html @@ -8,7 +8,7 @@
{{ if $gh_url -}} {{ warnf "Warning: use of `github_url` is deprecated. For details see https://www.docsy.dev/docs/adding-content/repository-links/#github_url-optional" -}} - {{ T "post_edit_this" }} + {{ T "post_edit_this" }} {{ else if $gh_repo -}} {{ $gh_repo_path := printf "%s/content/%s" $gh_branch $pathFormatted -}} {{ if and ($gh_subdir) (.Site.Language.Lang) -}} @@ -37,13 +37,13 @@ {{ $newPageQS := querify "value" $newPageStub.Content "filename" "change-me.md" | safeURL -}} {{ $newPageURL := printf "%s/new/%s?%s" $gh_repo $gh_repo_path $newPageQS -}} - {{ T "post_view_this" }} - {{ T "post_edit_this" }} - {{ T "post_create_child_page" }} - {{ T "post_create_issue" }} + {{ T "post_view_this" }} + {{ T "post_edit_this" }} + {{ T "post_create_child_page" }} + {{ T "post_create_issue" }} {{ with $gh_project_repo -}} {{ $project_issueURL := printf "%s/issues/new" . -}} - {{ T "post_create_project_issue" }} + {{ T "post_create_project_issue" }} {{ end -}} {{ end -}} diff --git a/userguide/config.toml b/userguide/config.toml index 367e8d7328..ed8d083581 100644 --- a/userguide/config.toml +++ b/userguide/config.toml @@ -40,7 +40,7 @@ anchor = "smart" name = "Example Site" weight = 40 url = "https://example.docsy.dev" - post = '' + post = '' [services] [services.googleAnalytics] diff --git a/userguide/content/en/_index.html b/userguide/content/en/_index.html index 53b0c92444..58bf3c87c8 100644 --- a/userguide/content/en/_index.html +++ b/userguide/content/en/_index.html @@ -5,7 +5,7 @@ {{< blocks/cover title="Welcome to Docsy!" image_anchor="top" height="full" color="orange" >}}
}}"> - Learn More + Learn More Download @@ -32,12 +32,12 @@ {{% /blocks/feature %}} -{{% blocks/feature icon="fab fa-github" title="Contributions welcome!" url="https://github.com/google/docsy" %}} +{{% blocks/feature icon="fa-brands fa-github" title="Contributions welcome!" url="https://github.com/google/docsy" %}} We do a [Pull Request](https://github.com/google/docsy/pulls) contributions workflow on **GitHub**. New users are always welcome! {{% /blocks/feature %}} -{{% blocks/feature icon="fab fa-twitter" title="Follow us on Twitter!" url="https://twitter.com/docsydocs" %}} +{{% blocks/feature icon="fa-brands fa-twitter" title="Follow us on Twitter!" url="https://twitter.com/docsydocs" %}} Find out about new features and how our users are using Docsy. {{% /blocks/feature %}} diff --git a/userguide/content/en/docs/adding-content/content.md b/userguide/content/en/docs/adding-content/content.md index 3324a7e8fd..0a07002aa0 100644 --- a/userguide/content/en/docs/adding-content/content.md +++ b/userguide/content/en/docs/adding-content/content.md @@ -561,13 +561,13 @@ params: { "name": "Twitter", "url": "https://example.org/twitter", - "icon": "fab fa-twitter", + "icon": "fa-brands fa-twitter", "desc": "Follow us on Twitter to get the latest news!" }, { "name": "Stack Overflow", "url": "https://example.org/stack", - "icon": "fab fa-stack-overflow", + "icon": "fa-brands fa-stack-overflow", "desc": "Practical questions and curated answers" } ], @@ -575,13 +575,13 @@ params: { "name": "GitHub", "url": "https://github.com/google/docsy", - "icon": "fab fa-github", + "icon": "fa-brands fa-github", "desc": "Development takes place here!" }, { "name": "Slack", "url": "https://example.org/slack", - "icon": "fab fa-slack", + "icon": "fa-brands fa-slack", "desc": "Chat with other project developers" }, { diff --git a/userguide/content/en/docs/adding-content/navigation.md b/userguide/content/en/docs/adding-content/navigation.md index 5feb787068..7ff60b1f64 100644 --- a/userguide/content/en/docs/adding-content/navigation.md +++ b/userguide/content/en/docs/adding-content/navigation.md @@ -227,7 +227,7 @@ On large sites (default: > 2000 pages) the section menu is not generated for eac ### Add icons to the section menu -You can add icons to the section menu in the sidebar by setting the `icon` parameter in the page front matter (e.g. `icon: fa-solid fa-tools`). +You can add icons to the section menu in the sidebar by setting the `icon` parameter in the page front matter (e.g. `icon: fa-solid fa-screwdriver-wrench`). You can find a complete list of icons to use in the [FontAwesome documentation](https://fontawesome.com/icons?d=gallery&p=2). Docsy includes the free FontAwesome icons by default. diff --git a/userguide/content/en/docs/adding-content/shortcodes/index.md b/userguide/content/en/docs/adding-content/shortcodes/index.md index cb18d84dc3..418c9b6003 100644 --- a/userguide/content/en/docs/adding-content/shortcodes/index.md +++ b/userguide/content/en/docs/adding-content/shortcodes/index.md @@ -33,7 +33,7 @@ The **blocks/cover** shortcode creates a landing page type of block that fills t {{}}