ae9b13e0be
* Migrate to AMP Optimizer 2.0 Most notable changes: * Automatically import all missing AMP component scripts. * Automatically add any missing mandatary AMP tags. * 40% faster I've updated the docs to mention component auto import and added a corresponding test case. * change validator tests which now pass validation * Improve wording Co-Authored-By: JJ Kasper <jj@jjsweb.site> * Update adding-amp-components.md Co-authored-by: JJ Kasper <jj@jjsweb.site> Co-authored-by: Joe Haddad <timer150@gmail.com>
10 lines
192 B
JavaScript
10 lines
192 B
JavaScript
export const config = { amp: true }
|
|
|
|
export default () => (
|
|
<amp-twitter
|
|
width="390"
|
|
height="330"
|
|
layout="responsive"
|
|
data-momentid="1018806709412876288"
|
|
></amp-twitter>
|
|
)
|