Skip to content

Commit 66e810a

Browse files
committed
reworked html landing page
1 parent 8dd81e1 commit 66e810a

File tree

2 files changed

+13
-29
lines changed

2 files changed

+13
-29
lines changed

index.Rmd

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
title: "Data Science"
2+
title: |
3+
![](img/ds-a-first-intro-graphic.png)
4+
Data Science
35
subtitle: "A First Introduction"
46
author: "Tiffany Timbers, Trevor Campbell and Melissa Lee <br> Foreword by Roger Peng"
57
date: "`r Sys.Date()`"
@@ -12,31 +14,20 @@ description: "This is a textbook for teaching a first introduction to data scien
1214
always_allow_html: true
1315
cover-image: "img/ds-a-first-intro-graphic.png"
1416
graphics: yes
15-
output:
16-
bookdown::gitbook:
17-
css: style.css
18-
config:
19-
toc:
20-
before: |
21-
<li><a href="./">Data Science: A First Introduction</a></li>
22-
after: |
23-
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
24-
edit: https://github.com/rstudio/bookdown-demo/edit/master/%s
25-
download: ["pdf", "epub"]
26-
bookdown::pdf_book:
27-
includes:
28-
in_header: preamble.tex
29-
after_body: printindex.tex
30-
latex_engine: xelatex
31-
citation_package: natbib
32-
keep_tex: yes
33-
bookdown::epub_book: default
34-
3517
---
3618

37-
```{r test, child="test-text.Rmd"}
19+
# Welcome! {-}
20+
21+
This is the [website](https://datasciencebook.ca/) for *Data Science: A First Introduction*! You can also purchase a PDF or print copy of the book at [CRC Press](https://www.routledge.com/Data-Science-A-First-Introduction/Timbers-Campbell-Lee/p/book/9780367524685).
22+
23+
```{r bookcover, echo = FALSE, fig.retina = 2, out.width = "45%"}
24+
knitr::include_graphics("img/ds-first-intro-cover.png")
3825
```
3926

27+
<img src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png">
28+
29+
This work by [Tiffany Timbers](https://www.tiffanytimbers.com/), [Trevor Campbell](https://trevorcampbell.me/) and [Melissa Lee](https://www.stat.ubc.ca/users/melissa-lee) is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/).
30+
4031
```{r foreward, child="foreword-text.Rmd"}
4132
```
4233

test-text.Rmd

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)