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

New example site #27

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
more content
  • Loading branch information
apreshill committed Nov 21, 2020
commit c92dc0f3b5d33b506929ec065dc1d78152361ccf
2 changes: 1 addition & 1 deletion exampleSite/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ menu:

<div class="quote-right">

> Until we have begun to go without them, we fail to realize how unnecessary many things are. We've been using them not because we needed them but because we had them.
> “There is something delicious about writing the first words of a story. You never quite know where they'll take you.”

</div>

Expand Down
2 changes: 2 additions & 0 deletions exampleSite/content/card/philosophy.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ style: 'background: darkslategray; color: white;'
weight: 1
---

## Welcome!

As "a major philosophical figure of the Roman Imperial Period", Seneca’s lasting contribution to philosophy has been to the school of Stoicism. His writing is highly accessible and was the subject of attention from the Renaissance onwards by writers such as Michel de Montaigne. He has been described as “a towering and controversial figure of antiquity” and “the world’s most interesting Stoic”.

Seneca wrote a number of books on Stoicism, mostly on ethics, with one work (Naturales Quaestiones) on the physical world. Seneca built on the writings of many of the earlier Stoics: he often mentions Zeno, Cleanthes, and Chrysippus; and frequently cites Posidonius, with whom Seneca shared an interest in natural phenomena. He frequently quotes Epicurus, especially in his Letters.
2 changes: 2 additions & 0 deletions exampleSite/content/post/2020-11-10-r-markdown-demo/index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ slug: r-markdown-demo
features: [+sticky_menu]
toc-title: Outline
bibliography: packages.bib
categories:
- R
---

```{r, setup, include=FALSE}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
features: [+sticky_menu]
toc-title: Outline
bibliography: packages.bib
categories:
- R
---

<script src="{{< relref "post/2020-11-10-r-markdown-demo/index.html" >}}index_files/header-attrs/header-attrs.js"></script>
Expand Down Expand Up @@ -218,14 +220,14 @@ <h3>Sidenotes</h3>
<div id="citations" class="section level3">
<h3>Citations</h3>
<p>Use <code>bibliography</code> or <code>references</code> in YAML to include the bibliography database,
and use <code>@</code> to cite items, e.g., <code>@R-base</code> generates <span class="citation"><a href="#ref-R-base" role="doc-biblioref">R Core Team</a> (<a href="#ref-R-base" role="doc-biblioref">2020</a>)</span>.</p>
and use <code>@</code> to cite items, e.g., <code>@R-base</code> generates <span class="citation"><a href="#ref-R-base" role="doc-biblioref">R Core Team</a> (<a href="#ref-R-base" role="doc-biblioref">2019</a>)</span>.</p>
<pre class="r"><code>knitr::write_bib(&#39;base&#39;, &#39;packages.bib&#39;)</code></pre>
<p>As you can see above, we generated a <code>.bib</code> database with <code>knitr::write_bib()</code>.</p>
<p>Citation entries are displayed in the right margin by default like footnotes. To
disable this behavior, set <code>features: [-sidenotes]</code> in YAML.</p>
<div id="refs" class="references csl-bib-body hanging-indent">
<div id="ref-R-base" class="csl-entry">
R Core Team. 2020. <em>R: A Language and Environment for Statistical Computing</em>. Vienna, Austria: R Foundation for Statistical Computing. <a href="https://www.R-project.org/">https://www.R-project.org/</a>.
R Core Team. 2019. <em>R: A Language and Environment for Statistical Computing</em>. Vienna, Austria: R Foundation for Statistical Computing. <a href="https://www.R-project.org/">https://www.R-project.org/</a>.
</div>
</div>
</div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ @Manual{R-base
author = {{R Core Team}},
organization = {R Foundation for Statistical Computing},
address = {Vienna, Austria},
year = {2020},
year = {2019},
url = {https://www.R-project.org/},
}

4 changes: 3 additions & 1 deletion exampleSite/content/post/moppet/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ This is the Mouse peeping out behind the cupboard, and making fun of Miss
Moppet. He is not afraid of a kitten.



::: {.embed-right}
![moppet illustration](featured.jpg)
:::


This is Miss Moppet jumping just too late; she misses the Mouse and hits
Expand Down
2 changes: 0 additions & 2 deletions exampleSite/content/project/conservation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Conservation
author: Beatrix Potter
date: '2017-06-14'
categories:
- conservationist
tags:
- bunnies
slug: land
Expand Down
14 changes: 13 additions & 1 deletion exampleSite/content/project/science/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,21 @@ source: "https://en.wikipedia.org/wiki/Beatrix_Potter#Scientific_illustrations_a
Beatrix Potter's parents did not discourage higher education. As was common in the Victorian era, women of her class were privately educated and rarely went to university.

::: {.embed-right}
![mycology illustration](featured.jpg){width="250"}
![mycology illustration](featured.jpg)
:::

<div class="embed-right">

![mycology illustration](featured.jpg)

</div>

<div class="embed-right">

{{< figure src="featured.jpg" alt="mushrooms" caption="Illustration by Beatrix Potter" >}}

</div>

Beatrix Potter was interested in every branch of natural science save astronomy. Botany was a passion for most Victorians and nature study was a popular enthusiasm. Potter was eclectic in her tastes: collecting fossils, studying archaeological artefacts from London excavations, and interested in entomology. In all these areas, she drew and painted her specimens with increasing skill. By the 1890s, her scientific interests centred on mycology. First drawn to fungi because of their colours and evanescence in nature and her delight in painting them, her interest deepened after meeting Charles McIntosh, a revered naturalist and amateur mycologist, during a summer holiday in Dunkeld in Perthshire in 1892. He helped improve the accuracy of her illustrations, taught her taxonomy, and supplied her with live specimens to paint during the winter. Curious as to how fungi reproduced, Potter began microscopic drawings of fungus spores (the agarics) and in 1895 developed a theory of their germination. Through the connections of her uncle Sir Henry Enfield Roscoe, a chemist and vice-chancellor of the University of London, she consulted with botanists at Kew Gardens, convincing George Massee of her ability to germinate spores and her theory of hybridisation.[30] She did not believe in the theory of symbiosis proposed by Simon Schwendener, the German mycologist, as previously thought; instead, she proposed a more independent process of reproduction.

> "Potter was, nevertheless, a pioneering mycologist, one whose intelligence and inquisitiveness might have been channeled into a career in science had she possessed the Y chromosome required for most Victorian professions. Fortunately, her considerable artistic talents gave her other outlets for her ambition."
Expand Down