File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ type Config struct {
3030 Disqus Disqus
3131 GoogleAnalytics GoogleAnalytics
3232 Instagram Instagram
33- Twitter Twitter // deprecated in favor of X in v0.141.0
33+ Twitter Twitter `json:"-"` // deprecated in favor of X in v0.141.0
3434 Vimeo Vimeo
3535 YouTube YouTube
3636 X X
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ const (
2626 rssLimitKey = "rssLimit"
2727)
2828
29- // Config is a privacy configuration for all the relevant services in Hugo.
29+ // Config is a services configuration for all the relevant services in Hugo.
3030type Config struct {
3131 Disqus Disqus
3232 GoogleAnalytics GoogleAnalytics
33- Instagram Instagram
34- Twitter Twitter // deprecated in favor of X in v0.141.0
33+ Instagram Instagram `json:"-"` // the embedded instagram shortcode no longer uses this
34+ Twitter Twitter `json:"-"` // deprecated in favor of X in v0.141.0
3535 X X
3636 RSS RSS
3737}
@@ -53,12 +53,12 @@ type Instagram struct {
5353 // The Simple variant of the Instagram is decorated with Bootstrap 4 card classes.
5454 // This means that if you use Bootstrap 4 or want to provide your own CSS, you want
5555 // to disable the inline CSS provided by Hugo.
56- DisableInlineCSS bool
56+ DisableInlineCSS bool // this is no longer used by the embedded instagram shortcode
5757
5858 // App or Client Access Token.
5959 // If you are using a Client Access Token, remember that you must combine it with your App ID
6060 // using a pipe symbol (<APPID>|<CLIENTTOKEN>) otherwise the request will fail.
61- AccessToken string
61+ AccessToken string // this is no longer used by the embedded instagram shortcode
6262}
6363
6464// Twitter holds the functional configuration settings related to the Twitter shortcodes.
You can’t perform that action at this time.
0 commit comments