Skip to content

Commit

Permalink
Fix: Changed "url" to be "link" everywhere (PandaSekh#7)
Browse files Browse the repository at this point in the history
* Fix: Changed "url" to be "link" everywhere

* Bundler update

* Removed absolute url modifier
  • Loading branch information
PandaSekh authored May 17, 2021
1 parent 1aff0a6 commit d4badee
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions _data/settings.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
analytics-id:
#Pages
pages:
- {name: 'Episodes', url: 'episodes.html'}
- {name: 'Patreon', url: '#'}
- {name: 'Shop', url: '#'}
- {name: 'GitHub', url: 'https://github.com/PandaSekh'}
- {name: 'Get This Theme', url: 'https://github.com/PandaSekh/Jekyll-Podcaster'}
- {name: 'Episodes', link: 'episodes.html'}
- {name: 'Patreon', link: '#'}
- {name: 'Shop', link: '#'}
- {name: 'GitHub', link: 'https://github.com/PandaSekh'}
- {name: 'Get This Theme', link: 'https://github.com/PandaSekh/Jekyll-Podcaster'}

social:
- {icon: 'instagram', type: "brand", link: '#'}
Expand Down
4 changes: 2 additions & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h1><a href="{{site.url}}">{{site.title}}</a></h1>
<div id = "desktop-nav">
<ul id = "desktop-menu">
{% for item in site.data.settings.pages %}
<li><a href="{{ item.url | absolute_url}}"> {{ item.name }}</a></li>
<li><a href="{{ item.link | absolute_url}}"> {{ item.name }}</a></li>
{% endfor %}
</ul>
</div>
Expand All @@ -21,7 +21,7 @@ <h1><a href="{{site.url}}">{{site.title}}</a></h1>

<ul id = "menu">
{% for item in site.data.settings.pages %}
<li><a href="{{ item.url | absolute_url}}"> {{ item.name }}</a></li>
<li><a href="{{ item.link | absolute_url}}"> {{ item.name }}</a></li>
{% endfor %}
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h3>Where To Listen</h3>
<div id = "lista-siti">
<ul id = "siti">
{% for item in site.data.settings.websites-podcast %}
<li><a href="{{ item.url | absolute_url}}"> {{ item.name }}</a></li>
<li><a href="{{ item.link }}"> {{ item.name }}</a></li>
{% endfor %}
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion jekyll-podcaster.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ Gem::Specification.new do |spec|

spec.add_runtime_dependency "jekyll", "~> 4.0"

spec.add_development_dependency "bundler", "~> 2.1.4"
spec.add_development_dependency "bundler", "~> 2.2.17"
spec.add_development_dependency "rake", "~> 12.0"
end

0 comments on commit d4badee

Please sign in to comment.