mirror of
https://github.com/agdamsbo/agdamsbo.github.io.git
synced 2024-11-24 05:01:53 +01:00
use master branch
This commit is contained in:
parent
6d3296543f
commit
eda07836e7
@ -14,9 +14,9 @@ The official document from RStudio can be found [here](http://rmarkdown.rstudio.
|
|||||||
|
|
||||||
### Make the first version of your website
|
### Make the first version of your website
|
||||||
|
|
||||||
- Fork this repo (use the green button "Clone" and make sure you use SSH, not HTTPS) and rename it to be 'YOURGITHUB.github.io' (in Settings of your brand new repo).
|
- Fork this repo (top-right) and rename it to be 'YOURGITHUB.github.io' (in Settings of your brand new repo).
|
||||||
- Get the link from cloning the repo. Then, go to RStudio, create a New Project > Version Control > Git and copy this link. You have cloned your new repo as an R project.
|
- Get the link from cloning the repo. Use the green button "Clone" and make sure you use SSH, not HTTPS. Then, go to RStudio, create a New Project > Version Control > Git and copy this link. You have cloned your new repo as an R project.
|
||||||
- Use `rmarkdown::render_site(encoding = "UTF-8")` in the console.
|
- Use `rmarkdown::render_site(encoding = "UTF-8")` in the console. Or just `Ctrl/Cmd + Shift + B`.
|
||||||
- Commit and push everything from RStudio.
|
- Commit and push everything from RStudio.
|
||||||
- Go see your new website at https://YOURGITHUB.github.io/.
|
- Go see your new website at https://YOURGITHUB.github.io/.
|
||||||
|
|
||||||
|
10
_site.yml
10
_site.yml
@ -1,7 +1,7 @@
|
|||||||
name: "YOURNAME" # CHANGE HERE
|
name: "YOURNAME" # CHANGE HERE
|
||||||
output_dir: "."
|
output_dir: "."
|
||||||
navbar:
|
navbar:
|
||||||
title: "YOURNAME" # CHANGE HERE
|
title: "YOURNAME" # CHANGE HERE
|
||||||
type: inverse
|
type: inverse
|
||||||
left:
|
left:
|
||||||
- text: "Home"
|
- text: "Home"
|
||||||
@ -15,14 +15,14 @@ navbar:
|
|||||||
href: cv.html
|
href: cv.html
|
||||||
- text: "Blog"
|
- text: "Blog"
|
||||||
icon: fa-rss
|
icon: fa-rss
|
||||||
href: https://YOURGITHUB.github.io/blog/ # CHANGE HERE
|
href: https://YOURGITHUB.github.io/blog/ # CHANGE HERE OR DELETE ALL 3 LINES
|
||||||
right:
|
right:
|
||||||
- text: "Contact me"
|
- text: "Contact me"
|
||||||
icon: fa-envelope-o
|
icon: fa-envelope-o
|
||||||
href: mailto:YOUREMAIL # CHANGE HERE
|
href: mailto:YOUREMAIL # CHANGE HERE
|
||||||
- text: "GitHub"
|
- text: "GitHub"
|
||||||
icon: fa-github
|
icon: fa-github
|
||||||
href: https://github.com/YOURGITHUB # CHANGE HERE
|
href: https://github.com/YOURGITHUB # CHANGE HERE
|
||||||
output:
|
output:
|
||||||
html_document:
|
html_document:
|
||||||
theme: cosmo
|
theme: cosmo
|
||||||
|
Loading…
Reference in New Issue
Block a user