Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to not generate meta line in rendered html #26

Open
edibleguy opened this issue Feb 15, 2018 · 0 comments
Open

how to not generate meta line in rendered html #26

edibleguy opened this issue Feb 15, 2018 · 0 comments

Comments

@edibleguy
Copy link

I really like Bookdown. I have one issue that is causing more work than I think is required.

When I build a book from the rmd files, is there a way to prevent lines from being added to my html files?

The reason I want to do this is the following:

  1. I have many html files with my book. One for each subsection.
  2. I have a local repo on two computers.
  3. Any time I make a change to one rmd file, all of my html files get changed. Often the only thing that changes is the meta line that lists the date last edited, for example:
    from repo 1 :
    from repo 2 :
  4. Before I can push the new html (linked to netlify website), I need to merge the minor date changes for every html file. If I do this through rstudio, I commit these changes one at a time. I am not using this information, so merging is a waste of effort, especially when I have more than 100 html files to merge.
  5. If the date meta line is not generated, only a small set of html needs to be merged when I make a change to one rmd file.

Is there a simple solution to achieving this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant