Skip to content
Snippets Groups Projects
Unverified Commit 6f8ae3e9 authored by Patrick Marsceill's avatar Patrick Marsceill Committed by GitHub
Browse files

Merge pull request #364 from burner1024/custom-favicon

allow custom favicon code
parents f8331f1c 7f354d47
No related branches found
No related tags found
No related merge requests found
<link rel="shortcut icon" href="{{ 'favicon.ico' | relative_url }}" type="image/x-icon">
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
{% endif %} {% endif %}
{% endunless %} {% endunless %}
<link rel="shortcut icon" href="{{ 'favicon.ico' | relative_url }}" type="image/x-icon"> {% include favicon.html %}
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-default.css' | relative_url }}"> <link rel="stylesheet" href="{{ '/assets/css/just-the-docs-default.css' | relative_url }}">
......
...@@ -35,38 +35,32 @@ remote_theme: just-the-docs/just-the-docs ...@@ -35,38 +35,32 @@ remote_theme: just-the-docs/just-the-docs
### Local installation: Use the gem-based theme ### Local installation: Use the gem-based theme
1. Install the Ruby Gem 1. Install the Ruby Gem
```bash
```bash $ gem install just-the-docs
$ gem install just-the-docs ```
``` ```yaml
# .. or add it to your your Jekyll site’s Gemfile
```yaml gem "just-the-docs"
# .. or add it to your your Jekyll site’s Gemfile ```
gem "just-the-docs"
```
2. Add Just the Docs to your Jekyll site’s `_config.yml` 2. Add Just the Docs to your Jekyll site’s `_config.yml`
```yaml
```yaml theme: "just-the-docs"
theme: "just-the-docs" ```
```
3. _Optional:_ Initialize search data (creates `search-data.json`) 3. _Optional:_ Initialize search data (creates `search-data.json`)
```bash
```bash $ bundle exec just-the-docs rake search:init
$ bundle exec just-the-docs rake search:init ```
```
3. Run you local Jekyll server 3. Run you local Jekyll server
```bash
```bash $ jekyll serve
$ jekyll serve ```
``` ```bash
# .. or if you're using a Gemfile (bundler)
```bash $ bundle exec jekyll serve
# .. or if you're using a Gemfile (bundler) ```
$ bundle exec jekyll serve
```
4. Point your web browser to [http://localhost:4000](http://localhost:4000) 4. Point your web browser to [http://localhost:4000](http://localhost:4000)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment