Files
.github
_data
_includes
_layouts
_sass
assets
docs
_data
_docs
_drafts
_layouts
_pages
_pets
_portfolio
_posts
2009-05-15-edge-case-nested-and-mixed-lists.md
2009-06-01-edge-case-many-tags.md
2009-07-02-edge-case-many-categories.md
2009-08-06-edge-case-no-body-content.md
2009-09-05-edge-case-no-yaml-title.md
2009-10-05-edge-case-title-should-not-overflow-the-content-area.md
2009-10-05-edge-case-very-long-title.md
2010-01-07-post-modified.md
2010-01-07-post-standard.md
2010-01-08-post-chat.md
2010-02-05-post-notice.md
2010-02-05-post-quote.md
2010-03-07-post-link.md
2010-06-02-post-video-youtube.md
2010-08-05-post-header-image-og-override.md
2010-08-05-post-header-overlay-image-og-override.md
2010-08-05-post-image-linked.md
2010-08-05-post-image-standard.md
2010-08-05-post-teaser-image-og-override.md
2010-08-06-post-image-linked-caption.md
2010-08-07-post-image-caption.md
2010-09-09-post-gallery.md
2010-09-10-post-twitter-embeds.md
2010-10-25-post-future-date.md
2012-01-02-layout-comments-disabled.md
2012-01-02-layout-comments.md
2012-01-02-layout-read-time-disabled.md
2012-01-02-layout-read-time.md
2012-01-02-layout-related-posts-disabled.md
2012-01-02-layout-related-posts.md
2012-01-02-layout-sharing-disabled.md
2012-01-02-layout-sharing.md
2012-01-03-layout-read-time-comments-sharing-related-posts-disabled.md
2012-01-03-layout-table-of-contents-include-post.md
2012-01-03-layout-table-of-contents-indent-post.md
2012-01-03-layout-table-of-contents-post.md
2012-01-03-layout-table-of-contents-sticky.md
2012-03-14-layout-code-excerpt-generated.md
2012-03-14-layout-excerpt-defined.md
2012-03-14-layout-excerpt-generated.md
2012-03-15-layout-author-override.md
2012-03-15-layout-author-sidebar-disabled.md
2012-03-15-layout-header-image-external.md
2012-03-15-layout-header-image-horizontal.md
2012-03-15-layout-header-image-text-readability.md
2012-03-15-layout-header-image-vertical.md
2012-03-15-layout-header-overlay-color.md
2012-03-15-layout-header-overlay-image.md
2012-03-15-layout-more-tag.md
2012-03-15-layout-sidebar-custom.md
2012-03-15-layout-sidebar-nav-list.md
2012-05-22-markup-text-readability-wide-page.md
2012-05-22-markup-text-readability.md
2013-01-05-markup-title-with-markup.md
2013-01-05-markup-title-with-special-characters.md
2013-01-09-markup-text-alignment.md
2013-01-10-markup-image-alignment.md
2013-01-11-markup-html-tags-and-formatting.md
2013-05-22-markup-more-images.md
2013-08-16-markup-syntax-highlighting.md
2016-02-24-welcome-to-jekyll.md
2016-09-21-gemified-theme-alpha.md
2016-10-06-gemified-theme-beta.md
2017-01-23-layout-header-video.md
2017-11-28-post-exclude-search.md
_recipes
assets
Gemfile
_config.dev.yml
_config.yml
screenshot-layouts.png
screenshot.png
test
.editorconfig
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
_config.yml
banner.js
index.html
minimal-mistakes-jekyll.gemspec
package-lock.json
package.json
screenshot-layouts.png
screenshot.png
staticman.yml
website/docs/_posts/2012-01-03-layout-table-of-contents-sticky.md
2018-08-15 09:44:21 -04:00

2.6 KiB
Raw Blame History

title, tags, toc, toc_sticky
title tags toc toc_sticky
Layout: Post with Sticky Table of Contents
table of contents
true true

"Stick" table of contents to the top of a page by adding toc_sticky: true to its YAML Front Matter.

---
toc: true
toc_sticky: true
---

HTML Elements

Below is just about everything you'll need to style in the theme. Check the source code to see the many embedded elements within paragraphs.

Body text

Lorem ipsum dolor sit amet, test link adipiscing elit. This is strong. Nullam dignissim convallis est. Quisque aliquam.

![Smithsonian Image]({{ site.url }}{{ site.baseurl }}/assets/images/3953273590_704e3899d5_m.jpg) {: .image-right}

This is emphasized. Donec faucibus. Nunc iaculis suscipit dui. 53 = 125. Water is H2O. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. The New York Times (Thats a citation). Underline.Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.

HTML and CSS are our tools. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus.

Blockquotes

Lorem ipsum dolor sit amet, test link adipiscing elit. Nullam dignissim convallis est. Quisque aliquam.

List Types

Ordered Lists

  1. Item one
    1. sub item one
    2. sub item two
    3. sub item three
  2. Item two

Unordered Lists

  • Item one
  • Item two
  • Item three

Tables

Header1 Header2 Header3
cell1 cell2 cell3
cell4 cell5 cell6
----
cell1 cell2 cell3
cell4 cell5 cell6
=====
Foot1 Foot2 Foot3
{: rules="groups"}

Code Snippets

#container {
  float: left;
  margin: 0 -240px 0 0;
  width: 100%;
}

Buttons

Make any link standout more when applying the .btn class.

<a href="#" class="btn btn--success">Success Button</a>

Notices

Watch out! You can also add notices by appending {: .notice} to a paragraph. {: .notice}