gohugo-amp

to run amp-app-banner, please set all the below configuration correctly.

Example data/app/banner.json

{
  "id" : "app-banner-id",
  "src" : "https://placehold.it/60x51/ff3300/cccccc",
  "name" : "My Apps Name",
  "description" : "Short app description. Really short.",
  "openText" : "get the app"
}

Example static/amp-manifest.json

{
  "prefer_related_applications": true,
  "related_applications": [
    {
      "platform": "play",
      "id": "com.app.path",
      "url": "android-app://com.app.path/https/host.com/path/to/app-content"
    }
  ]
}

Example config.toml with defined appleItunesApp and ampManifest

[params]
    appleItunesApp = "app-id=123456789, app-argument=app-name://link/to/app-content"
    ampManifest = "/amp-manifest.json"