Files
gitea-pages/pages/formatting/adding_tooltips.md
2015-05-05 14:09:34 -07:00

938 B

title: Adding tooltips permalink: /adding_tooltips/ tags: [] keywords: audience: last_updated: summary:

{% include linkrefs.html %}

You can add tooltips to your content. Because this theme is built on Bootstrap, you can simply use a specific attribute on an element to insert a tooltip.  test...

Suppose you have a glossary.yml file inside your _data folder. You could pull in that glossary definition like this:

<a href="#" data-toggle="tooltip" data-original-title="<!--|%%|%7B%7Bsite.data.glossary.jekyll_platform%7D%7D|%%|-->">Jekyll</a> is my favorite tool for building websites.</a>

This renders to the following:

Jekyll is my favorite tool for building websites.