MarcelDigital.Umbraco.Amp
1.0.0
Install-Package MarcelDigital.Umbraco.Amp -Version 1.0.0
dotnet add package MarcelDigital.Umbraco.Amp --version 1.0.0
<PackageReference Include="MarcelDigital.Umbraco.Amp" Version="1.0.0" />
paket add MarcelDigital.Umbraco.Amp --version 1.0.0
#r "nuget: MarcelDigital.Umbraco.Amp, 1.0.0"
// Install MarcelDigital.Umbraco.Amp as a Cake Addin
#addin nuget:?package=MarcelDigital.Umbraco.Amp&version=1.0.0
// Install MarcelDigital.Umbraco.Amp as a Cake Tool
#tool nuget:?package=MarcelDigital.Umbraco.Amp&version=1.0.0
Umbraco extension create Google AMP pages for content.
Provides an AMP layout boilerplate (/Views/Shared/_LayoutAmp.cshtml) to base AMP pages off of.
Creates an Amp template in Umbraco so that you can start creating amp pages off of the alternate
template url in order to have Amp and traditional pages side by side. (Ex: something.org/my-content/amp)
Use the custom controller RenderAmpMvcController to unlock multiple templates off of the alternate template route.
Put AMP views in /Views/Amp and name them off of the document type alias which you want to create an AMP view for.
To make it the default controller, add this to the OnApplicationStarting method on a class implementing IApplicationEventHandler:
DefaultRenderMvcControllerResolver.Current.SetDefaultControllerType(typeof(RenderAmpMvcController));
Product | Versions |
---|---|
.NET Framework | net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
-
- MarcelDigital.UmbracoExtensions.Bootstrapper (>= 1.2.0)
- UmbracoCms.Core (>= 7.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 2,743 | 3/17/2017 |
0.0.3 | 631 | 3/17/2017 |
0.0.3-alpha | 591 | 3/10/2017 |
0.0.2-alpha | 568 | 3/10/2017 |
0.0.1-alpha | 567 | 3/10/2017 |
Initial Release.