diff options
author | garhve <git@garhve.com> | 2022-12-12 15:47:03 +0800 |
---|---|---|
committer | garhve <git@garhve.com> | 2022-12-12 15:47:03 +0800 |
commit | 4ce793fae2dfb6fcdff11f76816759c84be5c81d (patch) | |
tree | df62571e696b7649c10eccab3093f656dfa22a6e /cn/posts/index.xml | |
parent | 1eb5b4c681c43aa0c95bc0f452f9aac4b82c92a8 (diff) |
change post content
Diffstat (limited to 'cn/posts/index.xml')
-rw-r--r-- | cn/posts/index.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cn/posts/index.xml b/cn/posts/index.xml index 55e0741..08b1411 100644 --- a/cn/posts/index.xml +++ b/cn/posts/index.xml @@ -27,7 +27,7 @@ hugo new post -&gt; vim 找到文章 -&gt; 保存或者发布 -&gt; 太麻烦了,我就写了个简单的脚本来简化一下流程,反正是自用的,所以也不用考虑 怎么处理不同的位置,并且原先由于发布比较繁琐,草稿就都存在本地了,现在 我也可以直接将草稿发布出来,看得见,我才有动力写~ 这片文章的出现,也只是我想确认一下能不能正确处理好中文内容。这样一说,突然想起来编辑也挺麻烦的。。 也许可以将代码优化下以后就省心了,哈哈。 更新:拖了三天,终于把代码补完了~ blog.sh -###################################################################### # @author : garhve (dev@garhve.com) # @file : blog # @created : Friday Dec 09, 2022 16:09:42 CST # # @description : simplify blog publishing, it only can use in blog dir ###################################################################### # usage: prog new/edit/push [en/cn] push() { read -r -p &#34;Do you want to push?</description> +# usage: prog new/edit/push [en/cn] push() { read -r -p &#34;Do you want to push?[y/n] &#34; ans .</description> </item> <item> |