├── .gitignore ├── CNAME ├── LICENSE ├── README.md ├── _config.yml ├── _css └── main.scss ├── _data ├── lectures.yml └── menu.yml ├── _images ├── fabulous-sylvester.jpg ├── snapshot.png ├── stand-and-deliver-crop.jpg ├── stand-and-deliver-fb.jpg └── stand-and-deliver.jpg ├── _includes ├── embedpdf.html ├── footer.html ├── head.html ├── header.html ├── image.html └── nav.html ├── _layouts ├── class.html ├── default.html ├── page.html └── post.html ├── _posts └── 2015-08-16-welcome-to-jekyll.md ├── _sass ├── _base.scss ├── _fancy-image.scss ├── _header.scss ├── _layout.scss ├── _mobile-header.scss └── _syntax-highlighting.scss ├── blog.md ├── course-materials.md ├── feed.xml ├── index.html ├── lectures.md ├── sitemap.xml ├── syllabus └── svm-rmarkdown-syllabus-example.pdf └── untitled-lecture ├── Untitled.Rmd └── Untitled.pdf /.gitignore: -------------------------------------------------------------------------------- 1 | _site 2 | .sass-cache 3 | -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | course-website.svmiller.com -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Steven V. Miller 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Steve's No-Good-Very-Bad Course Website Jekyll Template 2 | ======================================================= 3 | 4 | This repository contains a Jekyll template, patterned entirely off my no-good-very-bad Jekyll Template at [svmiller.com](http://svmiller.com), for organizing a course website. I should note that because I ganked it from my website template, there's a lot of empty tags in the template that make reference to things that don't appear in the main `.yml` file. In other words, they reference things that should be there but, because they're not there, ultimately won't interfere with how the site renders. 5 | 6 | 7 | ## Installation 8 | 9 | This assumes that you have a working installation of Jekyll. If you don't, first visit [Jekyll's documentation](https://jekyllrb.com/docs/installation/) to learn how to. 10 | 11 | 1. [Fork this repo](https://github.com/svmiller/course-website) and clone it locally. 12 | 13 | ```bash 14 | cd ~/Sites/ 15 | 16 | git clone https://github.com/YOUR_USER_NAME/course-website.git 17 | 18 | ``` 19 | 20 | 2. Create a new empty theme with Jekyll 21 | 22 | ```bash 23 | cd ~/Sites/ 24 | 25 | jekyll new-theme ipa 26 | 27 | create ~/Sites/ipa/assets 28 | create ~/Sites/ipa/_layouts 29 | create ~/Sites/ipa/_includes 30 | create ~/Sites/ipa/_sass 31 | create ~/Sites/ipa/_layouts/page.html 32 | create ~/Sites/ipa/_layouts/post.html 33 | create ~/Sites/ipa/_layouts/default.html 34 | create ~/Sites/ipa/Gemfile 35 | create ~/Sites/ipa/ipa.gemspec 36 | create ~/Sites/ipa/README.md 37 | create ~/Sites/ipa/LICENSE.txt 38 | initialize ~/Sites/ipa/.git 39 | create ~/Sites/ipa/.gitignore 40 | Your new Jekyll theme, ipa, is ready for you in ~/Sites/ipa! 41 | For help getting started, read ~/Sites/ipa/README.md. 42 | 43 | 44 | ``` 45 | 46 | 3. Open the ``ipa.gemspec`` file and edit it as follows: 47 | 48 | ```bash 49 | spec.summary = "WRITE A SHORT SUMMARY OF YOUR THEME" 50 | spec.homepage = "http://address.com" 51 | 52 | ### Update the following two version numbers as per what's on your system. 53 | spec.add_development_dependency "bundler", "~> 2.0.1" 54 | spec.add_development_dependency "rake", "~> 12.3.2" 55 | 56 | ``` 57 | 58 | 4. Run ``bundle install`` inside ``~/Sites/ipa/``. This should run successfully and install all the necessary gems. It will also create a ``Gemfile`` and a ``Gemfile.lock`` inside your project. 59 | 60 | 5. Now we are ready to migrate necessary theme files from ``~/Sites/course-website/`` to ``~/Sites/ipa/``. Copy the following files and folders. If a folder already exists (e.g. ``_includes``), just copy files inside. If a file already exists, overwrite it. 61 | 62 | ```bash 63 | _config.yml 64 | _css/ 65 | _data/ 66 | _images/ 67 | _includes/ 68 | _layouts/ 69 | _posts/ 70 | _sass/ 71 | _site/ 72 | assets/ 73 | blog.md 74 | CNAME 75 | course-materials.md 76 | feed.xml 77 | index.html 78 | lectures.md 79 | LICENSE.txt 80 | README.md 81 | sitemap.xml 82 | syllabus/ 83 | untitled-lecture/ 84 | 85 | ``` 86 | 87 | 6. Edit ``_config.yml`` to customize site details. Then fire up ``jekyll serve``. You may need to do ``bundle exec jekyll serve`` instead, if you have a separate Ruby installation for Jekyll's purposes. The site template should be only at ``http://localhost:4000`` now. 88 | 89 | 7. Follow the remaining directions below to fully customize your site. 90 | 91 | Here are the things you should tweak to make it your own: 92 | 93 | - `_config.yml`. Naturally. This should be familiar if you're accustomed to Jekyll. Do note, for convenience, that I made the `syllabus` field a full URL entry. You should also fill out the `githubdir` field since the goal is to make your course (and, by extension, the knowledge you propose to communicate) open source and reproducible on Github. Let us know where it is. 94 | - `course-materials.md`: Fudge this to add in helpful information about your course (e.g. the book and whatever else you want to communicate). 95 | - `index.html`: You won't need to edit much but, if you want your own lead image for your course website that's *not* from *Stand and Deliver* (I don't know why you would do this, but, hey, it's your class...), edit that Jekyll liquid tag I created that embeds images in my spiffy way. This should be intuitive. Just specify a relative path for the image you want to use, how wide you want it to be, and whatever caption you want to add to it. 96 | - `_data/lectures.yml`: This uses YAML data to render Github and local links to lectures. This should be straightforward (see my example file) but [feel free to look at this tutorial](https://jekyllrb.com/docs/datafiles/) if you want to better understand what's happening here. You could also edit `lectures.md` if, for example, you render your lectures to HTML in lieu of PDF. I do PDF. Changing this isn't hard, though, and should be straightforward. Basically, change ".pdf" to ".html" as you see it and then, probably, find a nice icon for HTML on [Font Awesome](https://fontawesome.com/). 97 | - `_includes/nav.html`: You won't have to tweak this, per se, but you may want to if, for example, you want to add a course blog. I don't do that, but I do prove a `blog.md` file. Head to [Font Awesome](https://fontawesome.com/) if you're looking for the perfect icon to go with it. 98 | - `CNAME`: Adding a special domain or subdomain to your course website? Change it here. Is its own Github page on a special account you created on Github (but you're *not* using a special domain on top of that [[example](https://github.com/uw-csss-564)])? Delete it. 99 | 100 | You can see a snapshot of what it looks like below. You can also try it out here: [http://course-website.svmiller.com/](http://course-website.svmiller.com/) 101 | 102 | ![Snapshot](_images/snapshot.png) 103 | 104 | Feel free to contact me at svmille@clemson.edu. Send along some cheers too if you find it useful. 105 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | # Site settings 2 | title: Course Website 3 | subtitle: Title of the Course 4 | description: | 5 | Add a description of your course. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 6 | Etiam fermentum massa id justo varius, vitae blandit nibh aliquet. 7 | Nam consequat accumsan massa id lacinia. Proin ac placerat neque. Vivamus ornare eget tortor ac tincidunt. 8 | Mauris semper viverra dui in molestie. Proin bibendum metus orci, quis sollicitudin ligula pretium non. 9 | Integer nec lacus eget neque laoreet semper. Pellentesque eu dolor rutrum, consectetur enim nec, fermentum odio. 10 | Duis venenatis metus cursus, ultrices nulla in, dapibus urna. Fusce pellentesque eros sed justo viverra ultricies. 11 | Morbi porttitor dui ut erat congue accumsan. Donec eget turpis quam. Nam quis lobortis nisl. 12 | Pellentesque varius tincidunt purus, dictum sodales leo suscipit quis. 13 | Proin ullamcorper tristique nisi, quis hendrerit turpis. Donec non congue velit. 14 | Praesent accumsan odio egestas, mollis lorem eget, euismod arcu. 15 | baseurl: "" # the subpath of your site, e.g. /blog/ 16 | url: "http://course-website.svmiller.com" # the base hostname & protocol for your site 17 | syllabus: "https://github.com/svmiller/svm-r-markdown-templates/blob/master/syllabus-example/svm-rmarkdown-syllabus-example.pdf" 18 | githubdir: "svmiller/course-website" 19 | 20 | # Author/user information 21 | email: svmille@clemson.edu 22 | twitter_username: stevenvmiller 23 | github_username: svmiller 24 | authorurl: "http://svmiller.com" 25 | address: | 26 | Department of Political Science 27 | 232 Brackett Hall 28 | Clemson, SC 29634-1354 29 | 30 | 31 | # Build settings 32 | markdown: kramdown 33 | 34 | # Other options 35 | permalink: blog/:year/:month/:title 36 | excerpt_separator: "" 37 | 38 | include: ['_images', '_css'] 39 | 40 | # SEO stuff 41 | # google_author: "" 42 | # google_site_verification: "" 43 | # bing_webmastertools_id: "" 44 | -------------------------------------------------------------------------------- /_css/main.scss: -------------------------------------------------------------------------------- 1 | --- 2 | # Only the main Sass file needs front matter (the dashes are enough) 3 | --- 4 | @charset "utf-8"; 5 | 6 | 7 | 8 | // Our variables 9 | $base-font-family: 'Open Sans', Helvetica, Arial, sans-serif; 10 | $base-font-size: .95em; 11 | $small-font-size: $base-font-size * 0.875; 12 | $base-line-height: 1.5; 13 | 14 | $spacing-unit: 30px; 15 | 16 | $text-color: #111; 17 | $background-color: #fdfdfd; 18 | $brand-color: #0077CC; 19 | // $gameday-sky: #109dc0; 20 | $clemson-purple: #522d80; 21 | $clemson-orange: #f66733; 22 | 23 | 24 | $grey-color: #828282; 25 | $grey-color-light: lighten($grey-color, 40%); 26 | $grey-color-dark: darken($grey-color, 25%); 27 | 28 | 29 | // Width of the content area 30 | $content-width: 950px; 31 | 32 | $on-palm: 600px; 33 | $on-laptop: 950px; 34 | 35 | 36 | 37 | // Using media queries with like this: 38 | // @include media-query($on-palm) { 39 | // .wrapper { 40 | // padding-right: $spacing-unit / 2; 41 | // padding-left: $spacing-unit / 2; 42 | // } 43 | // } 44 | @mixin media-query($device) { 45 | @media screen and (max-width: $device) { 46 | @content; 47 | } 48 | } 49 | 50 | 51 | 52 | // Import partials from `sass_dir` (defaults to `_sass`) 53 | @import 54 | "header", 55 | "mobile-header", 56 | "base", 57 | "layout", 58 | "syntax-highlighting", 59 | "fancy-image" 60 | ; 61 | -------------------------------------------------------------------------------- /_data/lectures.yml: -------------------------------------------------------------------------------- 1 | - title: "Sample .Rmd File" 2 | filename: Untitled 3 | dirname: untitled-lecture 4 | tldr: "This is just a sample .rmd file to illustrate the use of the lectures.yml file." -------------------------------------------------------------------------------- /_data/menu.yml: -------------------------------------------------------------------------------- 1 | - title: "About" 2 | href: "/about/" 3 | 4 | - title: "Blog" 5 | href: "/blog/" 6 | 7 | - title: "CV" 8 | href: "/cv/" 9 | 10 | - title: "Miscellany" 11 | href: "/miscellany/" 12 | subcategories: 13 | - subtitle: "Item 1" 14 | subhref: "/miscellany/item-1/" 15 | - subtitle: "Item 2" 16 | subhref: "/miscellany/item-2/" 17 | -------------------------------------------------------------------------------- /_images/fabulous-sylvester.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svmiller/course-website/7f84bc964a6fbe5a47d46836729faca0f40afaa8/_images/fabulous-sylvester.jpg -------------------------------------------------------------------------------- /_images/snapshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svmiller/course-website/7f84bc964a6fbe5a47d46836729faca0f40afaa8/_images/snapshot.png -------------------------------------------------------------------------------- /_images/stand-and-deliver-crop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svmiller/course-website/7f84bc964a6fbe5a47d46836729faca0f40afaa8/_images/stand-and-deliver-crop.jpg -------------------------------------------------------------------------------- /_images/stand-and-deliver-fb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svmiller/course-website/7f84bc964a6fbe5a47d46836729faca0f40afaa8/_images/stand-and-deliver-fb.jpg -------------------------------------------------------------------------------- /_images/stand-and-deliver.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svmiller/course-website/7f84bc964a6fbe5a47d46836729faca0f40afaa8/_images/stand-and-deliver.jpg -------------------------------------------------------------------------------- /_includes/embedpdf.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /_includes/footer.html: -------------------------------------------------------------------------------- 1 | 77 | -------------------------------------------------------------------------------- /_includes/head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {% if page.title %}{{ site.title }}: {{ page.title }}{% else %}{{ site.title }}: {{ site.subtitle }}{% endif %} 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | {% if site.google_author %}{% endif %} 16 | {% if site.google_site_verification %}{% endif %} 17 | {% if site.bing_webmastertools_id %}{% endif %} 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /_includes/header.html: -------------------------------------------------------------------------------- 1 | 51 | -------------------------------------------------------------------------------- /_includes/image.html: -------------------------------------------------------------------------------- 1 |
2 | 3 |
{{ include.caption }}
4 | 5 |
{{ include.caption }}
6 |
7 | -------------------------------------------------------------------------------- /_includes/nav.html: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /_layouts/class.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | 5 | 6 |
7 |

{{ page.title }}

8 |
9 | 10 |
11 |
12 | {{ content }} 13 |
14 | 15 |
16 | 17 |
18 | 19 | {% include_relative {{page.path | remove:'.md' | remove: 'teaching' | append:'-course-materials.md'}} %} 20 | 21 |
22 | -------------------------------------------------------------------------------- /_layouts/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {% include head.html %} 5 | 6 | 7 | 8 | {% include header.html %} 9 | 10 |
11 |
12 | {{ content }} 13 |
14 |
15 | 16 | {% include footer.html %} 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /_layouts/page.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 |
5 | 6 |
7 |

{{ page.title }}

8 |
9 | 10 |
11 | {{ content }} 12 |
13 | 14 |
15 | -------------------------------------------------------------------------------- /_layouts/post.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 |
5 | 6 |
7 |

{{ page.title }}

8 | 17 |
18 | 19 |
20 | {{ content }} 21 |
22 | 23 |
24 | -------------------------------------------------------------------------------- /_posts/2015-08-16-welcome-to-jekyll.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "Welcome to Jekyll!" 4 | date: 2015-08-16 15:36:27 5 | categories: jekyll update 6 | --- 7 | You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. 8 | 9 | To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works. 10 | 11 | Jekyll also offers powerful support for code snippets: 12 | 13 | {% highlight ruby %} 14 | def print_hi(name) 15 | puts "Hi, #{name}" 16 | end 17 | print_hi('Tom') 18 | #=> prints 'Hi, Tom' to STDOUT. 19 | {% endhighlight %} 20 | 21 | Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll’s dedicated Help repository][jekyll-help]. 22 | 23 | [jekyll]: http://jekyllrb.com 24 | [jekyll-gh]: https://github.com/jekyll/jekyll 25 | [jekyll-help]: https://github.com/jekyll/jekyll-help 26 | -------------------------------------------------------------------------------- /_sass/_base.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Reset some basic elements 3 | */ 4 | body, h1, h2, h3, h4, h5, h6, 5 | p, blockquote, pre, hr, 6 | dl, dd, ol, ul, figure { 7 | margin: 0; 8 | padding: 0; 9 | } 10 | 11 | 12 | 13 | /** 14 | * Basic styling 15 | */ 16 | body { 17 | font-family: $base-font-family; 18 | font-size: $base-font-size; 19 | line-height: $base-line-height; 20 | font-weight: 300; 21 | color: $text-color; 22 | background-color: $background-color; 23 | -webkit-text-size-adjust: 100%; 24 | } 25 | 26 | 27 | 28 | 29 | /** 30 | * Set `margin-bottom` to maintain vertical rhythm 31 | */ 32 | h1, h2, h3, h4, h5, h6, 33 | p, blockquote, pre, 34 | ul, ol, dl, figure, 35 | %vertical-rhythm { 36 | margin-bottom: $spacing-unit / 2; 37 | } 38 | 39 | 40 | 41 | /** 42 | * Images 43 | */ 44 | img { 45 | max-width: 100%; 46 | vertical-align: middle; 47 | } 48 | 49 | 50 | 51 | /** 52 | * Figures 53 | */ 54 | figure > img { 55 | display: block; 56 | } 57 | 58 | figcaption { 59 | font-size: $small-font-size; 60 | } 61 | 62 | 63 | 64 | /** 65 | * Lists 66 | */ 67 | ul, ol { 68 | margin-left: $spacing-unit; 69 | } 70 | 71 | li { 72 | > ul, 73 | > ol { 74 | margin-bottom: 0; 75 | } 76 | } 77 | 78 | 79 | 80 | /** 81 | * Headings 82 | */ 83 | h1, h2, h3, h4, h5, h6 { 84 | font-weight: 200; 85 | } 86 | 87 | 88 | 89 | /** 90 | * Links 91 | */ 92 | a { 93 | color: $brand-color; 94 | text-decoration: none; 95 | 96 | &:visited { 97 | /* color: darken($brand-color, 15%); */ 98 | } 99 | 100 | &:hover { 101 | color: $text-color; 102 | text-decoration: underline; 103 | } 104 | } 105 | 106 | /* .post-content a, .home a { 107 | font-weight: 500; 108 | } */ 109 | 110 | /** 111 | * Blockquotes 112 | */ 113 | blockquote { 114 | color: $grey-color; 115 | border-left: 4px solid $grey-color-light; 116 | padding-left: $spacing-unit / 2; 117 | font-size: 18px; 118 | letter-spacing: -1px; 119 | font-style: italic; 120 | 121 | > :last-child { 122 | margin-bottom: 0; 123 | } 124 | } 125 | 126 | 127 | 128 | /** 129 | * Code formatting 130 | */ 131 | pre, 132 | code { 133 | font-size: 14px; 134 | border: 1px solid $grey-color-light; 135 | border-radius: 3px; 136 | background-color: #eef; 137 | } 138 | 139 | code { 140 | padding: 1px 5px; 141 | } 142 | 143 | pre { 144 | padding: 8px 12px; 145 | overflow-x: scroll; 146 | 147 | > code { 148 | border: 0; 149 | padding-right: 0; 150 | padding-left: 0; 151 | } 152 | } 153 | 154 | 155 | 156 | /** 157 | * Wrapper 158 | */ 159 | .wrapper { 160 | max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2)); 161 | max-width: calc(#{$content-width} - (#{$spacing-unit} * 2)); 162 | margin-right: auto; 163 | margin-left: auto; 164 | padding-right: $spacing-unit; 165 | padding-left: $spacing-unit; 166 | @extend %clearfix; 167 | 168 | @include media-query($on-laptop) { 169 | max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit})); 170 | max-width: calc(#{$content-width} - (#{$spacing-unit})); 171 | padding-right: $spacing-unit / 2; 172 | padding-left: $spacing-unit / 2; 173 | } 174 | } 175 | 176 | 177 | 178 | /** 179 | * Clearfix 180 | */ 181 | %clearfix { 182 | 183 | &:after { 184 | content: ""; 185 | display: table; 186 | clear: both; 187 | } 188 | } 189 | 190 | 191 | 192 | /** 193 | * Icons 194 | */ 195 | .icon { 196 | 197 | > svg { 198 | display: inline-block; 199 | width: 16px; 200 | height: 16px; 201 | vertical-align: middle; 202 | 203 | path { 204 | fill: $grey-color; 205 | } 206 | } 207 | } 208 | 209 | 210 | 211 | a.tosu { 212 | color: #b00000; 213 | background: #f5f5f5; 214 | text-decoration: none; 215 | padding: 2px; 216 | font-weight: 600; 217 | font-family: 'Capita', Georgia, serif; 218 | } 219 | 220 | 221 | -------------------------------------------------------------------------------- /_sass/_fancy-image.scss: -------------------------------------------------------------------------------- 1 | .wp-caption { 2 | background-color: #f3f3f3; 3 | text-align: center; 4 | border: 1px dotted $clemson-purple; 5 | font-size: 0.90em; 6 | overflow: hidden; 7 | position: relative; 8 | 9 | } 10 | 11 | .wp-caption dd { 12 | color: #000000; 13 | background-color: #f3f3f3; 14 | font-size: .9em; 15 | padding: 2px 8px 3px 8px; 16 | margin: 1px 0 0 0; 17 | } 18 | 19 | .wp-caption dt { 20 | margin: 0; 21 | } 22 | 23 | .wp-caption img { 24 | display: block; 25 | margin: 0; 26 | padding: 0; 27 | border: 0; 28 | } 29 | 30 | 31 | .alignleft, 32 | .alignright { 33 | margin-top: 4px; 34 | } 35 | .alignleft { 36 | float: left; 37 | margin-right: 20px; 38 | margin-bottom: 15px; 39 | } 40 | .alignright { 41 | float: right; 42 | margin-left: 20px; 43 | margin-bottom: 15px; 44 | } 45 | .aligncenter { 46 | display: block; 47 | margin-left: auto; 48 | margin-right: auto; 49 | } 50 | -------------------------------------------------------------------------------- /_sass/_header.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Site header 3 | */ 4 | .site-header { 5 | border-top: 0px solid $grey-color-dark; 6 | border-bottom: 4px solid $clemson-orange; 7 | min-height: 56px; 8 | background: $clemson-purple; 9 | // Positioning context for the mobile navigation icon 10 | position: relative; 11 | 12 | } 13 | 14 | .site-title { 15 | font-size: 26px; 16 | /* margin-top: 15px; 17 | line-height: 40px; */ 18 | letter-spacing: -1px; 19 | margin-bottom: 0; 20 | float: left; 21 | font-weight: 500; 22 | font-family: 'Titillium Web', sans-serif; 23 | color: #ffffff; 24 | &, 25 | &:visited { 26 | color: #ffffff; 27 | } 28 | &, 29 | &:hover { 30 | text-decoration: none; 31 | } 32 | } 33 | 34 | .site-header .wrapper { 35 | padding-top: 20px; 36 | position: relative; 37 | } 38 | 39 | .site-nav ul li a { 40 | color: #fff; 41 | } 42 | 43 | .site-nav ul { 44 | 45 | text-align: right; 46 | float: right; 47 | padding-top: 9px; 48 | font-size: 85%; 49 | letter-spacing: 1px; 50 | line-height: 1em; 51 | font-weight: 600; 52 | margin: 0; 53 | padding: 0; 54 | list-style-type: none; 55 | text-transform: uppercase; 56 | font-family: 'Titillium Web', sans-serif; 57 | 58 | } 59 | 60 | .site-nav .menu > li { 61 | border-bottom: 3px solid transparent; 62 | display: inline-block; 63 | height: 23px; 64 | line-height: normal; 65 | margin: 12px 0 0 20px; 66 | padding: 0 0 2px 0; 67 | position: relative; 68 | vertical-align: top; 69 | } 70 | 71 | .site-nav a { 72 | display: block; 73 | color: #ffffff; 74 | } 75 | 76 | /* Sub Menu */ 77 | 78 | .site-nav .sub-menu a { 79 | display: block; 80 | font-weight: normal; 81 | height: auto; 82 | letter-spacing: 0; 83 | line-height: 1.2em; 84 | padding: 4px 10px; 85 | color: #522d80; 86 | 87 | } 88 | 89 | .site-nav .sub-menu a:hover { 90 | color: $clemson-purple; 91 | } 92 | .site-nav .sub-menu { 93 | background: #ffffff; 94 | border-color: $clemson-purple; 95 | min-width: 265px; 96 | 97 | z-index:2147483647; 98 | } 99 | .site-nav .sub-menu li.current-menu-item > a { 100 | border-left-color: $clemson-purple; 101 | border-right-color: $clemson-purple; 102 | border-right: 0px; 103 | 104 | } 105 | 106 | 107 | .sub-menu { 108 | border: 3px solid transparent; 109 | border-top: 0; 110 | /* bg and border colors set in header */ 111 | box-shadow: 0 2px 2px rgba(0,0,0,0.4); 112 | -moz-box-shadow: 0 2px 2px rgba(0,0,0,0.4); 113 | -webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.4); 114 | display: none; 115 | right: -10px; 116 | padding: 4px 0 3px 0; 117 | position: absolute; 118 | text-align: left; 119 | text-transform: none; 120 | top: 28px; 121 | min-width: 265px; 122 | 123 | z-index:999; 124 | font-family: Helvetica, Arial, Verdana, sans-serif; 125 | 126 | } 127 | 128 | .sub-menu li { 129 | border-bottom: 0; 130 | display: block; 131 | height: auto; 132 | margin: 3px 0; 133 | padding: 0; 134 | text-align: left; 135 | } 136 | 137 | .site-nav li:hover > .sub-menu { 138 | display: block; 139 | } 140 | 141 | 142 | 143 | .site-nav h1 { 144 | position: absolute; 145 | left: -999em; 146 | } 147 | 148 | 149 | .site-nav { 150 | float: right; 151 | line-height: 40px; 152 | 153 | 154 | .menu-icon { 155 | display: none; 156 | } 157 | 158 | .page-link { 159 | color: #ffffff; 160 | background: $clemson-purple; 161 | line-height: $base-line-height; 162 | 163 | // Gaps between nav items, but not on the first one 164 | &:not(:first-child) { 165 | margin-left: 20px; 166 | } 167 | } 168 | 169 | 170 | 171 | @include media-query($on-palm) { 172 | position: absolute; 173 | top: 9px; 174 | right: 30px; 175 | background-color: $background-color; 176 | border: 1px solid $grey-color-light; 177 | border-radius: 5px; 178 | text-align: right; 179 | 180 | .menu-icon { 181 | display: block; 182 | float: right; 183 | width: 36px; 184 | height: 26px; 185 | line-height: 0; 186 | padding-top: 10px; 187 | text-align: center; 188 | 189 | > svg { 190 | width: 18px; 191 | height: 15px; 192 | 193 | path { 194 | fill: $grey-color-dark; 195 | } 196 | } 197 | } 198 | 199 | .trigger { 200 | clear: both; 201 | display: none; 202 | } 203 | 204 | &:hover .trigger { 205 | display: block; 206 | padding-bottom: 5px; 207 | } 208 | 209 | .page-link { 210 | display: block; 211 | padding: 5px 10px; 212 | } 213 | } 214 | } 215 | 216 | 217 | -------------------------------------------------------------------------------- /_sass/_layout.scss: -------------------------------------------------------------------------------- 1 | 2 | 3 | /* .site-nav { 4 | float: right; 5 | line-height: 40px; 6 | margin-top: 15px; 7 | 8 | .menu-icon { 9 | display: none; 10 | } 11 | 12 | .page-link { 13 | color: #ffffff; 14 | background: #f66733; 15 | line-height: $base-line-height; 16 | 17 | // Gaps between nav items, but not on the first one 18 | &:not(:first-child) { 19 | margin-left: 20px; 20 | } 21 | } 22 | 23 | 24 | 25 | @include media-query($on-palm) { 26 | position: absolute; 27 | top: 9px; 28 | right: 30px; 29 | background-color: $background-color; 30 | border: 1px solid $grey-color-light; 31 | border-radius: 5px; 32 | text-align: right; 33 | 34 | .menu-icon { 35 | display: block; 36 | float: right; 37 | width: 36px; 38 | height: 26px; 39 | line-height: 0; 40 | padding-top: 10px; 41 | text-align: center; 42 | 43 | > svg { 44 | width: 18px; 45 | height: 15px; 46 | 47 | path { 48 | fill: $grey-color-dark; 49 | } 50 | } 51 | } 52 | 53 | .trigger { 54 | clear: both; 55 | display: none; 56 | } 57 | 58 | &:hover .trigger { 59 | display: block; 60 | padding-bottom: 5px; 61 | } 62 | 63 | .page-link { 64 | display: block; 65 | padding: 5px 10px; 66 | } 67 | } 68 | } 69 | */ 70 | 71 | 72 | 73 | /** 74 | * Site footer 75 | */ 76 | .site-footer { 77 | border-top: 1px solid $grey-color-light; 78 | padding: $spacing-unit 0; 79 | } 80 | 81 | .footer-heading { 82 | font-size: 18px; 83 | margin-bottom: $spacing-unit / 2; 84 | } 85 | 86 | .contact-list, 87 | .social-media-list { 88 | list-style: none; 89 | margin-left: 0; 90 | } 91 | 92 | .footer-col-wrapper { 93 | font-size: 15px; 94 | color: $grey-color; 95 | margin-left: -$spacing-unit / 2; 96 | @extend %clearfix; 97 | } 98 | 99 | .footer-col { 100 | float: left; 101 | margin-bottom: $spacing-unit / 2; 102 | padding-left: $spacing-unit / 2; 103 | } 104 | 105 | .footer-col-1 { 106 | width: -webkit-calc(25% - (#{$spacing-unit} / 2)); 107 | width: calc(25% - (#{$spacing-unit} / 2)); 108 | } 109 | 110 | .footer-col-2 { 111 | width: -webkit-calc(50% - (#{$spacing-unit} / 2)); 112 | width: calc(50% - (#{$spacing-unit} / 2)); 113 | } 114 | 115 | .footer-col-3 { 116 | width: -webkit-calc(25% - (#{$spacing-unit} / 2)); 117 | width: calc(25% - (#{$spacing-unit} / 2)); 118 | } 119 | 120 | @include media-query($on-laptop) { 121 | .footer-col-1, 122 | .footer-col-2 { 123 | width: -webkit-calc(50% - (#{$spacing-unit} / 2)); 124 | width: calc(50% - (#{$spacing-unit} / 2)); 125 | } 126 | 127 | .footer-col-3 { 128 | width: -webkit-calc(100% - (#{$spacing-unit} / 2)); 129 | width: calc(100% - (#{$spacing-unit} / 2)); 130 | } 131 | } 132 | 133 | @include media-query($on-palm) { 134 | .footer-col { 135 | float: none; 136 | width: -webkit-calc(100% - (#{$spacing-unit} / 2)); 137 | width: calc(100% - (#{$spacing-unit} / 2)); 138 | } 139 | } 140 | 141 | 142 | 143 | /** 144 | * Page content 145 | */ 146 | .page-content { 147 | padding: $spacing-unit 0; 148 | } 149 | 150 | .page-heading { 151 | font-size: 20px; 152 | } 153 | 154 | .post-list { 155 | margin-left: 0; 156 | list-style: none; 157 | 158 | > li { 159 | margin-bottom: $spacing-unit; 160 | } 161 | } 162 | 163 | .post-meta { 164 | font-size: $small-font-size; 165 | color: $grey-color; 166 | } 167 | 168 | .post-link { 169 | display: block; 170 | font-size: 24px; 171 | } 172 | 173 | 174 | 175 | /** 176 | * Posts 177 | */ 178 | .post-header { 179 | margin-bottom: $spacing-unit; 180 | } 181 | 182 | h1 /* .post-title */ { 183 | /* font-size: 42px; */ 184 | letter-spacing: -1px; 185 | line-height: 1; 186 | font-family: 'Titillium Web', sans-serif; 187 | color: #522d80; 188 | 189 | @include media-query($on-laptop) { 190 | /* font-size: 36px; */ 191 | } 192 | } 193 | 194 | .post-content { 195 | margin-bottom: $spacing-unit; 196 | 197 | h2 { 198 | font-family: 'Titillium Web', sans-serif; 199 | font-weight: 500; 200 | /* font-size: 32px; */ 201 | 202 | @include media-query($on-laptop) { 203 | /* font-size: 28px; */ 204 | } 205 | } 206 | 207 | h3 { 208 | font-style: italic; 209 | /* font-size: 26px; */ 210 | 211 | @include media-query($on-laptop) { 212 | /* font-size: 22px; */ 213 | } 214 | } 215 | 216 | h4 { 217 | /* font-size: 20px; */ 218 | 219 | @include media-query($on-laptop) { 220 | /* font-size: 18px; */ 221 | } 222 | } 223 | } 224 | 225 | .footnotes ol li {list-style-type:decimal;} 226 | .footnotes ol {font-size:.85em; color:#666666;} 227 | 228 | html { 229 | overflow-y: scroll; 230 | } 231 | 232 | ul.listing { 233 | list-style-type: none; 234 | margin-left: 0px; 235 | } 236 | 237 | ul.listing li.listing-seperator { 238 | padding-top: 15px; 239 | font-weight: bold; 240 | font-family: 'Titillium Web', sans-serif; 241 | font-size: 1.17em; 242 | } 243 | 244 | ul.listing li.listing-item time { 245 | 246 | color: #333; 247 | font-weight: 500; 248 | text-transform: uppercase; 249 | padding-right: 10px; 250 | } 251 | 252 | ul.listing li.listing-item a { 253 | color: $clemson-purple; 254 | font-weight: 400; 255 | font-family: 'Titillium Web', sans-serif; 256 | } 257 | 258 | 259 | /*------ archive type stuff ------ */ 260 | 261 | ul#archive { 262 | list-style-type: none; 263 | margin: 0 0 1em 0; 264 | padding: 0; 265 | } 266 | 267 | ul#archive li { 268 | border-top: #999 1px dotted; 269 | border-bottom: #999 1px dotted; 270 | padding: .1em 0 .1em .5em; 271 | } 272 | 273 | ul#archive li:nth-child(even) { background: #f3f3f3; } 274 | ul#archive li:nth-child(odd) { background: #fdfdfd; } 275 | 276 | 277 | ul#archive h2 { 278 | padding-top: .5em } 279 | 280 | ul#archive li.alt { 281 | background: #f6f6f6; 282 | } 283 | 284 | .archiveposturl { 285 | display: block; 286 | 287 | color: #333; 288 | } 289 | 290 | .archiveposturl:hover { 291 | 292 | } 293 | 294 | ul#archive li span a { 295 | color: $clemson-purple; 296 | font-weight: bold; 297 | font-family: 'Titillium Web', sans-serif; 298 | } 299 | 300 | 301 | ul#archive li span.postlower { 302 | font-size: 85% 303 | 304 | } 305 | 306 | ul#archive li span.postlower a { 307 | color: #07c; 308 | font-weight: normal; 309 | font-family: "Open Sans", Helvetica, Arial, sans-serif; 310 | 311 | } 312 | 313 | article ul { 314 | list-style-type: none; 315 | } 316 | 317 | article ul > li:before { 318 | content: "–"; /* en dash */ 319 | position: absolute; 320 | margin-left: -1.1em; 321 | } 322 | 323 | article ul#archive > li:before { 324 | list-style-type: none; 325 | content: none; 326 | } 327 | 328 | 329 | /* ul#archive li span { 330 | color: #000; 331 | font-size: 85%; 332 | } 333 | 334 | 335 | 336 | ul#archive li span a:hover { 337 | border-bottom: #bdbdbd 1px solid; 338 | } */ 339 | -------------------------------------------------------------------------------- /_sass/_mobile-header.scss: -------------------------------------------------------------------------------- 1 | @media only screen and (max-width: 600px) { 2 | 3 | .site-nav h1 { 4 | border-bottom: 3px solid transparent; 5 | cursor: pointer; 6 | display: none; /* Standard. IE8+, Saf, FF3+ */ 7 | height: 23px; 8 | left: auto; 9 | margin-top: 10px; 10 | position: static; 11 | white-space: nowrap; 12 | } 13 | 14 | .site-nav .menu { 15 | border: 3px solid transparent; 16 | border-top: 0; 17 | /* bg and border colors set in header */ 18 | -moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.8); 19 | -webkit-box-shadow: 0px 2px 2px rgba(0,0,0,0.8); 20 | box-shadow: 0px 2px 2px rgba(0,0,0,0.8); 21 | /* Hide until activated */ 22 | display: block; 23 | left: -3px; 24 | min-width: 215px; 25 | /* margin-top: 36px; */ 26 | padding: 4px 0; 27 | position: relative; 28 | right: -3px; 29 | z-index: 999; 30 | } 31 | 32 | 33 | .site-nav .menu.open { 34 | display: block; 35 | } 36 | 37 | .site-nav .menu li { 38 | display: block; 39 | margin: 0; 40 | color: #522d80; 41 | } 42 | 43 | .site-nav ul.menu a { 44 | background: #fff; 45 | color: #522d80; 46 | 47 | } 48 | 49 | .site-nav a, 50 | .site-nav li.current-menu-item > a { 51 | padding: 4px 10px; 52 | } 53 | 54 | .site-nav .menu > li { 55 | height: auto; 56 | text-align: left; 57 | } 58 | 59 | .site-nav .sub-menu { 60 | border: 0; 61 | -moz-box-shadow: none; /* FF3.5+ */ 62 | -webkit-box-shadow: none; /* Saf3+, Chrome */ 63 | box-shadow: none; /* Standard. Opera 10.5, IE9 */ 64 | display: block; 65 | font-family: 'Titillium Web', Helvetica, Arial, Verdana, sans-serif; 66 | position: relative; 67 | min-width: 215px; 68 | max-width: 215px; 69 | top: auto; 70 | text-transform: uppercase; 71 | right: auto; 72 | width: auto; 73 | } 74 | 75 | .site-nav .sub-menu { 76 | padding-left: 16px; 77 | } 78 | .site-nav .sub-menu li.current-menu-item > a { 79 | border: 0; 80 | } 81 | 82 | } 83 | 84 | -------------------------------------------------------------------------------- /_sass/_syntax-highlighting.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Syntax highlighting styles 3 | */ 4 | .highlight code, .highlight pre, .highlighter-rouge code, .highlighter-rouge pre { 5 | color:#fdce93; 6 | background-color:#3f3f3f; 7 | } 8 | 9 | .highlight .hll { 10 | background-color:#222; 11 | } 12 | 13 | .highlight .err { 14 | color:#e37170; 15 | background-color:#3d3535; 16 | } 17 | 18 | .highlight .k { 19 | color:#f0dfaf; 20 | } 21 | 22 | .highlight .p { 23 | color:#41706f; 24 | } 25 | 26 | .highlight .cs { 27 | color:#cd0000; 28 | font-weight:700; 29 | } 30 | 31 | .highlight .gd { 32 | color:#cd0000; 33 | } 34 | 35 | .highlight .ge { 36 | color:#ccc; 37 | font-style:italic; 38 | } 39 | 40 | .highlight .gr { 41 | color:red; 42 | } 43 | 44 | .highlight .go { 45 | color:gray; 46 | } 47 | 48 | .highlight .gs { 49 | color:#ccc; 50 | font-weight:700; 51 | } 52 | 53 | .highlight .gu { 54 | color:purple; 55 | font-weight:700; 56 | } 57 | 58 | .highlight .gt { 59 | color:#0040D0; 60 | } 61 | 62 | .highlight .kc { 63 | color:#dca3a3; 64 | } 65 | 66 | .highlight .kd { 67 | color:#ffff86; 68 | } 69 | 70 | .highlight .kn { 71 | color:#dfaf8f; 72 | font-weight:700; 73 | } 74 | 75 | .highlight .kp { 76 | color:#cdcf99; 77 | } 78 | 79 | .highlight .kr { 80 | color:#cdcd00; 81 | } 82 | 83 | .highlight .ni { 84 | color:#c28182; 85 | } 86 | 87 | .highlight .ne { 88 | color:#c3bf9f; 89 | font-weight:700; 90 | } 91 | 92 | .highlight .nn { 93 | color:#8fbede; 94 | } 95 | 96 | .highlight .vi { 97 | color:#ffffc7; 98 | } 99 | 100 | .highlight .c,.preview-zenburn .highlight .g,.preview-zenburn .highlight .cm,.preview-zenburn .highlight .cp,.preview-zenburn .highlight .c1 { 101 | color:#7f9f7f; 102 | } 103 | 104 | .highlight .l,.preview-zenburn .highlight .x,.preview-zenburn .highlight .no,.preview-zenburn .highlight .nd,.preview-zenburn .highlight .nl,.preview-zenburn .highlight .nx,.preview-zenburn .highlight .py,.preview-zenburn .highlight .w { 105 | color:#ccc; 106 | } 107 | 108 | .highlight .n,.preview-zenburn .highlight .nv,.preview-zenburn .highlight .vg { 109 | color:#dcdccc; 110 | } 111 | 112 | .highlight .o,.preview-zenburn .highlight .ow { 113 | color:#f0efd0; 114 | } 115 | 116 | .highlight .gh,.preview-zenburn .highlight .gp { 117 | color:#dcdccc; 118 | font-weight:700; 119 | } 120 | 121 | .highlight .gi,.preview-zenburn .highlight .kt { 122 | color:#00cd00; 123 | } 124 | 125 | .highlight .ld,.preview-zenburn .highlight .s,.preview-zenburn .highlight .sb,.preview-zenburn .highlight .sc,.preview-zenburn .highlight .sd,.preview-zenburn .highlight .s2,.preview-zenburn .highlight .se,.preview-zenburn .highlight .sh,.preview-zenburn .highlight .si,.preview-zenburn .highlight .sx,.preview-zenburn .highlight .sr,.preview-zenburn .highlight .s1,.preview-zenburn .highlight .ss { 126 | color:#cc9393; 127 | } 128 | 129 | .highlight .m,.preview-zenburn .highlight .mf,.preview-zenburn .highlight .mh,.preview-zenburn .highlight .mi,.preview-zenburn .highlight .mo,.preview-zenburn .highlight .il { 130 | color:#8cd0d3; 131 | } 132 | 133 | .highlight .na,.preview-zenburn .highlight .nt { 134 | color:#9ac39f; 135 | } 136 | 137 | .highlight .nb,.preview-zenburn .highlight .nc,.preview-zenburn .highlight .nf,.preview-zenburn .highlight .bp,.preview-zenburn .highlight .vc { 138 | color:#efef8f; 139 | } 140 | -------------------------------------------------------------------------------- /blog.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Blog 4 | permalink: /blog/ 5 | --- 6 | 7 | I blog semi-regularly about stuff. Most of my blog entries involve professional development stuff for student or some parlor tricks in LaTeX, R, or Markdown that I have taught myself. A full listing of my blog posts follows. 8 | 9 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /course-materials.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Course Materials 4 | permalink: /course-materials/ 5 | --- 6 | 7 | {% include image.html url="/_images/fabulous-sylvester.jpg" caption="The Textbook for the Semester" width=300 align="right" %} 8 | 9 | ## Book 10 | 11 | Garrison, Joshua. 2006. [The Fabulous Sylvester: The Legend, the Music, the Seventies in San Francisco](https://www.amazon.com/Fabulous-Sylvester-Legend-Seventies-Francisco/dp/0312425694/). Picador. 12 | 13 | ## Additional Course Materials 14 | 15 | Students must read the following documents in the first week of class. These outline my expectations for the rest of the semester. 16 | 17 | - [Taking Good Notes](http://svmiller.com/blog/2014/09/taking-good-notes/) 18 | - [Fun with Attendance and Grades (i.e. Students Should Attend Class)](http://svmiller.com/blog/2016/05/fun-with-attendance-grades/) 19 | - [The Educational Power of Discomfort](http://svmiller.com/blog/2016/05/educational-power-discomfort/) 20 | - [Put Your Laptops Away, Kids (Vol. 2)](http://svmiller.com/blog/2016/05/put-your-laptops-away-2/) -------------------------------------------------------------------------------- /feed.xml: -------------------------------------------------------------------------------- 1 | --- 2 | layout: null 3 | --- 4 | 5 | 6 | 7 | {{ site.title | xml_escape }} 8 | {{ site.description | xml_escape }} 9 | {{ site.url }}{{ site.baseurl }}/ 10 | 11 | {{ site.time | date_to_rfc822 }} 12 | {{ site.time | date_to_rfc822 }} 13 | Jekyll v{{ jekyll.version }} 14 | {% for post in site.posts limit:10 %} 15 | 16 | {{ post.title | xml_escape }} 17 | {{ post.content | xml_escape }} 18 | {{ post.date | date_to_rfc822 }} 19 | {{ post.url | prepend: site.baseurl | prepend: site.url }} 20 | {{ post.url | prepend: site.baseurl | prepend: site.url }} 21 | {% for tag in post.tags %} 22 | {{ tag | xml_escape }} 23 | {% endfor %} 24 | {% for cat in post.categories %} 25 | {{ cat | xml_escape }} 26 | {% endfor %} 27 | 28 | {% endfor %} 29 | 30 | 31 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | 5 | 6 | 7 |
8 | 9 |

{{ site.subtitle }}

10 | 11 | {% include image.html url="/_images/stand-and-deliver-crop.jpg" caption="Add a snappy caption to your lead image to reach your kids." width=900 align="center" %} 12 | 13 | {{ site.description }} 14 | 15 |
16 | -------------------------------------------------------------------------------- /lectures.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Lectures 4 | permalink: /lectures/ 5 | --- 6 | 7 | 24 | 25 | This page contains link to the lectures I give throughout the semester. Clicking the title of the week's lecture will go to a PDF, embedded in the user's browser, by default. The bottom right icons link to the Github directory for the lecture (), the R Markdown document for the lecture (), and a PDF, embedded on Github, for the lecture (). 26 | 27 | 41 | -------------------------------------------------------------------------------- /sitemap.xml: -------------------------------------------------------------------------------- 1 | --- 2 | layout: null 3 | sitemap: 4 | exclude: 'yes' 5 | --- 6 | 7 | 8 | {% for post in site.posts %} 9 | {% unless post.published == false %} 10 | 11 | {{ site.url }}{{ post.url }} 12 | {% if post.sitemap.lastmod %} 13 | {{ post.sitemap.lastmod | date: "%Y-%m-%d" }} 14 | {% elsif post.date %} 15 | {{ post.date | date_to_xmlschema }} 16 | {% else %} 17 | {{ site.time | date_to_xmlschema }} 18 | {% endif %} 19 | {% if post.sitemap.changefreq %} 20 | {{ post.sitemap.changefreq }} 21 | {% else %} 22 | monthly 23 | {% endif %} 24 | {% if post.sitemap.priority %} 25 | {{ post.sitemap.priority }} 26 | {% else %} 27 | 0.5 28 | {% endif %} 29 | 30 | {% endunless %} 31 | {% endfor %} 32 | 33 | -------------------------------------------------------------------------------- /syllabus/svm-rmarkdown-syllabus-example.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svmiller/course-website/7f84bc964a6fbe5a47d46836729faca0f40afaa8/syllabus/svm-rmarkdown-syllabus-example.pdf -------------------------------------------------------------------------------- /untitled-lecture/Untitled.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Untitled" 3 | author: "Steven V. Miller" 4 | date: "8/11/2018" 5 | output: pdf_document 6 | --- 7 | 8 | ```{r setup, include=FALSE} 9 | knitr::opts_chunk$set(echo = TRUE) 10 | ``` 11 | 12 | ## R Markdown 13 | 14 | This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see . 15 | 16 | When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this: 17 | 18 | ```{r cars} 19 | summary(cars) 20 | ``` 21 | 22 | ## Including Plots 23 | 24 | You can also embed plots, for example: 25 | 26 | ```{r pressure, echo=FALSE} 27 | plot(pressure) 28 | ``` 29 | 30 | Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot. 31 | -------------------------------------------------------------------------------- /untitled-lecture/Untitled.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svmiller/course-website/7f84bc964a6fbe5a47d46836729faca0f40afaa8/untitled-lecture/Untitled.pdf --------------------------------------------------------------------------------