amp-jekyll | Build Accelerated Mobile Page versions of your Jekyll posts | Static Site Generator library
kandi X-RAY | amp-jekyll Summary
kandi X-RAY | amp-jekyll Summary
Build Accelerated Mobile Page versions of your Jekyll posts
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Sets up the images for the image .
- Generate the post .
amp-jekyll Key Features
amp-jekyll Examples and Code Snippets
Community Discussions
Trending Discussions on amp-jekyll
QUESTION
I am working on a jekyll project and already asked some questions on stackoverflow and jekyll talks site. This post is a sump up for the issue I have about setting up amp-jekyll. amp-Jekyll is a jekyll plugin. The full documentation is at this adress : https://github.com/juusaw/amp-jekyll
The tree of my project is the following
My Version of jekyll is jekyll-3.6.2
I installed the plugin using the Gemfile (gem "amp-jekyll", "1.0.2" # installed). I checked that the plugin is well installed.
Then I followed the documentation:
1) I Placed the layout file (amp.html at https://github.com/juusaw/amp-jekyll/blob/master/amp.html) to the _layouts folder. I have a first question about that. I looked at this file and don't know how to use it. Have I just to copy it in the _layouts folder and that's all or have I to take a part of it and copy it to another file (and if so where ?). I can see in the body part the use of {{ header | amp_images }}
or {{ footer | amp_images: false, 24, 24 }}
. What does that mean ? . And what about the part included in head tag ?
2) Then, I Added amphtml-link to post heads (Add CSS styles to the html template). In my case I just copy the following code
ANSWER
Answered 2018-Jan-18 at 19:51finally I found what was going wrong : the attribute should be src instead of scr. I am confused about asking this question.
QUESTION
I try to add Jekyll Ideal Image Slider Plugin to my site.(https://github.com/jekylltools/jekyll-ideal-image-slider#integration-suggestions)
Here is the cade in my Gemfile
ANSWER
Answered 2017-Dec-31 at 14:22The failing gem can't be installed because it is a jekyll plugin that needs to be included directly into your plugins directory. You don't need to specify it in the Gemfile.
Installation
Add _plugins/ideal_image_slider.rb to your _plugins folder.
Add this line to your _config.yml file: iis_slider_array: []
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install amp-jekyll
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page