Free Software Solutions For Educational Institutions https://selfhosted.education
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.3 KiB

3 years ago
  1. ---
  2. layout: post
  3. title: "Welcome to Jekyll!"
  4. date: 2021-02-25 00:19:13 +0530
  5. categories: jekyll update
  6. ---
  7. You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
  8. Jekyll requires blog post files to be named according to the following format:
  9. `YEAR-MONTH-DAY-title.MARKUP`
  10. Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.
  11. Jekyll also offers powerful support for code snippets:
  12. {% highlight ruby %}
  13. def print_hi(name)
  14. puts "Hi, #{name}"
  15. end
  16. print_hi('Tom')
  17. #=> prints 'Hi, Tom' to STDOUT.
  18. {% endhighlight %}
  19. Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
  20. [jekyll-docs]: https://jekyllrb.com/docs/home
  21. [jekyll-gh]: https://github.com/jekyll/jekyll
  22. [jekyll-talk]: https://talk.jekyllrb.com/