a-blog cms でampに対応する

Post on 16-Apr-2017

435 Views

Category:

Internet

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

<!-- BEGIN_MODULE Touch_Entry -->

<link rel=“amphtml" href="%{CANONICAL_URL}/tpl/

amp.html"><!-- END_MODULE Touch_Entry -->

! !"

“author”: {

“@type”: “Person”,

“name”: “◯◯” // 著者の名前を記入

},

<script type="application/ld+json"> {

“headline”: “<!-- GET_Rendered id=“title” —>", “description”: “<!-- GET_Rendered id=“meta_description" —>”,

… }

<!-- BEGIN_MODULE Entry_Summary id="ogp_summary" -->

<amp-iframe src="https://www.slideshare.net/

slideshow/embed_code/key/{slide_id}" width="595" height="485" layout="responsive"

sandbox="allow-scripts allow-same-origin allow-

popups" allowfullscreen frameborder="0"> </amp-

iframe>

<style amp-custom> <!-- #include file=“/css/amp.min.css —> </style>

! !

var replace = require('gulp-replace');gulp.task('sass', function () { … .pipe(replace('!important','')) .pipe(replace('@charset \"UTF-8\";\n',''))

@charset “UTF-8"acms.css

"

top related