mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-11-15 02:58:29 +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
|
Each entry is inside a `div` container and each element of the properties has
|
||||||
its own class.
|
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 'awesomecv2 "awesomecv.org")
|
||||||
(export-latex 'awesomecv "awesomecv.org")
|
(export-latex 'awesomecv "awesomecv.org")
|
||||||
(export-latex 'awesomecv "awesome-letter.org")
|
(export-latex 'awesomecv "awesome-letter.org")
|
||||||
|
(copy-file
|
||||||
(export-with 'hugocv "hugocv.org" ".md")
|
(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.
|
its own class.
|
||||||
|
|
||||||
#+begin_src org :exports none :tangle hugocv.org
|
#+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
|
#+end_src
|
||||||
|
|
||||||
# Next block is to generate exports
|
# Next block is to generate exports
|
||||||
#+BEGIN_SRC org :exports none :tangle hugocv.org
|
#+BEGIN_SRC org :exports none :tangle hugocv.org
|
||||||
#+include: basic_cv.org
|
,#+hugo_custom_front_matter: :weight
|
||||||
#+include: sideactivities.org
|
,#+include: basic_cv.org
|
||||||
#+include: workcontent.org
|
,#+include: sideactivities.org
|
||||||
|
,#+include: workcontent.org
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
#+BEGIN_EXPORT md
|
||||||
|
<iframe src="/post/cv/" title="rendered CV"></iframe>
|
||||||
|
#+END_EXPORT
|
||||||
* License
|
* License
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:EXPORT_FILE_NAME: license
|
:EXPORT_FILE_NAME: license
|
||||||
|
|
Loading…
Reference in a new issue