Skip to content

Commit

Permalink
[major change] change 'page' to 'subsection' in all YAML headers
Browse files Browse the repository at this point in the history
  • Loading branch information
asamalik committed Mar 16, 2016
1 parent 3ff256d commit 57b5671
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Binary file removed .jekyll-metadata
Binary file not shown.
2 changes: 1 addition & 1 deletion _includes/content-link-panel.html
Expand Up @@ -4,7 +4,7 @@
<div class="panel-body">
<div class="media">
<div class="media-left">
<img style="height:100px" src="{{ p.page | page_logo }}">
<img style="height:100px" src="{{ p.subsection | subsection_logo }}">
</div>
<div class="media-body">
<h3>
Expand Down
8 changes: 4 additions & 4 deletions _includes/jumbo-content.html
Expand Up @@ -2,23 +2,23 @@
<div class="col-sm-12">

{% for p in site.pages %}
{% if p.page == page.page %}
{% if p.subsection == page.subsection %}
{% if p.section %}
<img class="img-rounded" src="{{ p.page | page_logo }}">
<img class="img-rounded" src="{{ p.subsection | subsection_logo }}">
{% endif %}
{% endif %}
{% endfor %}

{% for p in site.pages %}
{% if p.page == page.page %}
{% if p.subsection == page.subsection %}
{% if p.section %}
<h2>{{ p.title }}</h2>
{% endif %}
{% endif %}
{% endfor %}

{% for p in site.pages %}
{% if p.page == page.page %}
{% if p.subsection == page.subsection %}
{% if p.section %}
<p>{{ p.description }}</p>
{% endif %}
Expand Down
4 changes: 2 additions & 2 deletions _layouts/content.html
Expand Up @@ -19,14 +19,14 @@
<div class="list-group content-menu">
{% assign sorted_pages = site.pages | sort: "order" %}
{% for p in sorted_pages %}
{% if p.page == page.page %}
{% if p.subsection == page.subsection %}
{% if p.section %}
<a href="{{p.url}}" class="list-group-item {% if p.url == page.url %} active {% endif %}">{{ p.title }}</a>
{% endif %}
{% endif %}
{% endfor %}
{% for p in sorted_pages %}
{% if p.page == page.page %}
{% if p.subsection == page.subsection %}
{% if p.section %}{% else %}
<a href="{{p.url}}" class="list-group-item {% if p.url == page.url %} active {% endif %}">{{ p.title }}</a>
{% endif %}
Expand Down
4 changes: 2 additions & 2 deletions _plugins/logo_filter.rb
Expand Up @@ -2,8 +2,8 @@

module Jekyll
module LogoFilter
def page_logo(page)
"/static/logo/#{page}.png"
def subsection_logo(subsection)
"/static/logo/#{subsection}.png"
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion content
Submodule content updated 87 files
+2 −2 README.md
+1 −1 deployment/copr/about.md
+1 −1 deployment/copr/copr-cli.md
+1 −1 deployment/openshift/about.md
+1 −1 deployment/rpm/about.md
+1 −1 fedora_features/Fedora23_Self_contained_Changes.md
+1 −1 fedora_features/Fedora23_System_Wide_Changes.md
+1 −1 start/hw/arduino/about.md
+1 −1 start/hw/embeded-devices/about.md
+1 −1 start/hw/raspberry-pi/about.md
+1 −1 start/sw/cli-app/about.md
+1 −1 start/sw/gui-app/about.md
+1 −1 start/sw/mobile-app/mobile-devassistant.md
+1 −1 start/sw/mobile-app/mobile-installation.md
+1 −1 start/sw/web-app/about.md
+1 −1 start/sw/web-app/django.md
+1 −1 start/tips/collaborate/about.md
+1 −1 start/tips/documentation/about.md
+1 −1 tech/database/mariadb/about.md
+1 −1 tech/database/postgresql/about.md
+1 −1 tech/database/postgresql/postgresql-in-rpms.md
+1 −1 tech/database/sqlite/about.md
+1 −1 tech/languages/c/autotools.md
+1 −1 tech/languages/c/c-devassistant.md
+1 −1 tech/languages/c/c_installation.md
+1 −1 tech/languages/c/cmake.md
+1 −1 tech/languages/c/cpp_installation.md
+1 −1 tech/languages/c/static-analysis.md
+1 −1 tech/languages/csharp/mono-build-tools-installation.md
+1 −1 tech/languages/csharp/mono-installation.md
+1 −1 tech/languages/csharp/mono-sig.md
+1 −1 tech/languages/elixir/elixir-installation.md
+1 −1 tech/languages/go/go-installation.md
+1 −1 tech/languages/go/go-packages.md
+1 −1 tech/languages/groovy/groovy-installation.md
+1 −1 tech/languages/haskell/cabal.md
+1 −1 tech/languages/haskell/haskell-installation.md
+1 −1 tech/languages/haskell/sig.md
+1 −1 tech/languages/java/java-build-tools-installation.md
+1 −1 tech/languages/java/java-devassistant.md
+1 −1 tech/languages/java/java-installation.md
+1 −1 tech/languages/java/java-sig.md
+1 −1 tech/languages/nodejs/SIG.md
+1 −1 tech/languages/nodejs/modules.md
+1 −1 tech/languages/nodejs/nodejs-devassistant.md
+1 −1 tech/languages/nodejs/nodejs.md
+1 −1 tech/languages/perl/perl-devassistant.md
+1 −1 tech/languages/perl/perl-installation.md
+1 −1 tech/languages/perl/perl-modules.md
+1 −1 tech/languages/php/pear-installation.md
+1 −1 tech/languages/php/php-devassistant.md
+1 −1 tech/languages/php/php-installation.md
+1 −1 tech/languages/php/symfony-installation.md
+1 −1 tech/languages/php/zend-installation.md
+1 −1 tech/languages/python/django-installation.md
+1 −1 tech/languages/python/flask-installation.md
+1 −1 tech/languages/python/pypi-installation.md
+1 −1 tech/languages/python/python-devassistant.md
+1 −1 tech/languages/python/python-installation.md
+1 −1 tech/languages/python/python-sig.md
+1 −1 tech/languages/python/sphinx.md
+1 −1 tech/languages/ruby/bundler-installation.md
+1 −1 tech/languages/ruby/gems-installation.md
+1 −1 tech/languages/ruby/ror-installation.md
+1 −1 tech/languages/ruby/ruby-devassistant.md
+1 −1 tech/languages/ruby/ruby-installation.md
+1 −1 tech/languages/ruby/ruby-sig.md
+1 −1 tech/languages/ruby/sinatra-installation.md
+1 −1 tools/abrt/about.md
+1 −1 tools/devassistant/about.md
+1 −1 tools/devassistant/developers.md
+1 −1 tools/devassistant/notes.md
+1 −1 tools/devassistant/tutorials.md
+1 −1 tools/docker/about.md
+1 −1 tools/docker/compose.md
+1 −1 tools/docker/docker-configuration.md
+1 −1 tools/docker/docker-images.md
+1 −1 tools/docker/docker-installation.md
+1 −1 tools/docker/docker-interactive-management.md
+1 −1 tools/docker/docker-usage.md
+1 −1 tools/vagrant/about.md
+1 −1 tools/vagrant/vagrant-docker.md
+1 −1 tools/vagrant/vagrant-libvirt.md
+1 −1 tools/vagrant/vagrant-nfs.md
+1 −1 tools/vagrant/vagrant-plugins.md
+1 −1 tools/vagrant/vagrant-virtualbox.md
+1 −1 tools/virt-builder/about.md

0 comments on commit 57b5671

Please sign in to comment.