fixing footer image display. needed closing quote in footer.html file code. also needed extra ../ path in config file.

This commit is contained in:
Tom Johnson
2016-02-18 14:06:02 -08:00
parent b839b5edac
commit a0bd5244c8
4 changed files with 26 additions and 7 deletions

View File

@ -1,3 +1,4 @@
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'github-pages' gem 'github-pages'
gem 'pygments.rb'

View File

@ -100,7 +100,11 @@ GEM
mini_portile2 (~> 2.0.0.rc2) mini_portile2 (~> 2.0.0.rc2)
octokit (4.2.0) octokit (4.2.0)
sawyer (~> 0.6.0, >= 0.5.3) sawyer (~> 0.6.0, >= 0.5.3)
posix-spawn (0.3.11)
public_suffix (1.5.3) public_suffix (1.5.3)
pygments.rb (0.6.3)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.2.0)
rb-fsevent (0.9.7) rb-fsevent (0.9.7)
rb-inotify (0.9.5) rb-inotify (0.9.5)
ffi (>= 0.5.0) ffi (>= 0.5.0)
@ -118,12 +122,14 @@ GEM
ethon (>= 0.8.0) ethon (>= 0.8.0)
tzinfo (1.2.2) tzinfo (1.2.2)
thread_safe (~> 0.1) thread_safe (~> 0.1)
yajl-ruby (1.2.1)
PLATFORMS PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
github-pages github-pages
pygments.rb
BUNDLED WITH BUNDLED WITH
1.10.6 1.10.6

View File

@ -1,3 +1,5 @@
# this is simply copied over from config/config_designers.yml
# project definitions # project definitions
project: mydoc_designers project: mydoc_designers
audience: designers audience: designers
@ -11,7 +13,7 @@ homepage_title: Jekyll doc theme for designers
site_title: Jekyll theme for designers site_title: Jekyll theme for designers
project_folder: mydoc project_folder: mydoc
company_name: Your company company_name: Your company
footer_image_location: ../common_images/company_logo.png footer_image_location: ../../common_images/company_logo.png
github_editme_path: tomjohnson1492/documentation-theme-jekyll/edit/reviews github_editme_path: tomjohnson1492/documentation-theme-jekyll/edit/reviews
disqus_shortname: idrbwjekyll disqus_shortname: idrbwjekyll
# variables # variables
@ -41,11 +43,21 @@ exclude:
host: 127.0.0.1 host: 127.0.0.1
feedback_email: tomjohnson1492@gmail.com feedback_email: tomjohnson1492@gmail.com
highlighter: rouge # these settings should work, but they don't seem to apply the right highlighting
markdown: kramdown
kramdown: #highlighter: rouge
input: GFM #markdown: kramdown
auto_ids: true #kramdown:
# input: GFM
# auto_ids: true
# hard_wrap: false
# syntax_highlighter: rouge
highlighter: pygments
markdown: redcarpet
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "tables", "with_toc_data"]
collections: collections:
tooltips: tooltips:

View File

@ -3,7 +3,7 @@
<div class="col-lg-12 footer"> <div class="col-lg-12 footer">
&copy;{{ site.time | date: "%Y" }} {{site.company_name}}. All rights reserved. <br /> &copy;{{ site.time | date: "%Y" }} {{site.company_name}}. All rights reserved. <br />
{% if page.last_updated %}<p>Page last updated:</span> {{page.last_updated}}<br/>{% endif %} Site last generated: {{ site.time | date: "%b %-d, %Y" }} <br /> {% if page.last_updated %}<p>Page last updated:</span> {{page.last_updated}}<br/>{% endif %} Site last generated: {{ site.time | date: "%b %-d, %Y" }} <br />
<p><img src="{{site.footer_image_location}}/></p> <p><img src="{{site.footer_image_location}}"/></p>
</div> </div>
</div> </div>
</footer> </footer>