mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 05:04:38 -04:00
remove google plus
This commit is contained in:
parent
5a64301ba9
commit
5b7c6b5a17
@ -44,7 +44,6 @@ weight = 10
|
|||||||
[social]
|
[social]
|
||||||
facebook = "alice.allison"
|
facebook = "alice.allison"
|
||||||
twitter = "alice"
|
twitter = "alice"
|
||||||
googleplus = "aliceallison1"
|
|
||||||
website = "www.example.com"
|
website = "www.example.com"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
@ -108,9 +107,9 @@ You can find a list of all template variables to access the profile information
|
|||||||
|
|
||||||
### Link Social Network Accounts
|
### Link Social Network Accounts
|
||||||
|
|
||||||
As aforementioned, Hugo is able to generate links to profiles of the most popular social networks. The following social networks with their corrersponding identifiers are supported: `github`, `facebook`, `twitter`, `googleplus`, `pinterest`, `instagram`, `youtube` and `linkedin`.
|
As aforementioned, Hugo is able to generate links to profiles of the most popular social networks. The following social networks with their corrersponding identifiers are supported: `github`, `facebook`, `twitter`, `pinterest`, `instagram`, `youtube` and `linkedin`.
|
||||||
|
|
||||||
This is can be done with the `.Social.URL` function. Its only parameter is the name of the social network as they are defined in the profile (e.g. `facebook`, `googleplus`). Custom variables like `website` remain as they are.
|
This is can be done with the `.Social.URL` function. Its only parameter is the name of the social network as they are defined in the profile (e.g. `facebook`, `twitter`). Custom variables like `website` remain as they are.
|
||||||
|
|
||||||
Most articles feature a small section with information about the author at the end. Let's create one containing the author's name, a thumbnail, a (summarized) biography and links to all social networks:
|
Most articles feature a small section with information about the author at the end. Let's create one containing the author's name, a thumbnail, a (summarized) biography and links to all social networks:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user