add orcid id logo to images and look into #86
diff --git a/images/orcid.jpg b/images/orcid.jpg
new file mode 100644
index 0000000..14fc1d8
--- /dev/null
+++ b/images/orcid.jpg
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_betterland/resources/template.html b/inst/rmarkdown/templates/posterdown_betterland/resources/template.html
index 0c85df8..83875f5 100644
--- a/inst/rmarkdown/templates/posterdown_betterland/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_betterland/resources/template.html
@@ -310,7 +310,7 @@
$for(author)$
$if(author.main)$
-$author.name$<sup> $author.affil$</sup><br>
+$author.name$<sup> $author.affil$$if(author.orcid)$, $author.orcid$</sup><br>
$if(author.twitter)$<a class="twitter" href="https://mobile.twitter.com/$author.twitter$"><i class="fab fa-twitter"></i> @$author.twitter$</a><br>
$else$$endif$
$if(author.email)$
@@ -340,7 +340,7 @@
$body$
</div>
-<div class="column main">
+<div class="main">
<p>$for(main_findings)$$main_findings$$sep$<br><br> $endfor$</p>
<img id="main-img-left" src='$if(logoleft_name)$$logoleft_name$$else$$endif$'>
<img id="main-img-right" src='$if(logoright_name)$$logoright_name$$else$$endif$'>
diff --git a/inst/rmarkdown/templates/posterdown_betterland/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/posterdown_betterland/skeleton/skeleton.Rmd
index f4a21e2..6080494 100644
--- a/inst/rmarkdown/templates/posterdown_betterland/skeleton/skeleton.Rmd
+++ b/inst/rmarkdown/templates/posterdown_betterland/skeleton/skeleton.Rmd
@@ -4,6 +4,8 @@
- name: Brent Thorne
affil: 1
twitter: brentthorne18
+ email: brentthorne18@gmail.com
+ orcid: 008584-433
main: true
affiliation:
- num: 1
@@ -58,7 +60,6 @@
To reference a citation you can add your `.bib` file to the working directory and name it in the YAML metadata or generate an automated one as done here, then you only need to reference the label value in the `.bib` file. For example this package is built on top of the wonderful {pagedown} package and I will cite it at the end of this sentance using this in the rmd `[@R-pagedown]` [@R-pagedown].
-
# Results
Here you may have some figures to show off, bellow I have made a scatterplot with the infamous Iris dataset and I can even reference to the figure automatically like this, `Figure \@ref(fig:irisfigure)`, Figure \@ref(fig:irisfigure).
@@ -72,7 +73,7 @@
Maybe you want to show off some of that fancy code you spent so much time on to make that figure, well you can do that too! Just use the `echo=TRUE` option in the r code chunk options, Figure \@ref(fig:myprettycode)!
-```{r myprettycode, echo=TRUE,collapse=TRUE, fig.cap='Boxplots, so hot right now!', fig.height=3.5, out.width="100%"}
+```{r myprettycode, echo=FALSE,collapse=TRUE, fig.cap='Boxplots, so hot right now!', fig.height=3.5, out.width="80%"}
#trim whitespace
par(mar=c(2,2,0,0))
#plot boxplots
@@ -87,7 +88,7 @@
```{r, iristable}
knitr::kable(
- iris[1:3,1:5], format = "html",
+ iris[1:8,1:5], format = "html",
caption = "A table made with the **knitr::kable** function.",
align = "c", col.names = c("Sepal <br> Length",
"Sepal <br> Width",
diff --git a/inst/rmarkdown/templates/posterdown_html/resources/template.html b/inst/rmarkdown/templates/posterdown_html/resources/template.html
index 7728795..06dc77e 100644
--- a/inst/rmarkdown/templates/posterdown_html/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_html/resources/template.html
@@ -78,7 +78,7 @@
background-color: $if(primary_colour)$$primary_colour$$else$#008080$endif$;
display: flex;
align-items: center;
-justify-content: center;x
+justify-content: center;
}
.logo_right {
float: right;