Kaushal Modi
cde5cfb980
Update hugo-debugprint submodule
8 years ago
Kaushal Modi
dcfacbd8d8
Use Hugo 0.42 theme composition feature for doc site
8 years ago
Kaushal Modi
bc70df5527
Update hugo-bare-min-theme for Hugo 0.42
...
Add hugo-search-fuse-js submodule
8 years ago
Kaushal Modi
6325a377d2
Update hugo-bare-min-theme for Hugo 0.42
8 years ago
Kaushal Modi
bbba8fc073
Add example of author>authors front-matter replacement
...
Ref: https://github.com/MunifTanjim/minimo/issues/142
8 years ago
Kaushal Modi
c504e21c62
Leave the front-matter values that would be bigints as strings
8 years ago
Kaushal Modi
49ac57709c
Support links to CUSTOM_ID's of Org files
...
This commit adds more support to cross-linking of Org files, though
only for the per-file export flow.
Now a link like [[./foo.org::#bar]] will export to {{< relref
"foo#bar" >}}.
8 years ago
Kaushal Modi
704b6e963f
Optimize the details/summary code
8 years ago
Kaushal Modi
bf68e6b175
More details/summary tests
8 years ago
Kaushal Modi
c860032e8e
Update an inline HTML -- Special Block test based on prev commit
8 years ago
Kaushal Modi
3896f2940b
Move the details Special Block parsing to ox-blackfriday
...
Change the open drawer attr_html syntax from "open" to ":open t" to
fit with general Org attr_html syntax.
Always insert a newline before/after the string wrapped by inline HTML
elements.
8 years ago
Kaushal Modi
b23348cd84
Update documentation and tests about details/summary
...
Related to
2bc4448841
Discussion on Org mailing list on why this change was made:
http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00456.html
Thanks to Aaron Ecay for nudging to do the Right Thing(TM) and not use
the hackish "---" summary divider approach.
8 years ago
Kaushal Modi
3c9bad7c85
Fix the presence of blank line after summary closing tag
...
This caused Blackfriday to close the prior opened <p class="details">
paragraph.
8 years ago
Kaushal Modi
2bc4448841
Use "summary" Org Special Block instead of the "---" string
8 years ago
Kaushal Modi
ce8985b711
Test multi-paragraph summaries
8 years ago
Kaushal Modi
14533c9619
Update org-hugo-special-block doc-string
8 years ago
Kaushal Modi
2b13d18e16
Add support for <details> disclosure widget
8 years ago
Kaushal Modi
d7296f363f
Improve org-hugo--todo documentation
...
Also make checkdoc pass.
8 years ago
Kaushal Modi
3ed1c91067
Add Jack Baty's blog to examples
...
@jackbaty
8 years ago
Kaushal Modi
3a9a676e17
Add a test case for paragraphs in lists
8 years ago
Kaushal Modi
4fbcb88143
Make the nested lists test more interesting
8 years ago
Kaushal Modi
422a80ce94
Add test for an ordered list following an ordered list
8 years ago
Kaushal Modi
17560ce15b
Add test for "replace double-underscores with space in Org TODO kwd"
...
Feature was added in
https://github.com/kaushalmodi/ox-hugo/commit/7691f0453b .
8 years ago
Kaushal Modi
a5f4359280
Eval the org-hugo--get-tags alias each time
...
Earlier, it got byte-compiled and so the compiled ox-hugo couldn't be
used between old and new Org versions.
Workaround is to wrap the logic in with-no-warnings.
8 years ago
Kaushal Modi
58e73e132b
Enable error back-trace, for user-error too
8 years ago
Kaushal Modi
f87c82a0d5
Update tests
8 years ago
Kaushal Modi
7691f0453b
Add org-hugo--todo
...
This function is almost same as org-html--todo, except that:
1. It always adds an "org-todo" class to the TODO spans.
2. Replaces the double underscores in todo keywords with spaces.
8 years ago
Kaushal Modi
03160b837f
Break out org-hugo--replace-underscores-with-spaces as a separate fn
8 years ago
Kaushal Modi
76f350ced4
Bug fix: Don't post-fix todo keywords with spaces
...
That caused the member match in org-todo-keywords to always fail in
org-html--todo.
8 years ago
Kaushal Modi
4e016b56ed
Whitespace consistency
8 years ago
Kaushal Modi
c2a636c2c8
Add headless bundle source link in the headless bundle test
8 years ago
Kaushal Modi
5c15470e61
Add test for code blocks in list using highlight shortcode
...
- https://github.com/kaushalmodi/ox-hugo/issues/161
- https://github.com/gohugoio/hugo/issues/4717
8 years ago
Kaushal Modi
111d4ad81f
Add gif to attachments that are allowed to be copied to content
8 years ago
Kaushal Modi
58a4aef012
Add an example showing how to wrap Org headings in HTML tags
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/160
8 years ago
Kaushal Modi
5accde7f69
Fix typo in test
...
"file:https:" is not valid Org link! It has to be either "file:" or
"https:".
Minor update to test site theme.
8 years ago
Kaushal Modi
3ca6d0b7ec
Fix coding.net links #doc site
8 years ago
Kaushal Modi
562237439a
Remove a failing real world example; fix doc site
8 years ago
Kaushal Modi
dff9b47584
Replace external domain image links with local #test site
...
Fix the CSP blocks
8 years ago
Kaushal Modi
fe31b0b6fe
Reduce side padding around body on phones #doc site
8 years ago
Kaushal Modi
79825086e8
Remove integrity check for the locally served .js scripts #doc
...
From
https://securityheaders.com/?q=https%3A%2F%2Fox-hugo.scripter.co&followRedirects=on ,
it's not advisable to enable CORS for non-public CDN.
> Access-Control-Allow-Origin This is a very lax CORS policy. Such a
policy should only be used on a public CDN.
8 years ago
Kaushal Modi
69bac337d9
Update SRI for various .js libs #doc site
8 years ago
Kaushal Modi
ceb0a3d4a2
Enable CORS #doc site
...
To allow the locally served jquery.js, etc to be SRI verified.
8 years ago
Kaushal Modi
c39d828dcb
Make images fit the full width #doc site
8 years ago
Kaushal Modi
cf05d9f568
Add hashes for Privacy Badger injected scripts #csp
...
Privacy Badger version 2018.04.23:
- 'sha256-kNsowQfHpWMrbQG7AtSzSuMQg2t/YKwmDWdqeKfm4BI='
- 'sha256-afSIEhWGAPlY458Q4YkhPLVnsVEBh/u5YNlpg6od8TU='
- https://github.com/EFForg/privacybadger/issues/1793#issuecomment-385520982
- 29fc983ac7/netlify.toml (L174-199)
8 years ago
Kaushal Modi
eb8276630b
Add real world example: https://cadadr.github.io/elisp/index.html
...
Thanks @cadadr !
8 years ago
Kaushal Modi
d2869905c2
Add real world example: https://zcl.space
...
Thanks @emacsun !
8 years ago
Kaushal Modi
31267fe39c
Update doc and test site themes
8 years ago
Kaushal Modi
b538c9a452
More CSP-compliance #test site
8 years ago
Kaushal Modi
3939c1f0ac
More CSP-compliant MathJax setup #test site
8 years ago
Kaushal Modi
eec3303296
Update CSP for search and real world examples pages #doc site
8 years ago