mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-22 01:57:08 +00:00
Merge pull request #50 from ctesniere/master
Adding the installation step Kramdown and hide logo if site.logo variable is null
This commit is contained in:
commit
88f19f01ef
2 changed files with 15 additions and 10 deletions
11
README.md
11
README.md
|
@ -26,11 +26,12 @@ General notes and suggestions for customizing So Simple Theme.
|
||||||
## Basic Setup for new Jekyll site
|
## Basic Setup for new Jekyll site
|
||||||
|
|
||||||
1. [Install Jekyll](http://jekyllrb.com) and read through the documentation if you haven't already.
|
1. [Install Jekyll](http://jekyllrb.com) and read through the documentation if you haven't already.
|
||||||
2. Fork the [So Simple Theme repo](https://github.com/mmistakes/so-simple-theme/fork)
|
2. [Install Jekyll Extra - Kramdown](http://jekyllrb.com/docs/extras/#kramdown)
|
||||||
3. Clone the repo you just forked.
|
3. Fork the [So Simple Theme repo](https://github.com/mmistakes/so-simple-theme/fork)
|
||||||
4. Edit `_config.yml` to personalize your site.
|
4. Clone the repo you just forked.
|
||||||
5. Check out the sample posts in `_posts` to see examples for pulling in large feature images, assigning categories and tags, and other YAML data.
|
5. Edit `_config.yml` to personalize your site.
|
||||||
6. Read the documentation below for further customization pointers and documentation.
|
6. Check out the sample posts in `_posts` to see examples for pulling in large feature images, assigning categories and tags, and other YAML data.
|
||||||
|
7. Read the documentation below for further customization pointers and documentation.
|
||||||
|
|
||||||
[Download the Theme](http://mmistakes.github.io/so-simple-theme)
|
[Download the Theme](http://mmistakes.github.io/so-simple-theme)
|
||||||
|
|
||||||
|
|
|
@ -27,14 +27,18 @@
|
||||||
</div><!-- ./search-wrapper -->{% endif %}
|
</div><!-- ./search-wrapper -->{% endif %}
|
||||||
|
|
||||||
{% if page.image.feature %}<header class="masthead">
|
{% if page.image.feature %}<header class="masthead">
|
||||||
<div class="wrap">
|
{% if site.logo != null %}
|
||||||
<a href="{{ site.url }}" class="site-logo" rel="home" title="{{ site.title }}"><img src="{{ site.url }}/images/{{ site.logo }}" width="200" height="200" alt="{{ site.title }} logo" class="animated bounceInDown"></a>
|
<div class="wrap">
|
||||||
</div>
|
<a href="{{ site.url }}" class="site-logo" rel="home" title="{{ site.title }}"><img src="{{ site.url }}/images/{{ site.logo }}" width="200" height="200" alt="{{ site.title }} logo" class="animated bounceInDown"></a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</header><!-- /.masthead -->
|
</header><!-- /.masthead -->
|
||||||
{% else %}<header class="masthead">
|
{% else %}<header class="masthead">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<a href="{{ site.url }}" class="site-logo" rel="home" title="{{ site.title }}"><img src="{{ site.url }}/images/{{ site.logo }}" width="200" height="200" alt="{{ site.title }} logo" class="animated fadeInUp"></a>
|
{% if site.logo != null %}
|
||||||
<h1 class="site-title animated fadeIn"><a href="{{ site.url }}">{{ site.title }}</a></h1>
|
<a href="{{ site.url }}" class="site-logo" rel="home" title="{{ site.title }}"><img src="{{ site.url }}/images/{{ site.logo }}" width="200" height="200" alt="{{ site.title }} logo" class="animated fadeInUp"></a>
|
||||||
|
{% endif %}
|
||||||
|
<h1 class="site-title animated fadeIn"><a href="{{ site.url }}">{{ site.title }}</a></h1>
|
||||||
<h2 class="site-description animated fadeIn" itemprop="description">{{ site.description }}</h2>
|
<h2 class="site-description animated fadeIn" itemprop="description">{{ site.description }}</h2>
|
||||||
</div>
|
</div>
|
||||||
</header><!-- /.masthead -->{% endif %}
|
</header><!-- /.masthead -->{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue