Kaushal Modi
a8d3eb0630
Support concatenation of section paths; New EXPORT_HUGO_SECTION*
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/215 .
Example:
#+hugo_base_dir: .
#+hugo_section: posts
* emacs section :@emacs:
:PROPERTIES:
:EXPORT_HUGO_SECTION*: emacs
:END:
** Post in emacs
:PROPERTIES:
:EXPORT_FILE_NAME: a-post-related-to-emacs
:END:
Post created in ~posts/emacs~.
** emacs/org section :org:
:PROPERTIES:
:EXPORT_HUGO_SECTION*: org
:END:
*** Post in emacs/org
:PROPERTIES:
:EXPORT_FILE_NAME: a-post-related-to-emacs-and-org
:END:
Post created in ~posts/emacs/org~.
*** emacs/org/elisp section :elisp:
:PROPERTIES:
:EXPORT_HUGO_SECTION*: elisp
:END:
**** Post in emacs/org/elisp
:PROPERTIES:
:EXPORT_FILE_NAME: a-post-related-to-emacs-and-org-and-elisp
:END:
Post created in ~posts/emacs/org/elisp~.
8 years ago
Kaushal Modi
4de4b06f4e
Update branch+dir link for sr.ht repos
8 years ago
Kaushal Modi
2be4bc0262
Add more commented debug statements
8 years ago
Kaushal Modi
67c1295aa9
Ensure that auto-export is resumed at the *end* of Org captures
...
Add `org-hugo--allow-auto-export-after-capture` at the end of the
`org-capture-after-finalize-hook` hook, not at the beginning, because
it is possible that the `save-buffer` is called directly or indirectly
earlier in that same hook.
Ref: https://github.com/kaushalmodi/ox-hugo/issues/212
8 years ago
Kaushal Modi
5602ddeeb5
Attempt to fix htmltest timeouts
8 years ago
Kaushal Modi
8f7b2c0c62
Don't export if EXPORT_FILE_NAME is empty (subtree based flow)
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/211 .
8 years ago
Kaushal Modi
ebf37efae5
Update Emacs binary version
8 years ago
Kaushal Modi
ee85213ab8
Update users.toml #maintenance
8 years ago
Alejandro Alcalde
4bccb4b2a6
Added elbaulp
8 years ago
Kaushal Modi
bdc20fb5bc
Consider the case where date-str can be nil
...
https://github.com/kaushalmodi/ox-hugo/pull/197#issuecomment-421533876
8 years ago
Kaushal Modi
0ef84a2c4b
Fix sections; Add template for "doc" section
8 years ago
Kaushal Modi
10e09f0458
Add 404.html template for the test site
8 years ago
Kaushal Modi
8e7156b875
Disable unnecessary Page kinds #doc site
8 years ago
Kaushal Modi
c211999a84
Make the table anchors more readable
...
- Fixes https://github.com/kaushalmodi/ox-hugo/issues/206 .
- Move org-hugo--get-reference from ox-hugo.el to
org-blackfriday--get-reference in ox-blackfriday.el.
- Minor code cleanup; remove commented out calls to
org-export-get-reference.
8 years ago
Kaushal Modi
717bcdb17a
Refactor the examples.html layout file #doc site
...
Remove redundant `branch = "master"` from users.toml.
8 years ago
Kaushal Modi
48a6b6093c
Add aminb.org to examples; Add support for microjson and sr.ht repos
...
- https://github.com/kaushalmodi/hugo-micro-json
- https://git.sr.ht
@aminb
8 years ago
Kaushal Modi
cd7ace1a3c
Make the code snippet anchors more readable
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/204 .
8 years ago
Kaushal Modi
f96a9c0f55
Update hugo-debugprint theme
8 years ago
Kaushal Modi
ddb98d347d
Enable exporting of drawers for the LOGBOOK tests
8 years ago
Kaushal Modi
7e45592995
Add tests for to be implemented LOGBOOK parsing #tdd
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/203
8 years ago
Kaushal Modi
a6e0a55f69
Don't wrap the meta refresh URL's with single quotes
8 years ago
Kaushal Modi
c9fdd873a1
Enable ox-hugo tests specific config only during "make test"
8 years ago
Kaushal Modi
c57216a1e3
Revert "Revert "Enable the default Creator test""
...
This reverts commit 59122d4640 .
8 years ago
Kaushal Modi
59122d4640
Revert "Enable the default Creator test"
...
This reverts commit 758ab72309 .
Customizing org-hugo-export-creator-string was a mistake because it
affects doc site too. May be fix this correctly some time later.
8 years ago
Kaushal Modi
dc2a0e398a
Show description if present #doc site
8 years ago
Kaushal Modi
0b793f9407
Document setting custom front-matter params
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/202 .
8 years ago
Kaushal Modi
2310eea6df
No need to keep GNU Elpa in package-archives when testing
...
This commit was needed because Travis CI started failing as
elpa.gnu.org was down. Removing GNU Elpa from package-archive should
prevent that unnecessary failure.
8 years ago
Kaushal Modi
7cd9b2417f
Update org-hugo-debug-info and fix one of the recent tests
8 years ago
Kaushal Modi
20a6f12213
Minor refactor
8 years ago
Kaushal Modi
d8848b71a0
Update tests for the suppress lastmod feature
8 years ago
Kaushal Modi
a9b7ffee6c
Refactor the new org-hugo-suppress-lastmod-period code
8 years ago
Kaushal Modi
c4d349e25e
Minor rephrasing and edits
8 years ago
Takaaki ISHIKAWA
ebd2db97d0
Add org-hugo-suppress-lastmod-period
...
https://github.com/kaushalmodi/ox-hugo/pull/197
8 years ago
Kaushal Modi
8fade5954c
Add hyphen in "front-matter" # consistency
8 years ago
Rakhim
bb3717f860
add emacscast.org and rakhim.org to examples
8 years ago
Kaushal Modi
758ab72309
Enable the default Creator test
8 years ago
Kaushal Modi
907a409701
Fix the author for `make test` to pass on Travis
8 years ago
Kaushal Modi
7d5de3584b
Add lastmod tests to the test suite too
...
The (current-time) is faked to be 2100/12/21 00:00:00 (arbitrary). So
the lastmod time will always be that in the tests.
8 years ago
Kaushal Modi
69ce5dfb2b
Comment update
8 years ago
Kaushal Modi
361072251e
Extract post's date retrieval logic into org-hugo--get-date fn
8 years ago
Kaushal Modi
2179e502c0
Add basic support for Gitea Swagger v1
8 years ago
Kaushal Modi
28ad81cb66
Add example site: infotics.es
...
Ref: https://github.com/kaushalmodi/ox-hugo/pull/198
8 years ago
Kaushal Modi
bf2594a2e9
The `="true"` is not needed after data-proofer-ignore #htmltest
...
Also add non-breaking space after the $secure_icon.
8 years ago
Ryan Cummings
52e1ccb040
Update users.toml
...
correcting entry for Ryan Cummings in example sites
8 years ago
Kaushal Modi
d31eb3199f
Use ` instead of " in Go templates to prevent escaping "
8 years ago
Kaushal Modi
65b9ba2e99
Enable EnforceHTML5 option for htmltest
...
Re-add a user example link.
8 years ago
Kaushal Modi
61bf2fe0e6
Comment out one more site so that the site build passes
8 years ago
Kaushal Modi
3de6e2e2fe
Update a link
8 years ago
Kaushal Modi
7b5de47604
Fix previous commit; make htmltest pass
8 years ago
Kaushal Modi
29a2e5dd69
Flip the previous commit; highlight the secure sites instead
8 years ago