Skip to content

Commit

Permalink
add regularStylesheets and Scripts injected automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
wildhaber committed Nov 26, 2016
1 parent 34bde2f commit 2e807d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -52,7 +52,10 @@ For some features, you need to add configuration to your base `config.toml` para
publisherLogo = "https://gohugo-amp.gohugohq.com/logo-publisher.png" # https://developers.google.com/search/docs/data-types/articles#logo-guidelines
publisherLogoWidth = 600 # logo width
publisherLogoHeight = 60 # logo height


stylesheetRegular = ["/base-styling.css"] # these styles are used when amp is disabled for a specific page
javascriptRegular = ["/script.js"] # these scripts are used when amp is disabled for a specific page

```


Expand Down
2 changes: 2 additions & 0 deletions exampleSite/config.toml
Expand Up @@ -24,3 +24,5 @@ enableRobotsTXT = true
publisherLogo = "https://gohugo-amp.gohugohq.com/logo-publisher.png" # https://developers.google.com/search/docs/data-types/articles#logo-guidelines
publisherLogoWidth = 600
publisherLogoHeight = 60
stylesheetRegular = ["/base-styling.css"] # these styles are used when amp is disabled for a specific page
javascriptRegular = ["/script.js"] # these scripts are used when amp is disabled for a specific page

0 comments on commit 2e807d2

Please sign in to comment.