diff --git a/doc/content/post/hugo_export.md b/doc/content/post/hugo_export.md index a0d1844..73972dc 100644 --- a/doc/content/post/hugo_export.md +++ b/doc/content/post/hugo_export.md @@ -20,4 +20,15 @@ You are responsible for styling your website. Use all the CSS magic you know. Each entry is inside a `div` container and each element of the properties has its own class. -\#+end_src +Make sure that your hugo config has the markup parser attributes active + +```yaml +markup: + goldmark: + parser: + attribute: + title: true + block: true +``` + + diff --git a/genfiles.el b/genfiles.el index 4b59a25..3e64795 100644 --- a/genfiles.el +++ b/genfiles.el @@ -52,4 +52,6 @@ (export-latex 'awesomecv2 "awesomecv.org") (export-latex 'awesomecv "awesomecv.org") (export-latex 'awesomecv "awesome-letter.org") -(export-with 'hugocv "hugocv.org" ".md") +(copy-file + (export-with 'hugocv "hugocv.org" ".md") + (concat cv-cwd "/doc/content/post/cv.md")) diff --git a/readme.org b/readme.org index af9e7c2..d232b19 100644 --- a/readme.org +++ b/readme.org @@ -458,16 +458,31 @@ Each entry is inside a =div= container and each element of the properties has its own class. #+begin_src org :exports none :tangle hugocv.org -,#+HTML_HEAD: +,#+HTML: +,#+HTML: +#+end_src + +Make sure that your hugo config has the markup parser attributes active +#+begin_src yaml +markup: + goldmark: + parser: + attribute: + title: true + block: true #+end_src # Next block is to generate exports #+BEGIN_SRC org :exports none :tangle hugocv.org -#+include: basic_cv.org -#+include: sideactivities.org -#+include: workcontent.org +,#+hugo_custom_front_matter: :weight +,#+include: basic_cv.org +,#+include: sideactivities.org +,#+include: workcontent.org #+END_SRC +#+BEGIN_EXPORT md + +#+END_EXPORT * License :PROPERTIES: :EXPORT_FILE_NAME: license