mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-08 18:33:58 +00:00
Merge pull request #7 from vprus/meta-viewport
Generate meta viewport element.
This commit is contained in:
commit
8becc1be28
@ -7,7 +7,6 @@
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
-->
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"
|
||||
version="1.0">
|
||||
|
||||
<xsl:param name="html.stylesheet">
|
||||
@ -266,6 +265,9 @@ set toc,title
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="user.head.content">
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
|
||||
<xsl:if test="$boost.mathjax = 1">
|
||||
<xsl:variable name="has-math">
|
||||
<xsl:apply-templates mode="detect-math" select="*"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user