How and where should I update content in CV? #1611
-
I want to change content in CV page, also delete the table of content. But I notice there are are these the right places to change? if so, what is the workflow for updating cv? (seems like change _data/cv.yml have no effect and changing assets/json/resume.json has some effects) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
What this means is, if there is no To remove the table of contents, simply remove the referred part from |
Beta Was this translation helpful? Give feedback.
_layouts/cv.html
is responsible for rendering the contents of the cv. If you check here there is anunless
condition withsite.data.resume
. Everything that is accessed viasite.
is defined in the_config.yaml
. In this case, this information is defined here.What this means is, if there is no
resume
data defined in_config.yml
and loaded via a json file, it will load the contents of_data/cv.yml
as fallback.To remove the table of contents, simply remove the referred part from
_layouts/cv.html
.