Xmartlabs Blog
The Xmartlabs Blog is a platform that showcases the work of Xmartlabs and provides insights, tips, and news related to their projects. Built using Jekyll, a simple and static site generator, the blog offers a local setup option as well as a setup using Docker. Additionally, the blog has a staging environment for testing purposes, and it features the latest blog posts in the featured section.
git clone git@github.com:xmartlabs/blog.git
gem install jekyll bundler
jekyll serve or jekyll serve --host=0.0.0.0 (if you want to use it from your phone or other machine).git clone git@github.com:xmartlabs/blog.git
docker-compose up.To test your blogpost, you have the following options:
The blog has a staging environment hosted at blog-staging.xmartlabs.com, which can be used to test the blogposts you're working on. This environment is the result of deploying the last commit of the staging GitHub repository.
To deploy a new staging version:
'not-deploy'.Note: Newest blogposts will be shown on the featured section.
You can check if the custom variables are properly set up by running:
printenv | grep MEDIUM
Next time you build or serve the blog locally, it will be sent to Medium as a draft story.
Social images can be defined using social_image and twitter_image post variables. The dimensions for social_image should be 1200x627 pixels, while twitter_image should have a proportion of 2:1 (e.g. 1600x800 pixels).
If these variables are not defined, the featured_image is used by default.
The Xmartlabs Blog is a platform that showcases the work of Xmartlabs and provides insights, tips, and news related to their projects. With options for local setup and Docker setup, as well as a staging environment for testing, the blog allows for easy deployment and customization. It also features the latest blog posts in the featured section and supports social images for better sharing on social media platforms.
Jekyll is a static site generator written in Ruby that allows you to create simple, fast, and secure websites without the need for a database.
Blog websites feature posts written by one or more authors, organized by categories and tags, with a section for comments and archives sorted by date or topic. Additional features may include search bar, social media sharing, subscription or RSS feed, about and contact pages, and visual content.