Skip to content

Commit

Permalink
fix spelling and grammer errors in blog.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Jun 12, 2019
1 parent 58c8865 commit 35fbdef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/blog.Rmd
Expand Up @@ -237,7 +237,7 @@ The following footer is then automatically included at the end of each post:

Note that the `base_url` field is required in order to use Disqus and sharing links.

Valid values for the `share` option are `twitter`, `linkedin`, `facebook`, `google-plus`, and `pintrest`.
Valid values for the `share` option are `twitter`, `linkedin`, `facebook`, `google-plus`, and `pinterest`.

By default, the full text of Disqus comments are not displayed (rather, a link is provided that will expand the comment section). This is done so that a long comment section doesn't obscure the bibliography and other appendices. If you'd rather show the comments by default you can use this alterante syntax for `disqus` configuration:

Expand Down Expand Up @@ -296,7 +296,7 @@ preview: images/sharpe-ratio.png
---
```

Preview images are also used for generating [Open Graph](metadata.html#open-graph) and [Twitter Card](metadata.html#twitter-card) metadata. However, since those systems require that preview images be specified as absolute URLs, you also need to add a `base_url` field to your `_site.yml` file as describe above in [Getting Started].
Preview images are also used for generating [Open Graph](metadata.html#open-graph) and [Twitter Card](metadata.html#twitter-card) metadata. However, since those systems require that preview images be specified as absolute URLs, you also need to add a `base_url` field to your `_site.yml` file as described above in [Getting Started].

### Citations

Expand Down Expand Up @@ -325,7 +325,7 @@ collections:

### Subscriptions

You can add HTML that enable readers to subscribe to your blog by including the `collections:posts:subscribe` option within `_site.yml`. The `subscribe` option in turn points to an HTML file that provides the ability to subscribe to your blog. For example:
You can add HTML that enables readers to subscribe to your blog by including the `collections:posts:subscribe` option within `_site.yml`. The `subscribe` option in turn points to an HTML file that provides the ability to subscribe to your blog. For example:

**\_site.yml**

Expand Down
6 changes: 3 additions & 3 deletions docs/blog.html
Expand Up @@ -1571,7 +1571,7 @@ <h3 id="comments-and-sharing">Comments and sharing</h3>
<p>The following footer is then automatically included at the end of each post:</p>
<p><img src="images/social-footer.png" class="screenshot" style="width:80.0%" /></p>
<p>Note that the <code>base_url</code> field is required in order to use Disqus and sharing links.</p>
<p>Valid values for the <code>share</code> option are <code>twitter</code>, <code>linkedin</code>, <code>facebook</code>, <code>google-plus</code>, and <code>pintrest</code>.</p>
<p>Valid values for the <code>share</code> option are <code>twitter</code>, <code>linkedin</code>, <code>facebook</code>, <code>google-plus</code>, and <code>pinterest</code>.</p>
<p>By default, the full text of Disqus comments are not displayed (rather, a link is provided that will expand the comment section). This is done so that a long comment section doesn’t obscure the bibliography and other appendices. If you’d rather show the comments by default you can use this alterante syntax for <code>disqus</code> configuration:</p>
<pre class="markup"><code>
collections:
Expand Down Expand Up @@ -1611,7 +1611,7 @@ <h3 id="preview-images">Preview images</h3>
and then calculating the Sharpe Ratio.
preview: images/sharpe-ratio.png
---</code></pre>
<p>Preview images are also used for generating <a href="metadata.html#open-graph">Open Graph</a> and <a href="metadata.html#twitter-card">Twitter Card</a> metadata. However, since those systems require that preview images be specified as absolute URLs, you also need to add a <code>base_url</code> field to your <code>_site.yml</code> file as describe above in <a href="#getting-started">Getting Started</a>.</p>
<p>Preview images are also used for generating <a href="metadata.html#open-graph">Open Graph</a> and <a href="metadata.html#twitter-card">Twitter Card</a> metadata. However, since those systems require that preview images be specified as absolute URLs, you also need to add a <code>base_url</code> field to your <code>_site.yml</code> file as described above in <a href="#getting-started">Getting Started</a>.</p>
<h3 id="citations">Citations</h3>
<p>If your <code>_site.yml</code> file provides a <code>base_url</code> field, then an <a href="citations.html">article citation</a> appendix and related metadata will be included automatically within all published posts. For example:</p>
<p><img src="images/blog-citation.png" class="screenshot" style="width:95.0%" /></p>
Expand All @@ -1630,7 +1630,7 @@ <h3 id="citations">Citations</h3>
share: [twitter, linkedin]
citations: false</code></pre>
<h3 id="subscriptions">Subscriptions</h3>
<p>You can add HTML that enable readers to subscribe to your blog by including the <code>collections:posts:subscribe</code> option within <code>_site.yml</code>. The <code>subscribe</code> option in turn points to an HTML file that provides the ability to subscribe to your blog. For example:</p>
<p>You can add HTML that enables readers to subscribe to your blog by including the <code>collections:posts:subscribe</code> option within <code>_site.yml</code>. The <code>subscribe</code> option in turn points to an HTML file that provides the ability to subscribe to your blog. For example:</p>
<p><strong>_site.yml</strong></p>
<pre class="markup"><code>
name: &quot;reproducible-finance-with-r&quot;
Expand Down
4 changes: 2 additions & 2 deletions docs/sitemap.xml
Expand Up @@ -10,7 +10,7 @@
</url>
<url>
<loc>https://rstudio.github.io/distill/blog.html</loc>
<lastmod>2019-02-26T11:01:17-05:00</lastmod>
<lastmod>2019-06-12T07:26:46-04:00</lastmod>
</url>
<url>
<loc>https://rstudio.github.io/distill/citations.html</loc>
Expand All @@ -26,7 +26,7 @@
</url>
<url>
<loc>https://rstudio.github.io/distill/</loc>
<lastmod>2019-02-26T11:01:17-05:00</lastmod>
<lastmod>2019-05-04T08:04:41-04:00</lastmod>
</url>
<url>
<loc>https://rstudio.github.io/distill/interactivity.html</loc>
Expand Down

0 comments on commit 35fbdef

Please sign in to comment.