Skip to content
Snippets Groups Projects
Commit 42c4a1c8 authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Fix.

parent 68202753
Branches
No related tags found
No related merge requests found
......@@ -6,15 +6,15 @@ module Jekyll
@base = base
@dir = dir
@name = 'index.html'
self.process(@name)
self.read_yaml(File.join(base, '_layouts'), 'amp.html')
self.data['body'] = post.content
self.data['title'] = post.data['title']
self.data['date'] = post.data['date']
self.data['author'] = post.data['author']
self.data['category'] = post.data['category']
self.data['canonical_url'] = post.url
self.data['image'] = post.data['image']
process(@name)
read_yaml(File.join(base, '_layouts'), 'amp.html')
data['body'] = post.content #(Liquid::Template.parse post.content).render site.site_payload
data['title'] = post.data['title']
data['date'] = post.data['date']
data['author'] = post.data['author']
data['category'] = post.data['category']
data['canonical_url'] = post.url
data['image'] = post.data['image']
end
end
# Generates a new AMP post for each existing post
......
......@@ -29,6 +29,7 @@ If I have piqued your interest, dear reader, welcome to my blog!
*I will do my best to keep these posts as simple as possible, but yet interesting and useful. However, I assume at least a little understanding of Linux. I assume the reader is able to SSH to the machine, make a directory, move, copy, remove, create, edit and view a file, etc. Anyway, if you find yourself struggling, please, let me know in the comments to the post. I will do my best to help you.*
Here is the approximate list of topic covered by the series:
* Basic server setup
* *NGINX* setup and serving a plain HTML page
* *NodeJS* web app setup
......@@ -37,8 +38,7 @@ Here is the approximate list of topic covered by the series:
* *MySQL* and *PHPMyAdmin* setup
* *.NET Core* web app setup
* *Java Spring* web app and *Tomcat* setup
* Uptime monitor setup
* System monitor setup
* Uptime monitor and system monitor setup
* *GitLab* setup
* *Minecraft* server setup
* Mail server setup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment