-
Notifications
You must be signed in to change notification settings - Fork 17
Blog support #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Like Go's official blog system (References: https://go.dev/blog/ and https://github.com/golang/website) Blog List PagePath: goplus.org/blog/
Path: goplus.org/blog/all
Blog Post FormatFollowing Go's blog post structure, each blog post should be written in Markdown with a metadata header: ---
title: "Post Title"
date: YYYY-MM-DD HH:mm
by:
- Author Name
summary: Brief description of the post.
---
Post content... The Go website sorts blog posts based on the Date field in their metadata, using the
Although introducing an ID field could solve this, it would add unnecessary cognitive overhead for post authors.
Blog Detail PagePath: goplus.org/blog/[md_name] Image HandlingTwo approaches for handling images in blog posts: 
<div class="image"><div class="centered">
<figure>
<img src="path/to/image.png" alt="Image description"/>
</figure>
</div></div> Note: For now, maintain the current markdown image syntax without modification. Use default styling for markdown images. Expect Markdown source structurein /goplus.org/public/blog/
|
It is better to include timezone info in
The
Implementing image embedding with arbitrary relative paths might present challenges in building & deploying. Let's try it first and then determine if extra path restrictions are necessary. |
using the format YYYY-MM-DD HH:mm±HH:mm for standardizing date and time notation
maybe in the |
LGTM
I recommend For example, I thought the React component for page blog-article & blog-article-list will reside under |
LGTM
if suggestion means placing blog.md files under /goplus/articles/blog, and the articles directory would contain other types of content in their respective subdirectories, like this:
And when users visit goplus.org/blog/all, would it only display the content from /goplus.org/articles/blog directory? |
I intend
We can introduce subdirectories as needed in the future (while not neccessary now), which then results in:
If sub-directories exist, yes. |
I got it |
No description provided.
The text was updated successfully, but these errors were encountered: