Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
Fix: Edit this page links (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo authored Apr 30, 2020
1 parent 9f32c18 commit f3f508b
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions _includes/footer.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<div class="container">
<footer>
<ul class="list-inline">
{% if page.edit_link %}
<li><a href="{{ page.edit_link }}">Edit this page</a></li>
{% if edit_link %}
<li><a href="{{ edit_link }}">Edit this page</a></li>
{% else %}
<li><a href="https://github.com/eslint/website/edit/master/{{ page.inputPath }}">Edit this page</a></li>
{% endif %}
Expand Down
1 change: 0 additions & 1 deletion _pages/404.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: 404
layout: doc
edit_link: https://github.com/eslint/eslint.github.io/edit/master/_pages/404.md
---

<h1 class="four-oh-four-header">
Expand Down
1 change: 0 additions & 1 deletion _pages/blog.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: ESLint Blog
layout: doc
permalink: blog/index.html
edit_link: https://github.com/eslint/eslint.github.io/edit/master/_pages/blog.html
---

<br/>
Expand Down
2 changes: 1 addition & 1 deletion _pages/cla.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: ESLint Contributor License Agreement
layout: content-only
edit_link: https://github.com/eslint/eslint.github.io/edit/master/_pages/cla.md
edit_link: https://github.com/eslint/website/edit/master/_pages/cla.md
---
1 change: 0 additions & 1 deletion _pages/demo.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: ESLint Demo
layout: demo
edit_link: https://github.com/eslint/eslint.github.io/edit/master/_pages/demo.html
---

<div id="app">
Expand Down
1 change: 0 additions & 1 deletion _pages/team.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Team
layout: doc
edit_link: https://github.com/eslint/eslint.github.io/edit/master/_pages/team.md
---

<h1>Team</h1>
Expand Down
1 change: 0 additions & 1 deletion _pages/users.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: "Who's Using ESLint?"
layout: doc
edit_link: https://github.com/eslint/eslint.github.io/edit/master/_pages/users.md
---

<h1>Who's Using ESLint?</h1>
Expand Down

0 comments on commit f3f508b

Please sign in to comment.