Skip to content

Commit b304dd2

Browse files
committed
added note to code chunk about excluded page content
1 parent 8b64ceb commit b304dd2

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

index.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -822,25 +822,27 @@ <h3 class="anchored" data-anchor-id="fa-arrow-right-titlean-arrow-pointing-to-th
822822
<span id="annotated-cell-3-14"><a href="#annotated-cell-3-14" aria-hidden="true" tabindex="-1"></a> href<span class="sc">:</span> https<span class="sc">:</span><span class="er">//</span>github.com<span class="sc">/</span>samanthacsik</span>
823823
<span id="annotated-cell-3-15"><a href="#annotated-cell-3-15" aria-hidden="true" tabindex="-1"></a> <span class="sc">-</span> text<span class="sc">:</span> Email</span>
824824
<span id="annotated-cell-3-16"><a href="#annotated-cell-3-16" aria-hidden="true" tabindex="-1"></a> href<span class="sc">:</span> mailto<span class="sc">:</span>scsik<span class="sc">@</span>ucsb.edu</span>
825-
<span id="annotated-cell-3-17"><a href="#annotated-cell-3-17" aria-hidden="true" tabindex="-1"></a><span class="sc">---</span></span><div class="code-annotation-gutter-bg"></div><div class="code-annotation-gutter"></div></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
825+
<span id="annotated-cell-3-17"><a href="#annotated-cell-3-17" aria-hidden="true" tabindex="-1"></a><span class="sc">---</span></span>
826+
<span id="annotated-cell-3-18"><a href="#annotated-cell-3-18" aria-hidden="true" tabindex="-1"></a> </span>
827+
<span id="annotated-cell-3-19"><a href="#annotated-cell-3-19" aria-hidden="true" tabindex="-1"></a><span class="co"># page content excluded for brevity ~</span></span><div class="code-annotation-gutter-bg"></div><div class="code-annotation-gutter"></div></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
826828
</div>
827829
<div class="cell-annotation">
828830
<dl class="code-annotation-container-grid">
829831
<dt data-target-cell="annotated-cell-3" data-target-annotation="1">1</dt>
830832
<dd>
831-
<span data-code-lines="3" data-code-annotation="1" data-code-cell="annotated-cell-3">add a photo by supplying a file path &amp; image name (here, <code>headshot.jpg</code> lives in my repo’s root directory)</span>
833+
<span data-code-cell="annotated-cell-3" data-code-annotation="1" data-code-lines="3">add a photo by supplying a file path &amp; image name (here, <code>headshot.jpg</code> lives in my repo’s root directory)</span>
832834
</dd>
833835
<dt data-target-cell="annotated-cell-3" data-target-annotation="2">2</dt>
834836
<dd>
835-
<span data-code-lines="5" data-code-annotation="2" data-code-cell="annotated-cell-3">use a <a href="https://quarto.org/docs/websites/website-about.html#templates">pre-built template</a> (here, <code>trestles</code>) to update the layout of your landing page (or any page!)</span>
837+
<span data-code-cell="annotated-cell-3" data-code-annotation="2" data-code-lines="5">use a <a href="https://quarto.org/docs/websites/website-about.html#templates">pre-built template</a> (here, <code>trestles</code>) to update the layout of your landing page (or any page!)</span>
836838
</dd>
837839
<dt data-target-cell="annotated-cell-3" data-target-annotation="3">3</dt>
838840
<dd>
839-
<span data-code-lines="6,7" data-code-annotation="3" data-code-cell="annotated-cell-3">set image shape (<code>round</code>, <code>rounded</code>, <code>rectangle</code>) &amp; size</span>
841+
<span data-code-cell="annotated-cell-3" data-code-annotation="3" data-code-lines="6,7">set image shape (<code>round</code>, <code>rounded</code>, <code>rectangle</code>) &amp; size</span>
840842
</dd>
841843
<dt data-target-cell="annotated-cell-3" data-target-annotation="4">4</dt>
842844
<dd>
843-
<span data-code-lines="8,9,10,11,12,13,14,15,16" data-code-annotation="4" data-code-cell="annotated-cell-3">add button links to your favorite social media pages (e.g.&nbsp;LinkedIn, Twitter, GitHub, and even your email – <strong>Note:</strong> the <code>mailto::</code> ahead of your email address, <code>mailto::youremail.com</code>)</span>
845+
<span data-code-cell="annotated-cell-3" data-code-annotation="4" data-code-lines="8,9,10,11,12,13,14,15,16">add button links to your favorite social media pages (e.g.&nbsp;LinkedIn, Twitter, GitHub, and even your email – <strong>Note:</strong> the <code>mailto::</code> ahead of your email address, <code>mailto::youremail.com</code>)</span>
844846
</dd>
845847
</dl>
846848
</div>
@@ -905,11 +907,11 @@ <h3 class="anchored" data-anchor-id="fa-arrow-right-titlean-arrow-pointing-to-th
905907
<dl class="code-annotation-container-grid">
906908
<dt data-target-cell="annotated-cell-4" data-target-annotation="1">1</dt>
907909
<dd>
908-
<span data-code-lines="6" data-code-annotation="1" data-code-cell="annotated-cell-4">Give your website a better title (e.g.&nbsp;your name)! This is the text that appears in the top left corner of your website (by default, it appears as your repo name) – when clicked, a user will be brought back to the landing page</span>
910+
<span data-code-cell="annotated-cell-4" data-code-annotation="1" data-code-lines="6">Give your website a better title (e.g.&nbsp;your name)! This is the text that appears in the top left corner of your website (by default, it appears as your repo name) – when clicked, a user will be brought back to the landing page</span>
909911
</dd>
910912
<dt data-target-cell="annotated-cell-4" data-target-annotation="2">2</dt>
911913
<dd>
912-
<span data-code-lines="17" data-code-annotation="2" data-code-cell="annotated-cell-4">Set your <code>page-layout</code> to <code>full</code> so that your page content takes up more of the page width</span>
914+
<span data-code-cell="annotated-cell-4" data-code-annotation="2" data-code-lines="17">Set your <code>page-layout</code> to <code>full</code> so that your page content takes up more of the page width</span>
913915
</dd>
914916
</dl>
915917
<div class="cell" data-layout-align="center">
@@ -958,7 +960,7 @@ <h3 class="anchored" data-anchor-id="fa-arrow-right-titlean-arrow-pointing-to-th
958960
<dl class="code-annotation-container-grid">
959961
<dt data-target-cell="annotated-cell-5" data-target-annotation="1">1</dt>
960962
<dd>
961-
<span data-code-lines="13" data-code-annotation="1" data-code-cell="annotated-cell-5">A newly-added navbar page. <strong>Note:</strong> The page name, as it appears in the navbar of your website, will be the same as whatever is listed in the <code>title</code> field of that file’s yaml. For example, I have set <code>title: "All my favorite resources!"</code> in the yaml of <code>resources.qmd</code> – this is how it will appear in my website’s navbar. If you’d like the page name to appear differently in the navbar, use the <code>href</code> and <code>text</code> options together (e.g.&nbsp;see how <code>index.qmd</code> is rendered as <code>Home</code> in my website’s navbar).</span>
963+
<span data-code-cell="annotated-cell-5" data-code-annotation="1" data-code-lines="13">A newly-added navbar page. <strong>Note:</strong> The page name, as it appears in the navbar of your website, will be the same as whatever is listed in the <code>title</code> field of that file’s yaml. For example, I have set <code>title: "All my favorite resources!"</code> in the yaml of <code>resources.qmd</code> – this is how it will appear in my website’s navbar. If you’d like the page name to appear differently in the navbar, use the <code>href</code> and <code>text</code> options together (e.g.&nbsp;see how <code>index.qmd</code> is rendered as <code>Home</code> in my website’s navbar).</span>
962964
</dd>
963965
</dl>
964966
<div class="cell" data-layout-align="center">

sections/7-change-stuff.qmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ about:
5656
- text: Email # <4>
5757
href: mailto:scsik@ucsb.edu # <4>
5858
---
59+
60+
# page content excluded for brevity ~
5961
```
6062
1. add a photo by supplying a file path & image name (here, `headshot.jpg` lives in my repo's root directory)
6163
2. use a [pre-built template](https://quarto.org/docs/websites/website-about.html#templates) (here, `trestles`) to update the layout of your landing page (or any page!)

0 commit comments

Comments
 (0)