Is it possible to customize meta tags in Vuepress? #41

Closed
opened 2018-05-10 22:05:22 +02:00 by NetOpWibby · 2 comments
NetOpWibby commented 2018-05-10 22:05:22 +02:00 (Migrated from github.com)

I want to add <meta name='viewport' content='initial-scale=1, viewport-fit=cover'> to the <head/> for iPhone X support. Reference here: https://webkit.org/blog/7929/designing-websites-for-iphone-x

This is low priority as I don't expect people to visit the site in landscape mode. The rumored upcoming iPad will change this expectation though.

I want to add `<meta name='viewport' content='initial-scale=1, viewport-fit=cover'>` to the `<head/>` for iPhone X support. Reference here: https://webkit.org/blog/7929/designing-websites-for-iphone-x This is low priority as I don't expect people to visit the site in landscape mode. _The rumored upcoming iPad will change this expectation though._
Krisseck commented 2018-05-11 10:00:45 +02:00 (Migrated from github.com)

Sure, here is the documentation: https://vuepress.vuejs.org/config/#head
The file in question is .vuepress/config.js, I just made a commit that added meta tag you asked.

Sure, here is the documentation: https://vuepress.vuejs.org/config/#head The file in question is .vuepress/config.js, I just made a commit that added meta tag you asked.
NetOpWibby commented 2018-05-11 15:31:39 +02:00 (Migrated from github.com)

Good grief, I thought I searched thoroughly. Thanks man.

Good grief, I thought I searched thoroughly. Thanks man.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry.tech#41
No description provided.