Skip to content

Commit

Permalink
Rename shoes-men collection to shoes-man
Browse files Browse the repository at this point in the history
Also:

  - Fixed color in topbar
  - add `relative_url` to progressive logo component
  • Loading branch information
cetinajero committed Jul 26, 2019
1 parent 316e7ab commit b7869db
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ collections:
permalink: /:collection/:categories/:name/
products:
detail: true
shoes-men:
shoes-man:
output: true
permalink: /:collection/:categories/:name/
products:
Expand Down Expand Up @@ -115,7 +115,7 @@ defaults:
-
scope:
path: ""
type: "shoes-men"
type: "shoes-man"
values:
layout: product
published: true
Expand Down
12 changes: 6 additions & 6 deletions _data/menus/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
- High => /shoes-woman/high/
- Mid => /shoes-woman/mid/
- Platform => /shoes-woman/platform/
- collection: shoes-men
name: "Men => #"
- collection: shoes-man
name: "Man => #"
sub-menus:
- name: Shoes => /shoes-men/
- name: Shoes => /shoes-man/
sub-menus:
- High => /shoes-men/high/
- Mid => /shoes-men/mid/
- Low => /shoes-men/low/
- High => /shoes-man/high/
- Mid => /shoes-man/mid/
- Low => /shoes-man/low/
2 changes: 1 addition & 1 deletion _includes/components/logos/progressive.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<a class="{{ include.class }}" href="/" data-component="logos/progressive">
<a class="{{ include.class }}" href="{{ '/' | relative_url }}" data-component="logos/progressive">
<img src="{{ site.amazon-s3 }}/components/logos/progressive/img/{{ site.domain | replace:'.',' ' | truncatewords: 1,"" }}.png" alt="{{ site.title }}" class="logo-img" data-last-deploy="{{ site.time }}"/>
</a>
2 changes: 1 addition & 1 deletion _includes/components/topbars/progressive.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<span id="sign-in">
<span id="sign-in-welcome" class="d-none d-md-inline"></span>
<strong id="sign-in-name"></strong>
<strong id="sign-in-name" class="text-white"></strong>
<a id="login-button" class="btn btn-sm btn-primary text-white border-0 d-none" href="/">
<i class="fas fa-sign-in-alt fa-lg" data-fa-transform="left-3"></i>
<span style="font-size:12px">{{ site.data.i18n.common.firebase[site.lang].login.title }}</span>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion _shoes-men/high/high.md → _shoes-man/high/high.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
title: High
layout: grid
menu-name: high
menu-father: shoes-men
menu-father: shoes-man
image: https://s3-us-west-2.amazonaws.com/grupopv-public/assets/img/catalog/thumbnails/radios/motorola/motorola.png
---
File renamed without changes.
2 changes: 1 addition & 1 deletion _shoes-men/low/low.md → _shoes-man/low/low.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
title: Low
layout: grid
menu-name: low
menu-father: shoes-men
menu-father: shoes-man
image: https://s3-us-west-2.amazonaws.com/grupopv-public/assets/img/catalog/thumbnails/radios/motorola/motorola.png
---
File renamed without changes.
2 changes: 1 addition & 1 deletion _shoes-men/mid/mid.md → _shoes-man/mid/mid.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
title: Mid
layout: grid
menu-name: mid
menu-father: shoes-men
menu-father: shoes-man
image: https://s3-us-west-2.amazonaws.com/grupopv-public/assets/img/catalog/thumbnails/radios/motorola/motorola.png
---
6 changes: 6 additions & 0 deletions _shoes-man/shoes-man.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Man's shoes
layout: grid
menu-name: shoes-man
permalink: /shoes-man/
---
6 changes: 0 additions & 6 deletions _shoes-men/shoes-men.md

This file was deleted.

0 comments on commit b7869db

Please sign in to comment.