Skip to content

Commit

Permalink
Update amp-story-page-attachment.md (#27929)
Browse files Browse the repository at this point in the history
  • Loading branch information
newmuis committed Apr 22, 2020
1 parent 419131a commit dbc06b2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions extensions/amp-story/amp-story-page-attachment.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,18 @@ Enables light or dark mode for the page attachment header and content background
Values: "light" (default), "dark"

```html
<amp-story-page-attachment layout="nodisplay" theme="dark"
>...</amp-story-page-attachment
>
<amp-story-page-attachment layout="nodisplay" theme="dark">
...
</amp-story-page-attachment>
```

## Linked content

When providing a `href` attribute as page attachment, the respective URL is opened when the user activates the page attachment.

```html
<amp-story-page-attachment layout="nodisplay" href="https://www.example.com"
>...</amp-story-page-attachment
>
<amp-story-page-attachment layout="nodisplay" href="https://www.example.com">
</amp-story-page-attachment>
```

## Inline content
Expand Down

0 comments on commit dbc06b2

Please sign in to comment.