Skip to content

AbaciNLP/blogs

Repository files navigation

blogs

How to write a post.

You can write a post in markdown.

Post YAML

---
layout: post # Specify the template file to be used. The template file name in the "_layout" directory determines the variable name
title: title # The title of the article
date: date # Override the date in the article name
category: blog # The category of the article
desc: description
published: true # default true After setting "false", the article will not be displayed
---

Post Setting

  • Location: Place your article in the _posts directory (make sure it's _posts, not posts).
  • File naming convention: Use the format YYYY-MM-DD-title.md for your file name, such as 2023-10-01-my-first-post.md.
  • Then push the new blog.

How to Insert Images?

Append a baseurl to the path.

  • Markdown
![alt text for screen readers]({{ site.baseurl }}/assets/images/myimage.jpg)
  • Html
<img src="{{ site.baseurl }}/assets/images/myimage.jpg" alt="myimage" width="500" height="300">

How to Use Link?

  • Markdown
[access Google](https://www.google.com)
  • Html
<a href="https://www.google.com" target="_blank">access Google</a>
  • Liquid
[read more]({{ site.baseurl }}{% post_url 2023-01-01-my-post %})
[read more]({{ site.baseurl }}/about/)
  • Jekyll {% link File_Path %}
{% link _posts/2023-01-01-my-post.md %}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors