Skip to content

Commit

Permalink
add apple-mobile-web-app-capable meta tag
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Oct 2, 2024
1 parent c5cdedb commit dfe1f2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/app/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,9 @@ func (h *Handler) servePage(w http.ResponseWriter, r *http.Request) {
Meta().
Name("viewport").
Content("width=device-width, initial-scale=1, viewport-fit=cover"),
Meta().
Name("apple-mobile-web-app-capable").
Content("yes"),
Meta().
Property("og:url").
Content(resolveOGResource(h.Domain, h.Resources.Resolve(page.URL().Path))),
Expand Down

0 comments on commit dfe1f2b

Please sign in to comment.