mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-25 08:58:58 -05:00
Added documentation to explain how to add scripts at the bottom of the template
This commit is contained in:
parent
4c20ebccc4
commit
829b9737d2
4
source/docs/theme/template/index.markdown
vendored
4
source/docs/theme/template/index.markdown
vendored
@ -36,7 +36,7 @@ Finally, `source/index.html` can become the landing page of your wildest dreams.
|
|||||||
|
|
||||||
## Changing the <HEAD>
|
## Changing the <HEAD>
|
||||||
|
|
||||||
If you want to add to the `<HEAD>`take a look at `/source/_includes/custom/head.html`.
|
If you want to add scripts or tags to the `<HEAD>` take a look at `/source/_includes/custom/head.html`.
|
||||||
|
|
||||||
{% codeblock <HEAD> (source/_includes/custom/head.html) %}
|
{% codeblock <HEAD> (source/_includes/custom/head.html) %}
|
||||||
{% render_partial ../.themes/classic/source/_includes/custom/head.html raw %}
|
{% render_partial ../.themes/classic/source/_includes/custom/head.html raw %}
|
||||||
@ -44,6 +44,8 @@ If you want to add to the `<HEAD>`take a look at `/source/_includes/custom/head.
|
|||||||
|
|
||||||
Here you can easily change or remove the [Google Webfonts](http://google.com/webfonts), insert javascripts, etc.
|
Here you can easily change or remove the [Google Webfonts](http://google.com/webfonts), insert javascripts, etc.
|
||||||
|
|
||||||
|
If you'd rather inject scripts at the bottom of the page, you can add that to `/source/_includes/custom/after_footer.html`.
|
||||||
|
|
||||||
### Changing the sidebar
|
### Changing the sidebar
|
||||||
Octopress integrates with some [3rd party services](/docs/configuring/#third_party) like Twitter, Pinboard and Delicious which appear in the sidebar.
|
Octopress integrates with some [3rd party services](/docs/configuring/#third_party) like Twitter, Pinboard and Delicious which appear in the sidebar.
|
||||||
In the `_config.yml` you can rearrange these, create custom sidebars for each layout, and add your own sidebar sections.
|
In the `_config.yml` you can rearrange these, create custom sidebars for each layout, and add your own sidebar sections.
|
||||||
|
Loading…
Reference in New Issue
Block a user