Skip to content

Commit ff626fb

Browse files
samiahmedsiddiquichalin
authored andcommitted
update icon names
1 parent 9bb9eae commit ff626fb

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

layouts/partials/page-meta-links.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="td-page-meta ml-2 pb-1 pt-2 mb-0">
99
{{ if $gh_url -}}
1010
{{ warnf "Warning: use of `github_url` is deprecated. For details see https://www.docsy.dev/docs/adding-content/repository-links/#github_url-optional" -}}
11-
<a href="{{ $gh_url }}" target="_blank"><i class="fa-solid fa-edit fa-fw"></i> {{ T "post_edit_this" }}</a>
11+
<a href="{{ $gh_url }}" target="_blank"><i class="fa-solid fa-pen-to-square fa-fw"></i> {{ T "post_edit_this" }}</a>
1212
{{ else if $gh_repo -}}
1313
{{ $gh_repo_path := printf "%s/content/%s" $gh_branch $pathFormatted -}}
1414
{{ if and ($gh_subdir) (.Site.Language.Lang) -}}
@@ -37,13 +37,13 @@
3737
{{ $newPageQS := querify "value" $newPageStub.Content "filename" "change-me.md" | safeURL -}}
3838
{{ $newPageURL := printf "%s/new/%s?%s" $gh_repo $gh_repo_path $newPageQS -}}
3939

40-
<a href="{{ $viewURL }}" class="td-page-meta--view" target="_blank" rel="noopener"><i class="fa-solid fa-file-alt fa-fw"></i> {{ T "post_view_this" }}</a>
41-
<a href="{{ $editURL }}" class="td-page-meta--edit" target="_blank" rel="noopener"><i class="fa-solid fa-edit fa-fw"></i> {{ T "post_edit_this" }}</a>
42-
<a href="{{ $newPageURL }}" class="td-page-meta--child" target="_blank" rel="noopener"><i class="fa-solid fa-edit fa-fw"></i> {{ T "post_create_child_page" }}</a>
43-
<a href="{{ $issuesURL }}" class="td-page-meta--issue" target="_blank" rel="noopener"><i class="fa-solid fa-tasks fa-fw"></i> {{ T "post_create_issue" }}</a>
40+
<a href="{{ $viewURL }}" class="td-page-meta--view" target="_blank" rel="noopener"><i class="fa-solid fa-file-lines fa-fw"></i> {{ T "post_view_this" }}</a>
41+
<a href="{{ $editURL }}" class="td-page-meta--edit" target="_blank" rel="noopener"><i class="fa-solid fa-pen-to-square fa-fw"></i> {{ T "post_edit_this" }}</a>
42+
<a href="{{ $newPageURL }}" class="td-page-meta--child" target="_blank" rel="noopener"><i class="fa-solid fa-pen-to-square fa-fw"></i> {{ T "post_create_child_page" }}</a>
43+
<a href="{{ $issuesURL }}" class="td-page-meta--issue" target="_blank" rel="noopener"><i class="fa-solid fa-list-check fa-fw"></i> {{ T "post_create_issue" }}</a>
4444
{{ with $gh_project_repo -}}
4545
{{ $project_issueURL := printf "%s/issues/new" . -}}
46-
<a href="{{ $project_issueURL }}" class="td-page-meta--project-issue" target="_blank" rel="noopener"><i class="fa-solid fa-tasks fa-fw"></i> {{ T "post_create_project_issue" }}</a>
46+
<a href="{{ $project_issueURL }}" class="td-page-meta--project-issue" target="_blank" rel="noopener"><i class="fa-solid fa-list-check fa-fw"></i> {{ T "post_create_project_issue" }}</a>
4747
{{ end -}}
4848

4949
{{ end -}}

userguide/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ anchor = "smart"
4040
name = "Example Site"
4141
weight = 40
4242
url = "https://example.docsy.dev"
43-
post = '<sup><i class="pl-1 fa-solid fa-external-link-alt fa-xs" aria-hidden="true"></i></sup>'
43+
post = '<sup><i class="pl-1 fa-solid fa-up-right-from-square fa-xs" aria-hidden="true"></i></sup>'
4444

4545
[services]
4646
[services.googleAnalytics]

userguide/content/en/_index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{{< blocks/cover title="Welcome to Docsy!" image_anchor="top" height="full" color="orange" >}}
66
<div class="mx-auto">
77
<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/about" >}}">
8-
Learn More <i class="fa-solid fa-arrow-alt-circle-right ml-2"></i>
8+
Learn More <i class="fa-solid fa-circle-right ml-2"></i>
99
</a>
1010
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="https://github.com/google/docsy">
1111
Download <i class="fa-brands fa-github ml-2 "></i>
@@ -32,12 +32,12 @@
3232
{{% /blocks/feature %}}
3333

