Skip to content

Commit 2ac9022

Browse files
committed
2 parents 660a578 + e7b600b commit 2ac9022

16 files changed

+31
-99
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,29 @@ When you are initially working your website, it is very useful to be able to pre
2626
```bash
2727
sudo apt install ruby-dev ruby-bundler nodejs
2828
```
29+
If you see error `Unable to locate package ruby-bundler`, `Unable to locate package nodejs `, run the following:
30+
```bash
31+
sudo apt update && sudo apt upgrade -y
32+
```
33+
then try run `sudo apt install ruby-dev ruby-bundler nodejs` again.
34+
2935
On MacOS the commands are:
3036
```bash
3137
brew install ruby
3238
brew install node
3339
gem install bundler
3440
```
3541
1. Run `bundle install` to install ruby dependencies. If you get errors, delete Gemfile.lock and try again.
42+
43+
If you see file permission error like `Fetching bundler-2.6.3.gem ERROR: While executing gem (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/3.2.0 directory.` or `Bundler::PermissionError: There was an error while trying to write to /usr/local/bin.`
44+
Install Gems Locally (Recommended):
45+
```bash
46+
bundle config set --local path 'vendor/bundle'
47+
```
48+
then try run `bundle install` again. If succeeded, you should see a folder called `vendor` and open `.gitignore` then add `vendor` inside it.
49+
3650
1. Run `jekyll serve -l -H localhost` to generate the HTML and serve it from `localhost:4000` the local server will automatically rebuild and refresh the pages on change.
51+
You may also try `bundle exec jekyll serve -l -H localhost` to ensure jekyll to use specific dependencies on your own local machine.
3752
3853
If you are running on Linux it may be necessary to install some additional dependencies prior to being able to run locally: `sudo apt install build-essential gcc make`
3954

_includes/head/custom.html

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,14 @@
22

33
<!-- start custom head snippets -->
44

5-
<link rel="apple-touch-icon" sizes="57x57" href="{{ base_path }}/images/apple-touch-icon-57x57.png?v=M44lzPylqQ">
6-
<link rel="apple-touch-icon" sizes="60x60" href="{{ base_path }}/images/apple-touch-icon-60x60.png?v=M44lzPylqQ">
7-
<link rel="apple-touch-icon" sizes="72x72" href="{{ base_path }}/images/apple-touch-icon-72x72.png?v=M44lzPylqQ">
8-
<link rel="apple-touch-icon" sizes="76x76" href="{{ base_path }}/images/apple-touch-icon-76x76.png?v=M44lzPylqQ">
9-
<link rel="apple-touch-icon" sizes="114x114" href="{{ base_path }}/images/apple-touch-icon-114x114.png?v=M44lzPylqQ">
10-
<link rel="apple-touch-icon" sizes="120x120" href="{{ base_path }}/images/apple-touch-icon-120x120.png?v=M44lzPylqQ">
11-
<link rel="apple-touch-icon" sizes="144x144" href="{{ base_path }}/images/apple-touch-icon-144x144.png?v=M44lzPylqQ">
12-
<link rel="apple-touch-icon" sizes="152x152" href="{{ base_path }}/images/apple-touch-icon-152x152.png?v=M44lzPylqQ">
13-
<link rel="apple-touch-icon" sizes="180x180" href="{{ base_path }}/images/apple-touch-icon-180x180.png?v=M44lzPylqQ">
14-
<link rel="icon" type="image/png" href="{{ base_path }}/images/favicon-32x32.png?v=M44lzPylqQ" sizes="32x32">
15-
<link rel="icon" type="image/png" href="{{ base_path }}/images/android-chrome-192x192.png?v=M44lzPylqQ" sizes="192x192">
16-
<link rel="icon" type="image/png" href="{{ base_path }}/images/favicon-96x96.png?v=M44lzPylqQ" sizes="96x96">
17-
<link rel="icon" type="image/png" href="{{ base_path }}/images/favicon-16x16.png?v=M44lzPylqQ" sizes="16x16">
18-
<link rel="manifest" href="{{ base_path }}/images/manifest.json?v=M44lzPylqQ">
19-
<link rel="mask-icon" href="{{ base_path }}/images/safari-pinned-tab.svg?v=M44lzPylqQ" color="#000000">
20-
<link rel="shortcut icon" href="/images/favicon.ico?v=M44lzPylqQ">
21-
<meta name="msapplication-TileColor" content="#000000">
22-
<meta name="msapplication-TileImage" content="{{ base_path }}/images/mstile-144x144.png?v=M44lzPylqQ">
23-
<meta name="msapplication-config" content="{{ base_path }}/images/browserconfig.xml?v=M44lzPylqQ">
24-
<meta name="theme-color" content="#ffffff">
5+
<!-- favicon from https://commons.wikimedia.org/wiki/File:OOjs_UI_icon_academic-progressive.svg -->
6+
<link rel="apple-touch-icon" sizes="180x180" href="{{ base_path }}/images/apple-touch-icon-180x180.png"/>
7+
<link rel="icon" type="image/svg+xml" href="{{ base_path }}/images/favicon.svg"/>
8+
<link rel="icon" type="image/png" href="{{ base_path }}/images/favicon-32x32.png" sizes="32x32"/>
9+
<link rel="icon" type="image/png" href="{{ base_path }}/images/favicon-192x192.png" sizes="192x192"/>
10+
<link rel="manifest" href="{{ base_path }}/images/manifest.json"/>
11+
<link rel="icon" href="/images/favicon.ico"/>
12+
<meta name="theme-color" content="#ffffff"/>
2513
<link rel="stylesheet" href="{{ base_path }}/assets/css/academicons.css"/>
2614

2715

images/apple-touch-icon-180x180.png

3.27 KB
Loading

images/browserconfig.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

images/favicon-192x192.png

3.66 KB
Loading

images/favicon-32x32.png

819 Bytes
Loading

images/favicon-512x512.png

9.5 KB
Loading

images/favicon.ico

320 Bytes
Binary file not shown.

images/favicon.svg

Lines changed: 1 addition & 0 deletions
Loading

images/manifest.json

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,15 @@
11
{
2-
"name": "Minimal Mistakes",
2+
"name": "OOjs UI icon academic-progressive",
33
"icons": [
44
{
5-
"src": "\/images\/android-chrome-36x36.png?v=M44lzPylqQ",
6-
"sizes": "36x36",
7-
"type": "image\/png",
8-
"density": 0.75
9-
},
10-
{
11-
"src": "\/images\/android-chrome-48x48.png?v=M44lzPylqQ",
12-
"sizes": "48x48",
13-
"type": "image\/png",
14-
"density": 1
15-
},
16-
{
17-
"src": "\/images\/android-chrome-72x72.png?v=M44lzPylqQ",
18-
"sizes": "72x72",
19-
"type": "image\/png",
20-
"density": 1.5
21-
},
22-
{
23-
"src": "\/images\/android-chrome-96x96.png?v=M44lzPylqQ",
24-
"sizes": "96x96",
25-
"type": "image\/png",
26-
"density": 2
27-
},
28-
{
29-
"src": "\/images\/android-chrome-144x144.png?v=M44lzPylqQ",
30-
"sizes": "144x144",
31-
"type": "image\/png",
32-
"density": 3
5+
"src": "/images/favicon-192x192.png",
6+
"sizes": "192x192",
7+
"type": "image/png"
338
},
349
{
35-
"src": "\/images\/android-chrome-192x192.png?v=M44lzPylqQ",
36-
"sizes": "192x192",
37-
"type": "image\/png",
38-
"density": 4
10+
"src": "/images/favicon-512x512.png",
11+
"sizes": "512x512",
12+
"type": "image/png"
3913
}
4014
]
4115
}

images/mstile-144x144.png

-1.14 KB
Binary file not shown.

images/mstile-150x150.png

-1.88 KB
Binary file not shown.

images/mstile-310x150.png

-2.01 KB
Binary file not shown.

images/mstile-310x310.png

-4.61 KB
Binary file not shown.

images/mstile-70x70.png

-1.09 KB
Binary file not shown.

images/safari-pinned-tab.svg

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)