How to Write a Blog Post
As of today you need an access to the the our company shared Gitlab. First clone the Gitlab repository:
|
|
Then create a new folder.
|
|
- Create a New Markdown File: Create a new Markdown file in the
content/blogs/yourblog
directory. Name it appropriately, for example,my-new-post.md
. - Add Front Matter: Add the necessary front matter at the top of the file. Here is an example:
|
|
And simply add some content. Check out the original documentation. We list the essential elements below
Short Codes
YouTube video
|
|
Generic video file
Gist
|
|
GitLab Snippet
|
|
Quote
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
― A famous person, The book they wrote
Links
|
|
Photo by Codioful
Galleries
Hugo theme Stack supports the creation of interactive image galleries using Markdown. It’s powered by PhotoSwipe and its syntax was inspired by Typlog.
To use this feature, the image must be in the same directory as the Markdown file, as it uses Hugo’s page bundle feature to read the dimensions of the image. External images are not supported.
|
|
Photo by mymind and Luke Chesser on Unsplash