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
Kaushal Modi
f8dff3fcbf
Highlight insecure sites ;-)
8 years ago
Kaushal Modi
0c4f42c048
Fix mistake in prev commit
...
Btw "make doc_test" works great on Netlify!
8 years ago
Kaushal Modi
00048d65e9
Add "doc_test" rule in Makefile to run htmltest for doc site
...
Though that would need to be run manually.. "make doc" doesn't work on
Travis CI; falters on the getJSON calls in the site template.
8 years ago
Kaushal Modi
058a101408
Ignore non-secure http domains in user examples
8 years ago
Kaushal Modi
806eca41cc
More link fixing!
...
Thanks to https://github.com/wjdp/htmltest .
8 years ago
Kaushal Modi
60f42a5021
Remove broken links; fix redirects
8 years ago
Kaushal Modi
0af60fc9f2
Use the new var reassignment operator (=) in Go templates
...
Now the minimum Hugo version needed to generate the doc site is 0.48.
8 years ago
Kaushal Modi
51589a42c2
Get the Last Updated times of Org dirs for the Examples page
8 years ago
Kaushal Modi
d65c054127
Fix another locale related test failure
...
Setting `set-locale-environment` makes the Org timestamp days to
remain in English too.
Thanks to @takaxp to help with this debug.
Ref:
https://github.com/kaushalmodi/ox-hugo/issues/195#issuecomment-416670084
8 years ago
Kaushal Modi
1bfef80414
Move Elisp to setup-ox-hugo.el that does not need to be in Makefile
8 years ago
Kaushal Modi
c726ab92c7
Revert "Revert "Add explicit -j1 to the make command""
...
This reverts commit 82a907d8f9 .
Ref:
https://github.com/kaushalmodi/ox-hugo/issues/195#issuecomment-416657419
8 years ago
Kaushal Modi
7b7858efae
Use "-exec .. +" instead of xargs
...
Ref: https://mastodon.technology/@kaushalmodi/100628787896895257
Thanks to https://mastodon.social/@pl for this suggestion.
8 years ago
Kaushal Modi
99d3549854
Set LANGUAGE instead of LANG env var as that has higher precedence
...
Hopefully this is a better fix instead of
cd33b6e356 .
8 years ago
Kaushal Modi
31156be9cc
Use "make -j1 test" instead of "make test"
8 years ago
Kaushal Modi
82a907d8f9
Revert "Add explicit -j1 to the make command"
...
This reverts commit f8a052e1cc .
This wasn't effective; it's better for the user to just run "make -j1
test". Ref: https://github.com/kaushalmodi/ox-hugo/issues/195#issuecomment-416643378
8 years ago
Kaushal Modi
cd33b6e356
Hard-code the LANG env var so that `make test` passes *everywhere*
...
Ref: The auto locale detection test failure ("ja_JP" vs "en_US") in
https://github.com/kaushalmodi/ox-hugo/issues/195#issuecomment-416486948
8 years ago
Kaushal Modi
f139244121
Use "perl -pi -e" instead of "sed -r -i" for macOS compatibility
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/195#issuecomment-416486948
8 years ago
Kaushal Modi
d460a150e4
Fix typo
8 years ago
Kaushal Modi
e9e63e370a
Add pandoc mention at few more places
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/195
8 years ago
Kaushal Modi
7185780b90
Add note about pandoc + pandoc-citeproc requirement for devel
...
Move common Org macros to doc-setupfile.org.
Ref: https://github.com/kaushalmodi/ox-hugo/issues/195
8 years ago
Kaushal Modi
fc02bd94c3
More real world examples!
...
Copying @ryancummings , @taipapamotohus , @grugrut , @junahan ,
@alexmurray , @vdemeester and @emacsomancer .
8 years ago
Kaushal Modi
f8a052e1cc
Add explicit -j1 to the make command
...
Looks like it is needed on MacOS. On GNU/Linux systems (mine [RHEL
6.8] and on Travis CI), that is not needed.
Ref:
- https://twitter.com/takaxp/status/1033959999960043520
- https://github.com/kaushalmodi/ox-hugo/issues/195
8 years ago
Kaushal Modi
8e244faf5c
Fix typo in doc-string: Not "a-z0-9", but "[:alnum:]"
...
So that it's clear that non-English alphabets are also allowed in
slugs.
8 years ago
Kaushal Modi
6bb8a01500
Improve doc-string of org-hugo-string
...
https://github.com/kaushalmodi/ox-hugo/pull/194#issuecomment-415777533
8 years ago
Takaaki ISHIKAWA
35b7e1ae3b
Add a new example site
8 years ago
Kaushal Modi
4ece975316
Fix unintentional setting of front-matter format to YAML
8 years ago
Kaushal Modi
2d3cfada3e
Refactor code into an org-hugo--pandoc-citations-enabled-p fn
8 years ago
Kaushal Modi
0670d755fd
Allow disabling Pandoc citations in subtrees
8 years ago
Kaushal Modi
016959c76e
Remove fluff from the last citations+caption test case
8 years ago
Kaushal Modi
2c63b65b67
Add test description
8 years ago
Kaushal Modi
a92efd7ddb
Improve the example with caption for Babel exported figure
...
Ref:
- https://emacs.stackexchange.com/a/12155/115
- https://github.com/kaushalmodi/ox-hugo/issues/191#issuecomment-414129378
8 years ago
Kaushal Modi
27c6951439
Fix typo in manual
8 years ago
Kaushal Modi
703823f827
Don't allow shortcodes to wrap over multiple lines
...
Pandoc auto-wraps the re-written Markdown. While I like this behavior
in general, it breaks the Hugo parsing as it does not allow newlines
between the "{{<" and ">}}" chars in shortcodes.
Actual fix for https://github.com/kaushalmodi/ox-hugo/issues/191 .
8 years ago
Kaushal Modi
370d60df0c
Add check that pandoc-citeproc is installed too
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/191#issuecomment-414129378
8 years ago
Kaushal Modi
c7f19a3ca3
Fix removal of escapes from figure shortcodes
...
Fixes the case where the figure shortcode spans over multiple lines.
Fixes https://github.com/kaushalmodi/ox-hugo/issues/191 .
Also fix the time zone in the date stamp for test to pass over Travis
CI.
8 years ago