diff --git a/_config.yml b/_config.yml index 6174470603..4f9665d703 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,5 @@ -url: https://y7kim.github.io -baseurl: /agency-jekyll-theme/ +url: http://localhost:4000 +baseurl: # Site settings title: Awesome Title @@ -50,7 +50,7 @@ social: url: - title: stack-overflow url: http://stackoverflow.com/questions/tagged/jekyll - - title: bitbucket + - title: bitbucket url: http://bitbucket.org/jekyll - title: github url: http://github.com/jekyll @@ -62,4 +62,4 @@ address: # Build settings markdown: kramdown -permalink: pretty \ No newline at end of file +permalink: pretty diff --git a/_includes/footer.html b/_includes/footer.html index bebbfbbaeb..1d0dfdfd45 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -22,4 +22,4 @@ - \ No newline at end of file + diff --git a/_includes/header.html b/_includes/header.html index acb75fc5bf..aab293c69b 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -18,21 +18,14 @@ + {% assign sorted_pages = (site.pages | sort: 'order') %} + {% for sec in sorted_pages %} + {% if sec.section and sec.title %}
  • - Services -
  • -
  • - Portfolio -
  • -
  • - About -
  • -
  • - Team -
  • -
  • - Contact + {{ sec.title }}
  • + {% endif %} + {% endfor %} @@ -55,4 +48,3 @@ {% if page.title %}{{ page.title }}{% endif %} {% endfor %} --> - diff --git a/_includes/js.html b/_includes/js.html index d5713d9832..c6c391cc09 100644 --- a/_includes/js.html +++ b/_includes/js.html @@ -15,3 +15,77 @@ + + diff --git a/_layouts/default.html b/_layouts/default.html index 0b2a6fca27..8d094709c0 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,15 +7,13 @@ {% include header.html %} - {% include services.html %} - {% include portfolio_grid.html %} - {% include about.html %} - {% include team.html %} - {% include clients.html %} - {% include contact.html %} +
    +
    {% include footer.html %} + {% comment %} {% include modals.html %} + {% endcomment %} {% include js.html %} - \ No newline at end of file + diff --git a/_layouts/modal.html b/_layouts/modal.html new file mode 100644 index 0000000000..5eb62eb59a --- /dev/null +++ b/_layouts/modal.html @@ -0,0 +1,38 @@ + + diff --git a/_layouts/section.html b/_layouts/section.html new file mode 100644 index 0000000000..d081d634da --- /dev/null +++ b/_layouts/section.html @@ -0,0 +1,7 @@ +
    +
    +
    + {{ content }} +
    +
    +
    diff --git a/js/background.js b/js/background.js new file mode 100644 index 0000000000..e69de29bb2 diff --git a/_includes/modals.html b/modals.html similarity index 92% rename from _includes/modals.html rename to modals.html index 74274ed8b0..38242bbe80 100644 --- a/_includes/modals.html +++ b/modals.html @@ -1,3 +1,6 @@ +--- +title: Portfolio +--- {% for post in site.posts %} - - \ No newline at end of file diff --git a/_includes/clients.html b/page/clients.html similarity index 95% rename from _includes/clients.html rename to page/clients.html index c8277f50e5..8ac065c1d9 100644 --- a/_includes/clients.html +++ b/page/clients.html @@ -1,3 +1,7 @@ +--- +title: Clients +order: 998 +--- \ No newline at end of file + diff --git a/_includes/contact.html b/page/contact.html similarity index 96% rename from _includes/contact.html rename to page/contact.html index 447c9e876c..daec322b1a 100644 --- a/_includes/contact.html +++ b/page/contact.html @@ -1,5 +1,10 @@ -
    -
    +--- +layout: section +title: Contact +section: contact +order: 999 +--- +

    Contact Us

    @@ -39,5 +44,3 @@

    Lorem ipsum dolor sit amet consectetur

    -
    -
    diff --git a/_includes/portfolio_grid.html b/page/portfolio_grid.html similarity index 91% rename from _includes/portfolio_grid.html rename to page/portfolio_grid.html index b8a72200d1..f260e42c6c 100644 --- a/_includes/portfolio_grid.html +++ b/page/portfolio_grid.html @@ -1,6 +1,11 @@ +--- +layout: section +title: Portfolio +section: portfolio +order: 200 +--- -
    -
    +

    Portfolio

    @@ -25,5 +30,3 @@

    {{ post.title }}

    {% endfor %}
    -
    -
    diff --git a/_includes/services.html b/page/services.html similarity index 95% rename from _includes/services.html rename to page/services.html index a82e9588c2..5c889050bc 100644 --- a/_includes/services.html +++ b/page/services.html @@ -1,6 +1,11 @@ +--- +layout: section +title: Services +section: services +order: 100 +--- -
    -
    +

    Services

    @@ -33,5 +38,3 @@

    Web Security

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Minima maxime quam architecto quo inventore harum ex magni, dicta impedit.

    -
    -
    \ No newline at end of file diff --git a/_includes/team.html b/page/team.html similarity index 93% rename from _includes/team.html rename to page/team.html index 23807e05dc..602f3525a9 100644 --- a/_includes/team.html +++ b/page/team.html @@ -1,6 +1,10 @@ +--- +layout: section +title: Team +section: team +order: 900 +--- -
    -

    Our Amazing Team

    @@ -33,5 +37,3 @@

    {{ member.name }}

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aut eaque, laboriosam veritatis, quos non quis ad perspiciatis, totam corporis ea, alias ut unde.

    -
    -
    \ No newline at end of file