MarcelDigital.Umbraco.Amp
1.0.0
dotnet add package MarcelDigital.Umbraco.Amp --version 1.0.0
NuGet\Install-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 Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net451 is compatible. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- 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 | 3,147 | 3/17/2017 |
0.0.3 | 968 | 3/17/2017 |
0.0.3-alpha | 763 | 3/10/2017 |
0.0.2-alpha | 751 | 3/10/2017 |
0.0.1-alpha | 758 | 3/10/2017 |
Initial Release.