Skip to content

Commit

Permalink
Add header and example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
arp242 committed Oct 30, 2022
1 parent 094fd55 commit b1b086f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tpl/help/frame.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,18 @@ will need to add the token to the frame's `src`; for example:

<iframe src="{{.SiteURL}}?access-token=TOKEN"></iframe>

### Hiding the user interface
You can hide the UI chrome ("sign in" button, footer, date selector) by adding
`hideui=1` in the URL:

For public view:

<iframe src="{{.SiteURL}}?hideui=1"></iframe>

Or with an access token:

<iframe src="{{.SiteURL}}?access-token=TOKEN&hideui=1"></iframe>

This also removes some of the padding, max-width, and background colour, making
it easier to embed things in an iframe. If you're logged in no UI is removed.

Expand Down

0 comments on commit b1b086f

Please sign in to comment.