Giter Site home page Giter Site logo

nomadicmehul / blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dentarg/auth0-blog

0.0 2.0 0.0 26.55 MB

auth0 blog

Home Page: https://auth0.com/blog

License: MIT License

Ruby 9.54% Makefile 0.30% JavaScript 5.06% HTML 54.58% CSS 30.53%

blog's Introduction

This is a clone of the qraftlabs blog at http://blog.qraftlabs.com.

This blog uses Jekyll.

Create a new blog post

rake new_post["title of the new blog post"]

Manage posts in the "Top Reads" section

To add a post to the "Top Reads" section you must add the tag featured to it. Use the pr: yaml front matter to sort its position. (e.g. pr: 1 is the top post in the section).

Markdown Cheat Sheet

A blog post markdown cheat sheet is available at post-cheat-sheet.markdown.

Customize your post's design

Post design

Use the yaml front matter in your post to customize its design. The design variable supports the following parameters. All of these parameters are optional.

---
design:
  bg_color: Set the background color for your post's header. (You can use rgb or hex colors inside double quotes)
  bg_merge: Set to true to merge your image with your header's background color (default is false)
  image: A url path to your posts image, it will be downsized if too big to fit inside a circle.
  image_tw: Overrides image to set a specific image for twitter card
  image_fb:  Overrides image to set a specific image for facebook open graph
  image_bg_color: Set a color for the circle in wich the image is placed. Use `none` for a transparent circle. (Default is `#eaeef3`).
  image_size: Set the maximum size your image will have relative to the circle. (Default is "120%")
  image_top: Set the the top offset relative to the center of the image. (Default is "50%")
  image_left: Set the the left offset relative to the center of the image. (Default is "50%")
---

Blog post Multi Language

These parameters are required for each version of Blog post

---
lang: Set the language code of the post ( en | ja | es | de )
alternate_locale_en:  Set the name of the post url  in English (filename without the date).  example: name-blog-post-url
alternate_locale_es:  Set the name of the post url in Spanish (filename without the date).   example: es-name-blog-post-url
alternate_locale_de:  Set the name of the post url in German (filename without the date).    example: de-name-blog-post-url
alternate_locale_ja:  Set the name of the post url in Japanese (filename without the date).  example: ja-name-blog-post-url
---

It is suggested to put the language code after the date and before the name of the blog post for each version. For example:

	-  2017-10-05-name-blog-post-url.markdown
	-  2017-10-05-es-name-blog-post-url.markdown
	-  2017-10-06-ja-name-blog-post-url.markdown

Grammarly

All blog posts should be checked with the Grammarly app before publication. Please read the Grammarly instructions here.

Prerequisites

  1. Install Ruby (2.1.0 or later)
  2. Make sure you have rbenv
  3. Install Bundler gem install bundler

Run

  1. Enter the blog directory and make sure (with ruby -v) that you are running the right ruby version (.ruby-version file).
  2. Install dependencies with bundle install
  3. bundle exec jekyll serve --watch --limit_posts 10 (removing --limit_posts will make thing really slow)
  4. Open http://localhost:4000/blog/. Make sure you don't leave out the trailing slash (/), otherwise you will get a 404.

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.

Author

Auth0

License

All the infrastructure to run this blog is open sourced under the MIT license. See the LICENSE file for more info.

The exact content of the articles (the _posts folder) is Qraftlabs Copyright.

blog's People

Contributors

alejofernandez avatar arielger avatar bananaoomarang avatar brunokrebs avatar chenkie avatar cristiandouce avatar diegopoza avatar ealsur avatar echessa avatar eugeniop avatar glennblock avatar gregholmes avatar jfromaniello avatar kmaida avatar kukicado avatar lukeocodes avatar mgonto avatar mike-casas avatar nodebotanist avatar plaurino avatar pose avatar ramasilveyra avatar rickyrauch avatar sebadoom avatar sergiofruto avatar tehsis avatar tjanczuk avatar unicodeveloper avatar vctrfrnndz avatar woloski avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.