a simple blog system.
base on @firekylin design.
- mv
config.default.yaml->config.yamland edit config
export can export all posts(exclude deleted) as markdown file. the markdown include hugo metadata(date, draft, tags, categories...).
linux usage:
chmod +x export
./export
will generate all article into posts dir.
so just run cp ./posts/* hugo-site/content/posts/, but static assets need you config nginx path.
adapter hugo theme -> hugo-theme-simply
- xorm
*stringcolumn can not update except use AllCols().