emacs-easy-hugo

Emacs major mode for managing hugo

GPL-3.0 License

Stars
357
Committers
13

Bot releases are visible (Hide)

emacs-easy-hugo - Fix bug related read-file-name

Published by masasam over 5 years ago

emacs-easy-hugo - Add feature easy-hugo-publish-clever

Published by masasam almost 6 years ago

Enhancements

Add feature easy-hugo-publish-clever

M-x easy-hugo-publish-clever

Clever publish command.
Automatically select the deployment destination from init.el.
Only one command is executed in the following order.
If easy-hugo-root is set the target blog, easy-hugo-publish will be executed.
If easy-hugo-amazon-s3-bucket-name is set the target blog, easy-hugo-amazon-s3-deploy will be executed.
If easy-hugo-google-cloud-storage-bucket-name is set the target blog, easy-hugo-google-cloud-storage-deploy will be executed.
If the target blog has "deploy.sh" on easy-hugo-basedir, easy-hugo-github-deploy will be executed.
If there is firebase command , easy-hugo-firebase-deploy will be executed.

emacs-easy-hugo - Add feature easy-hugo-select-filename

Published by masasam almost 6 years ago

Enhancements

Add feature easy-hugo-select-filename.

M-x easy-hugo-select-filename

Select filename you want to open. You can open a selected filename article.

easy-hugo-select-filename

emacs-easy-hugo - Add feature easy-hugo-firebase-deploy

Published by masasam almost 6 years ago

Enhancements

Add feature easy-hugo-firebase-deploy and timer.
You can deploy hugo source at Firebase hosting.
To use easy-hugo-firebase-deploy, you make project at firebase hosting using your browser. Next run command.

npm install -g firebase-tools
cd [your-hugo-directory]
firebase login
firebase init
firebase deploy

M-x easy-hugo-firebase-deploy

emacs-easy-hugo - Add feature easy-hugo-select-blog

Published by masasam almost 6 years ago

Enhancements

Add feature easy-hugo-select-blog.

M-x easy-hugo-select-blog

Select blog you want to go. You can go to a selected blog.

easy-hugo-select-blog

emacs-easy-hugo - Add feature easy-hugo-select-postdir

Published by masasam almost 6 years ago

Enhancements

Add feature easy-hugo-select-postdir.
Select postdir you want to go to. You can go to a selected directory.

easy-hugo-select-postdir

emacs-easy-hugo - Using `require` is better

Published by masasam over 6 years ago

bug fix

See #43 .

emacs-easy-hugo - Make hugo's binary changeable for each blog

Published by masasam over 6 years ago

Use case example

You can use separate python virtualenvs for each blog.
See #41

emacs-easy-hugo - Display errors when there is a file of the same name

Published by masasam over 6 years ago

Bugfix

Display errors when there is a file of the same name

emacs-easy-hugo - Change to show rsync error

Published by masasam over 6 years ago

Enhancements

It makes it easy to understand when rsync is an error.

emacs-easy-hugo - Fix preview bug in emacs 26.1

Published by masasam over 6 years ago

Bug fix

Fix preview bug in emacs 26.1

emacs-easy-hugo - Add feature easy-hugo-magit

Published by masasam over 6 years ago

Enhancements

Add feature easy-hugo-magit.

You can open magit at current blog.

emacs-easy-hugo - Add feature sort publish day

Published by masasam over 6 years ago

Enhancements

Add feature easy-hugo-sort-publishday.
You can sort articles when you press u key on easy-hugo-mode.
Articles will be sorted by publish date.
Press again u key on easy-hugo-mode to sort in reverse order.

Thanks to #39.

emacs-easy-hugo - Easy-hugo-*-timer can set with multiple blogs

Published by masasam over 6 years ago

Enhancements

Easy-hugo-publish-timer can set with multiple blogs.

Easy-hugo-github-deploy-timer can set with multiple blogs.

Easy-hugo-amazon-s3-deploy-timer can set with multiple blogs.

Easy-hugo-google-cloud-storage-deploy-timer can set with multiple blogs

emacs-easy-hugo - Bug fix

Published by masasam over 6 years ago

Bug fix

Fix bug for starting up when easy-hugo-no-help is t

emacs-easy-hugo - Adjustable for rsync

Published by masasam over 6 years ago

Enhancements

Adjust directory synchronization function to synchronize with rsync.

Fix #34

emacs-easy-hugo - Auto-complete tags and categories

Published by masasam over 6 years ago

Enhancements

M-x easy-hugo-complete-tags

Auto-complete tags from your past posts.

easy-hugo-complete-tags

M-x easy-hugo-complete-categories

Auto-complete categories from your past posts.

easy-hugo-complete-categories

emacs-easy-hugo - Hugo undraft command is not suported

Published by masasam over 6 years ago

Removal

Remove easy-hugo-undraft because it is not supported by hugo.

The hugo undraft command has been removed with hugo 0.35 (https://github.com/gohugoio/hugo/issues/4353).

According to bep who is hugo developer, it is easier to undraft content by
editing manually the frontmatter of said content by
setting the draft flag to false, or removing it completely,
than to rely on the undraft command which is a source of many bugs.

Enhancements

Implement easy-hugo-current-time.
Generate current time in date format at the frontmatter.

This works as follows

title: "About"
date: 2018-02-15T14:51:09+09:00
draft: false

You delete 2018-02-15T14:51:09+09:00 manually,
You execute M-x easy-hugo-current-time,
It can display 2018-03-01T02:06:09+09:00.

Badges
Extracted from project README
melpa badge melpa stable badge License: GPL v3