Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Correct subheading week numbers for weeks 4 and 5 #2

Open
wants to merge 144 commits into
base: main
Choose a base branch
from

Conversation

nick-ls
Copy link

@nick-ls nick-ls commented Feb 1, 2022

Weeks 4 and 5 have subheadings set as Week 1

Josh Habdas and others added 30 commits December 1, 2016 15:26
Add optional global nav class-driven font iconography
Currently metadata items are outputting a `time` element with a `datetime` attribute which is ISO 8601 compliant, but does not include information about time of day and timezone offset. This updates the output so it outputs all available information.

Before:

```html
<time  class="icon-calendar pr20" datetime="2016-12-03" itemprop="datePublished">2016-12-03</time>
```

After

```html
<time class="icon-calendar pr20" datetime="2016-12-03T08:00:00+08:00" itemprop="datePublished"> 2016-12-03</time>
```

References:
http://devdocs.io/html/element/time for general info
https://www.w3.org/TR/html51/infrastructure.html#dates-and-times for information about 
http://jekyll.tips/jekyll-cheat-sheet/ for liquid filter info
When categories are not specified Jekyll treats `page.categories` as an empty array. Empty arrays are truthy in liquid. As a result, pages (e.g. collections or posts) without `categories` explicitly set to `Nil` in the front matter were outputting an archive icon with no associated information. This change checks that the array exists _and_ has a size greater than zero before outputting the icon.

Before

<img width="414" alt="screen shot 2017-02-28 at 3 08 23 pm" src="https://cloud.githubusercontent.com/assets/440298/23395131/edf8b74a-fdc7-11e6-9c76-d72e2ab5a01f.png">

After

<img width="369" alt="screen shot 2017-02-28 at 3 09 03 pm" src="https://cloud.githubusercontent.com/assets/440298/23395136/f272aad8-fdc7-11e6-838c-99e2d7a0f462.png">
Reference #137 for info
Enable meta data for collections
Use datetime for time element
Don't output Archive icon when categories empty
Originally entered as “Than” should be “Then”

Minor detail, just noticed it while trying out new Jekyll themes.
Now the widgets are flexible as you like them to be. The include checks if parameters are given, if not, nothing will be generated. For example: If you don't want headline, don't write them in frontmatter. If you don't like the more button (hello @fedorov ;) just don't use an url.
* Update documentation.md

Updates issue #183 with proposed changes.

* update documentation.md

issue #183 switch to highlighter syntax
Excludes vendor build in .travis.yml
MISTYPED {% hightlight html %}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants