Skip to content

Commit aebc3c0

Browse files
committed
fix lint issues
1 parent 5d8efb9 commit aebc3c0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+568
-533
lines changed

.github/ISSUE_TEMPLATE/open-an-issue.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ about: Only for actionable issues relevant to this repository.
44
title: ''
55
labels: need/triage
66
assignees: ''
7-
87
---
98

109
<!--

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ This repository contains code and content for the [IPFS Blog & News](https://blo
1212

1313
**If you just want to submit a link (event, academic paper, tutorial, video or news coverage) to add to the site, [use this easy form](https://airtable.com/shrNH8YWole1xc70I)!**
1414

15-
1615
## For post authors/editors
1716

1817
While it's possible to manually PR a new blog post from a local build, **you are strongly encouraged to [use this site's Forestry integration](https://forestry.io) for drafting and editing new content.** Using Forestry offers you WYSIWYG editing (in addition to raw markdown mode), easy image upload/crop tools, and instant previews. If you're an IPFS core team member and don't have Forestry access, contact Jessica Schilling.
@@ -26,33 +25,37 @@ Forestry uses the `staging` branch as a work-in-progress scratchpad for blog con
2625
- To switch between WYSIWYG and raw markdown while writing a blog post, choose "Raw Editor" or "WYSIWYG Editor" from the dots menu at the top right of the page (this is useful if you want to add any HTML, such as a video or Twitter embed):<br/>![image](https://user-images.githubusercontent.com/1507828/110036257-fbe93e00-7cf9-11eb-935c-a70f9d21c14f.png)
2726

2827
### Forestry build preview tips
28+
2929
While WYSIWYG mode usually gives you a good enough idea of what a blog post will look like, you can also load Forestry's own _build preview_ in a new tab by clicking the eye icon at the top right of the page:<br/>![image](https://user-images.githubusercontent.com/1507828/110036918-f4766480-7cfa-11eb-9cf3-a0082e61a7a0.png)
3030

3131
This build preview lets you preview changes to any content type (not just blog posts), and _does not_ require you to save your changes in order to see them.
3232

3333
A few tips:
34+
3435
- Click the eye icon to _regenerate_ a build preview at any time from a Forestry edit page. You may need to reload the build preview tab if you don't see changes come through immediately.
3536
- Occasionally, a build preview page gets stuck at a URL ending in `forestry/pending` or simply won't load. In this case, try the following:
36-
- Remove `forestry/pending` from the URL and try again.
37-
- Check the Previews section of Forestry's [`Site > Settings` page](https://app.forestry.io/sites/lg5t7mxcqbr-da/#/settings/previews) to see the preview server's current status, start/stop/restart the server, or examine the logs for errors. Simply restarting the preview server can fix many problems.
38-
- If all else fails, save your changes, wait a few minutes, and take a look at [Fleek's build of the latest version of the `staging` branch](https://ipfs-blog-staging.on.fleek.co/). It's a considerably slower build/deploy time, but does reflect the latest changes once it finishes deploying.
37+
- Remove `forestry/pending` from the URL and try again.
38+
- Check the Previews section of Forestry's [`Site > Settings` page](https://app.forestry.io/sites/lg5t7mxcqbr-da/#/settings/previews) to see the preview server's current status, start/stop/restart the server, or examine the logs for errors. Simply restarting the preview server can fix many problems.
39+
- If all else fails, save your changes, wait a few minutes, and take a look at [Fleek's build of the latest version of the `staging` branch](https://ipfs-blog-staging.on.fleek.co/). It's a considerably slower build/deploy time, but does reflect the latest changes once it finishes deploying.
3940

4041
### To deploy to the live site
4142

4243
Changes you _save_ in Forestry are written directly to the `staging` branch and automatically generate a staging preview at https://ipfs-blog-staging.on.fleek.co/.
4344

44-
**Once a staged post is ready to go live, please PR `staging` to `main` using [this handy shortcut](https://github.com/ipfs/ipfs-blog/compare/main...staging?expand=1).** *Note that if multiple posts are in-flight in staging and only one is approved to go live, your PR may need some massaging by a reviewer.*
45+
**Once a staged post is ready to go live, please PR `staging` to `main` using [this handy shortcut](https://github.com/ipfs/ipfs-blog/compare/main...staging?expand=1).** _Note that if multiple posts are in-flight in staging and only one is approved to go live, your PR may need some massaging by a reviewer._
4546

4647
_Note for PR reviewers: While we continue to dogfood Forestry, please leave your edits in comments rather than making additional commits._ As our overall workflow continues to solidify, this direction may change.
4748

4849
### To add a URL redirect for a blog post
50+
4951
Please add a new line to [`src/.vuepress/redirects`](https://github.com/ipfs/ipfs-blog/blob/main/src/.vuepress/redirects) and make a PR of the change to `main`.
5052

5153
## For site developers
5254

5355
⚠️ **Important!** All _site development work_ (as opposed to blog posts) should be based on and merged into `main`, **not** `staging`.
5456

5557
### Build and run locally
58+
5659
This site is built in [Vuepress](https://vuepress.vuejs.org/guide/), and uses Vue/JavaScript for functional code and Markdown for post content.
5760

5861
To build a local copy, run the following:
@@ -81,6 +84,7 @@ To build a local copy, run the following:
8184
You can close the local server with `CTRL` + `c`. To restart the local server, run `npm start` from inside the `ipfs-blog` directory.
8285

8386
### PR and preview
87+
8488
Once you're happy with your local changes, please make a PR **against the `main` branch**. Including detailed notes on your PR - particularly screenshots to depict any changes in UI - will help speed up approval and deployment.
8589

8690
All PRs against `main` automatically generate Fleek previews to make it easier to "check your work". You can view your PR's preview by clicking `Details` in the `fleek/build` check at the bottom of your PR page:<br/>

src/.vuepress/theme/components/blog/SearchCategoriesAndTags.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
placeholder="Search for words or #tags"
2727
track-by="name"
2828
label="name"
29-
:limit="['xxl'].includes(this.$mq) ? tagsLimit : tagsList.length"
29+
:limit="['xxl'].includes($mq) ? tagsLimit : tagsList.length"
3030
:options="resolvedTags"
3131
:multiple="true"
3232
:taggable="true"

src/.vuepress/theme/scripts/favicons/favicons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const callback = function (error, response) {
5858
writeFile('html.json', JSON.stringify(response.html))
5959
}
6060

61-
var writeFile = function (fileName, content) {
61+
const writeFile = function (fileName, content) {
6262
fs.writeFile(path.resolve(buildDir, fileName), content, (err) => {
6363
if (err) {
6464
console.error(err)

src/_blog/029-js-ipfs-0.30.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
date: 2018-07-09
3-
permalink: "/40-js-ipfs-0-30/"
3+
permalink: '/40-js-ipfs-0-30/'
44
title: js-ipfs 0.30.0 released
5-
description:
5+
description:
66
author: Alan Shaw
7-
header_image: "/header-image-js-ipfs-placeholder.png"
7+
header_image: '/header-image-js-ipfs-placeholder.png'
88
tags:
9-
- js-ipfs
10-
- breaking change
11-
9+
- js-ipfs
10+
- breaking change
1211
---
12+
1313
Feature parity with go-ipfs just got a whole lot closer!
1414

1515
<blockquote class="twitter-tweet" data-conversation="none" data-lang="en"><p lang="en" dir="ltr">js-ipfs 0.30 has been released live at the <a href="https://twitter.com/hashtag/IPFS?src=hash&amp;ref_src=twsrc%5Etfw">#IPFS</a> Dev Meeting. Thank you everyone for all the love ❤️ <a href="https://t.co/YB9NfGM7WC">https://t.co/YB9NfGM7WC</a> and big hi5 to <a href="https://twitter.com/_alanshaw?ref_src=twsrc%5Etfw">@_alanshaw</a> for driving the whole release forward and being an awesome Lead Maintainer for <a href="https://twitter.com/hashtag/JS?src=hash&amp;ref_src=twsrc%5Etfw">#JS</a> <a href="https://twitter.com/hashtag/IPFS?src=hash&amp;ref_src=twsrc%5Etfw">#IPFS</a> 🚀 <a href="https://t.co/6arftXUxBe">pic.twitter.com/6arftXUxBe</a></p>&mdash; David Dias (@daviddias) <a href="https://twitter.com/daviddias/status/1016364733107228673?ref_src=twsrc%5Etfw">July 9, 2018</a></blockquote>
@@ -68,4 +68,4 @@ Would you like to contribute to the IPFS project and don't know how? Well, there
6868

6969
The best place to ask your questions about IPFS, how it works and what you can do with it is at [discuss.ipfs.io](http://discuss.ipfs.io). We are also available at the #ipfs channel on Freenode.
7070

71-
That is all for this post. Thank you for being part of the community. I bid you a good day!
71+
That is all for this post. Thank you for being part of the community. I bid you a good day!

src/_blog/047-js-ipfs-0.36.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
date: 2019-05-22
3-
permalink: "/89-js-ipfs-0-36/"
3+
permalink: '/89-js-ipfs-0-36/'
44
title: js-ipfs 0.36.0 released
5-
description:
5+
description:
66
author: Alan Shaw
7-
header_image: "/header-image-js-ipfs-placeholder.png"
7+
header_image: '/header-image-js-ipfs-placeholder.png'
88
tags:
9-
- js-ipfs
10-
- breaking change
11-
9+
- js-ipfs
10+
- breaking change
1211
---
12+
1313
> URL safe CIDs, refs commands, DOM File support and more!
1414
1515
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">A wild and excitable JS <a href="https://twitter.com/hashtag/IPFS?src=hash&amp;ref_src=twsrc%5Etfw">#IPFS</a> 0.36 just darted across the street and into the npm module store 🏇💨. It&#39;s got 🧬 Base32 encoded v1 CIDs, 👉 refs and refs local commands, 🗄 support for adding DOM File objects and loads more! <a href="https://t.co/zIFEfQX325">https://t.co/zIFEfQX325</a></p>&mdash; Alan Shaw (@_alanshaw) <a href="https://twitter.com/_alanshaw/status/1131145571408986112?ref_src=twsrc%5Etfw">May 22, 2019</a></blockquote>
@@ -180,4 +180,4 @@ Would you like to contribute to the IPFS project and don't know how? Well, there
180180

181181
# ⁉️ Do you have questions?
182182

183-
The best place to ask your questions about IPFS, how it works and what you can do with it is at [discuss.ipfs.io](http://discuss.ipfs.io). We are also available at the `#ipfs` channel on Freenode.
183+
The best place to ask your questions about IPFS, how it works and what you can do with it is at [discuss.ipfs.io](http://discuss.ipfs.io). We are also available at the `#ipfs` channel on Freenode.

src/_blog/meet-the-new-ipfs-blog-news.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ title: Meet the New IPFS Blog & News
44
description: Introducing your new portal for the IPFS blog, news, and more!
55
author: Jessica Schilling
66
date: 2021-04-07
7-
permalink: "/2021-04-07-relaunched-ipfs-blog-news/"
7+
permalink: '/2021-04-07-relaunched-ipfs-blog-news/'
88
translationKey: ''
9-
header_image: "/2021-04-05-cardheader-newblog.png"
10-
9+
header_image: '/2021-04-05-cardheader-newblog.png'
1110
---
12-
If you're a regular reader of the IPFS blog, you might notice something a little different around here: **The IPFS Starlog is now the new and improved** [**IPFS Blog & News**](/)**!**
11+
12+
If you're a regular reader of the IPFS blog, you might notice something a little different around here: **The IPFS Starlog is now the new and improved** [**IPFS Blog & News**](/)**!**
1313

1414
## What's new
1515

1616
Starting with rounds of user interviewing and testing at the end of 2020, we set about improving this blog to give the global IPFS community more of what readers asked for: more worldwide IPFS news, more links to tutorials and other learning resources, and an easier place to find information about things like IPFS events and the latest release notes for IPFS projects and repos. To that end, we're excited to say that this new IPFS Blog & News site is your home for **not only the latest from the IPFS blog, but also info on ...**
1717

18-
* [**Events**](/?category=Event), hackathons, and other virtual and real-world get-togethers
19-
* [**News coverage**](/?category=News%20coverage) from global media sources
20-
* [**IPFS tutorials**](/?category=Tutorial) and other how-tos from across the internet
21-
* [**Videos**](/?category=Video) on IPFS and related projects that have made the blog team go "wow"
22-
* [**Release notes**](/?category=Release%20notes) for `go-ipfs`, `js-ipfs`, GUI tools like IPFS Companion and IPFS Desktop, and other key projects and repos
23-
* [**Academic papers**](/?category=Academic%20paper) featuring IPFS
18+
- [**Events**](/?category=Event), hackathons, and other virtual and real-world get-togethers
19+
- [**News coverage**](/?category=News%20coverage) from global media sources
20+
- [**IPFS tutorials**](/?category=Tutorial) and other how-tos from across the internet
21+
- [**Videos**](/?category=Video) on IPFS and related projects that have made the blog team go "wow"
22+
- [**Release notes**](/?category=Release%20notes) for `go-ipfs`, `js-ipfs`, GUI tools like IPFS Companion and IPFS Desktop, and other key projects and repos
23+
- [**Academic papers**](/?category=Academic%20paper) featuring IPFS
2424

2525
Plus, we've added **subject tags**, **author indexing**, and **text search** to make it easier to find just what you're looking for — and to explore new ideas and topics from there.
2626

@@ -32,4 +32,4 @@ Ever wanted to be a citizen reporter? Here's your chance. As a member of the glo
3232

3333
## And thanks are in order ...
3434

35-
Big thanks to everyone in the IPFS community who was a part of the relaunch — suggesting features, taking part in user testing, writing the code, or adding blog posts and links. We look forward to your thoughts on the new blog & news site ... and don't forget, you can always submit news links, events, papers, tutorials or videos yourself by using [this handy form](https://airtable.com/shrNH8YWole1xc70I).
35+
Big thanks to everyone in the IPFS community who was a part of the relaunch — suggesting features, taking part in user testing, writing the code, or adding blog posts and links. We look forward to your thoughts on the new blog & news site ... and don't forget, you can always submit news links, events, papers, tutorials or videos yourself by using [this handy form](https://airtable.com/shrNH8YWole1xc70I).

src/_blog/weekly-002.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
date: 2016-01-13
3-
permalink: "/5-ipfs-weekly-2/"
3+
permalink: '/5-ipfs-weekly-2/'
44
title: IPFS Weekly 2
5-
description:
5+
description:
66
author: Richard Littauer, Andrew Chin
77
tags:
8-
- weekly
9-
header_image: "/header-image-weekly-newsletter.png"
10-
8+
- weekly
9+
header_image: '/header-image-weekly-newsletter.png'
1110
---
11+
1212
[IPFS](//ipfs.io/) is a new hypermedia distribution protocol, addressed by content and identities, aiming to make the web faster, safer, and more open. In these posts, we highlight some of the development that has happened in the past week. For anyone looking to get involved, follow the embedded hyperlinks, search the wealth of information on [GitHub](//github.com/ipfs) or join us on [IRC](//webchat.freenode.net/?channels=ipfs) (#ipfs on the Freenode network).
1313

1414
Here are some of the highlights for the [January 5th](//github.com/ipfs/pm/issues/77) Sprint:
@@ -53,4 +53,4 @@ Thanks, and see you next week! If you have cool things to share for the next wee
5353

5454
- Richard Littauer and Andrew Chin
5555

56-
_Submit feedback about this issue [here](//github.com/ipfs/weekly/issues/10), or send us [feedback about the IPFS Weekly in general](//github.com/ipfs/weekly/issues/7)._
56+
_Submit feedback about this issue [here](//github.com/ipfs/weekly/issues/10), or send us [feedback about the IPFS Weekly in general](//github.com/ipfs/weekly/issues/7)._

src/_blog/weekly-003.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
date: 2016-02-01
3-
permalink: "/6-ipfs-weekly-3/"
3+
permalink: '/6-ipfs-weekly-3/'
44
title: IPFS Weekly 3
5-
description:
5+
description:
66
author: Richard Littauer, Andrew Chin
77
tags:
8-
- weekly
9-
header_image: "/header-image-weekly-newsletter.png"
10-
8+
- weekly
9+
header_image: '/header-image-weekly-newsletter.png'
1110
---
11+
1212
[IPFS](//ipfs.io/) is a new hypermedia distribution protocol, addressed by content and identities, aiming to make the web faster, safer, and more open. In these posts, we highlight some of the development that has happened in the past week. For anyone looking to get involved, follow the embedded hyperlinks, search the wealth of information on [GitHub](//github.com/ipfs) or join us on [IRC](//webchat.freenode.net/?channels=ipfs) (#ipfs on the Freenode network).
1313

1414
If you would like to get this update as an email, sign up for our [weekly newsletter](http://eepurl.com/gL2Pi5)!
@@ -149,4 +149,4 @@ Thanks, and see you next week! If you have cool things to share for the next wee
149149

150150
- Richard Littauer and Andrew Chin
151151

152-
_Submit feedback about this issue [here](//github.com/ipfs/weekly/pull/14), or send us [feedback about the IPFS Weekly in general](//github.com/ipfs/weekly/issues/7)._
152+
_Submit feedback about this issue [here](//github.com/ipfs/weekly/pull/14), or send us [feedback about the IPFS Weekly in general](//github.com/ipfs/weekly/issues/7)._

src/_blog/weekly-004.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
date: 2016-02-05
3-
permalink: "/7-ipfs-weekly-4/"
3+
permalink: '/7-ipfs-weekly-4/'
44
title: IPFS Weekly 4
5-
description:
5+
description:
66
author: Richard Littauer, Andrew Chin
77
tags:
8-
- weekly
9-
header_image: "/header-image-weekly-newsletter.png"
10-
8+
- weekly
9+
header_image: '/header-image-weekly-newsletter.png'
1110
---
11+
1212
[IPFS](//ipfs.io/) is a new hypermedia distribution protocol, addressed by content and identities, aiming to make the web faster, safer, and more open. In these posts, we highlight some of the development that has happened in the past week. For anyone looking to get involved, follow the embedded hyperlinks, search the wealth of information on [GitHub](//github.com/ipfs) or join us on [IRC](//webchat.freenode.net/?channels=ipfs) (#ipfs on the Freenode network).
1313

1414
If you would like to get this update as an email, sign up for our [weekly newsletter](http://eepurl.com/gL2Pi5)!
@@ -112,4 +112,4 @@ Thanks, and see you next week! If you have cool things to share for the next wee
112112

113113
- Richard Littauer and Andrew Chin
114114

115-
_Submit feedback about this issue [here](https://github.com/ipfs/weekly/pull/16), or send us [feedback about the IPFS Weekly in general](//github.com/ipfs/weekly/issues/7)._
115+
_Submit feedback about this issue [here](https://github.com/ipfs/weekly/pull/16), or send us [feedback about the IPFS Weekly in general](//github.com/ipfs/weekly/issues/7)._

0 commit comments

Comments
 (0)