dev-master
9999999-dev http://github.com/thezenmonkey/silverstripe-ampModule for converting SilverStripe Pages to Google AMP HTML
BSD-3-Clause
The Requires
by Richard Rudy
google silverstripe mobile amphtml
Module for converting SilverStripe Pages to Google AMP HTML
Converts pages to Google Amp HTML. For more information about AMP HTML see Google AMP Project Homepage., (*1)
Composer (recommended):, (*2)
composer require thezenmonkey/silverstripe-amp
, (*3)
If you prefer you may also install manually:, (*4)
The module automatically adds a link to your MetaTags pointing to the AMP HTML version of the page http://yousite.com/page-name/amp.html
., (*5)
A custom controller then renders your content using an AMP HTML version of the Page Template. <img />
tags are automatically converted to <amp-img />
before render., (*6)
The base Page type is Amp.ss
, which can be overidden in your theme like any SilvserStripe Template. Custom Page Types can be rendered using ClassName_amp.ss
in your theme., (*7)
This is an initial commit as proof of concept as such * Add Base Styling to Match Simple Theme * Create Modular Schema System * Add Configurable Scripts for Common Amp Components, (*8)
Module for converting SilverStripe Pages to Google AMP HTML
BSD-3-Clause
google silverstripe mobile amphtml