mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-12-22 04:29:04 +00:00
Hugo export view
This commit is contained in:
parent
e3532737bd
commit
98875d53f5
3 changed files with 34 additions and 6 deletions
|
@ -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
|
||||
```
|
||||
|
||||
<iframe src="/post/cv/" title="rendered CV"></iframe>
|
||||
|
|
|
@ -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"))
|
||||
|
|
23
readme.org
23
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: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" />
|
||||
,#+HTML: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" />
|
||||
,#+HTML: <link rel="stylesheet" href="/css/cv.css" />
|
||||
#+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
|
||||
<iframe src="/post/cv/" title="rendered CV"></iframe>
|
||||
#+END_EXPORT
|
||||
* License
|
||||
:PROPERTIES:
|
||||
:EXPORT_FILE_NAME: license
|
||||
|
|
Loading…
Reference in a new issue