3434

35-
{{% blocks/feature icon="fab fa-github" title="Contributions welcome!" url="https://github.com/google/docsy" %}}
35+
{{% blocks/feature icon="fa-brands fa-github" title="Contributions welcome!" url="https://github.com/google/docsy" %}}
3636
We do a [Pull Request](https://github.com/google/docsy/pulls) contributions workflow on **GitHub**. New users are always welcome!
3737
{{% /blocks/feature %}}
3838

3939

40-
{{% blocks/feature icon="fab fa-twitter" title="Follow us on Twitter!" url="https://twitter.com/docsydocs" %}}
40+
{{% blocks/feature icon="fa-brands fa-twitter" title="Follow us on Twitter!" url="https://twitter.com/docsydocs" %}}
4141
Find out about new features and how our users are using Docsy.
4242
{{% /blocks/feature %}}
4343

userguide/content/en/docs/adding-content/content.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,27 +561,27 @@ params:
561561
{
562562
"name": "Twitter",
563563
"url": "https://example.org/twitter",
564-
"icon": "fab fa-twitter",
564+
"icon": "fa-brands fa-twitter",
565565
"desc": "Follow us on Twitter to get the latest news!"
566566
},
567567
{
568568
"name": "Stack Overflow",
569569
"url": "https://example.org/stack",
570-
"icon": "fab fa-stack-overflow",
570+
"icon": "fa-brands fa-stack-overflow",
571571
"desc": "Practical questions and curated answers"
572572
}
573573
],
574574
"developer": [
575575
{
576576
"name": "GitHub",
577577
"url": "https://github.com/google/docsy",
578-
"icon": "fab fa-github",
578+
"icon": "fa-brands fa-github",
579579
"desc": "Development takes place here!"
580580
},
581581
{
582582
"name": "Slack",
583583
"url": "https://example.org/slack",
584-
"icon": "fab fa-slack",
584+
"icon": "fa-brands fa-slack",
585585
"desc": "Chat with other project developers"
586586
},
587587
{

userguide/content/en/docs/adding-content/navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ On large sites (default: > 2000 pages) the section menu is not generated for eac
227227

228228
### Add icons to the section menu
229229

230-
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`).
230+
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`).
231231

232232
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.
233233

userguide/content/en/docs/adding-content/shortcodes/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The **blocks/cover** shortcode creates a landing page type of block that fills t
3333
{{</* blocks/cover title="Welcome!" image_anchor="center" height="full" color="primary" */>}}
3434
<div class="mx-auto">
3535
<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{</* relref "/docs" */>}}">
36-
Learn More <i class="fa-solid fa-arrow-alt-circle-right ml-2"></i>
36+
Learn More <i class="fa-solid fa-circle-right ml-2"></i>
3737
</a>
3838
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="https://example.org">
3939
Download <i class="fa-brands fa-github ml-2 "></i>
@@ -100,10 +100,10 @@ The example below shows a section wrapping 3 feature sections.
100100
The new **TechOS** operating system is an open source project. It is a new project, but with grand ambitions.
101101
Please follow this space for updates!
102102
{{%/* /blocks/feature */%}}
103-
{{%/* blocks/feature icon="fab fa-github" title="Contributions welcome!" url="https://github.com/gohugoio/hugo" */%}}
103+
{{%/* blocks/feature icon="fa-brands fa-github" title="Contributions welcome!" url="https://github.com/gohugoio/hugo" */%}}
104104
We do a [Pull Request](https://github.com/gohugoio/hugo/pulls) contributions workflow on **GitHub**. New users are always welcome!
105105
{{%/* /blocks/feature */%}}
106-
{{%/* blocks/feature icon="fab fa-twitter" title="Follow us on Twitter!" url="https://twitter.com/GoHugoIO" */%}}
106+
{{%/* blocks/feature icon="fa-brands fa-twitter" title="Follow us on Twitter!" url="https://twitter.com/GoHugoIO" */%}}
107107
For announcement of latest features etc.
108108
{{%/* /blocks/feature */%}}
109109
{{</* /blocks/section */>}}
@@ -119,7 +119,7 @@ For announcement of latest features etc.
119119

120120
```go-html-template
121121
122-
{{%/* blocks/feature icon="fab fa-github" title="Contributions welcome!" url="https://github.com/gohugoio/hugo" */%}}
122+
{{%/* blocks/feature icon="fa-brands fa-github" title="Contributions welcome!" url="https://github.com/gohugoio/hugo" */%}}
123123
We do a [Pull Request](https://github.com/gohugoio/hugo/pulls) contributions workflow on **GitHub**. New users are always welcome!
124124
{{%/* /blocks/feature */%}}
125125

0 commit comments

Comments
 (0)