diff --git a/.github/workflows/broken-links.yml b/.github/workflows/broken-links.yml new file mode 100644 index 0000000..524de81 --- /dev/null +++ b/.github/workflows/broken-links.yml @@ -0,0 +1,18 @@ +name: Check for broken links + +on: + push: + pull_request: + +jobs: + link-checker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Link Checker 🔗 + uses: lycheeverse/lychee-action@v1.9.0 + with: + fail: true + # removed md files that include liquid tags + args: --exclude-path README.md --exclude-path _pages/404.md --exclude-path _pages/blog.md --exclude-path _posts/2018-12-22-distill.md --verbose --no-progress './**/*.md' './**/*.html' diff --git a/CUSTOMIZE.md b/CUSTOMIZE.md index a12533c..6c6a207 100644 --- a/CUSTOMIZE.md +++ b/CUSTOMIZE.md @@ -8,7 +8,6 @@ The project is structured as follows, focusing on the main components that you w ```txt . -├── 📄 404.html: 404 page (page not found) ├── 📂 assets/: contains the assets that are displayed in the website │  └── 📂 json/ │  └── 📄 resume.json: CV in JSON format (https://jsonresume.org/) @@ -19,10 +18,11 @@ The project is structured as follows, focusing on the main components that you w │  ├── 📄 cv.yml: CV in YAML format, used when assets/json/resume.json is not found │  └── 📄 repositories.yml: users and repositories info in YAML format ├── 📂 _includes/: contains code parts that are included in the main HTML file +│  └── 📄 news.liquid: defines the news section layout in the about page ├── 📂 _layouts/: contains the layouts to choose from in the frontmatter of the Markdown files ├── 📂 _news/: the news that will appear in the news section in the about page -├── 📄 news.html: defines the news section layout in the about page -├── 📂 _pages/: contains the pages of the website that are shown in the header +├── 📂 _pages/: contains the pages of the website +| └── 📄 404.md: 404 page (page not found) ├── 📂 _posts/: contains the blog posts ├── 📂 _projects/: contains the projects └── 📂 _sass/: contains the SASS files that define the style of the website @@ -136,7 +136,7 @@ There are several custom bibtex keywords that you can use to affect how the entr - `supp`: Adds a "Supp" button to a specified file (if a full link is not specified, the file will be assumed to be placed in the /assets/pdf/ directory) - `website`: Adds a "Website" button redirecting to the specified link -You can implement your own buttons by editing the [\_layouts/bib.html](_layouts/bib.html) file. +You can implement your own buttons by editing the [\_layouts/bib.liquid](_layouts/bib.liquid) file. ## Changing theme color diff --git a/INSTALL.md b/INSTALL.md index 15741fe..8a4ff07 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -34,7 +34,7 @@ $ docker compose pull $ docker compose up ``` -Note that when you run it for the first time, it will download a docker image of size 400MB or so. To see the template running, open your browser and go to [http://localhost:8888](http://localhost:8888). You should see a copy of the theme's demo website. +Note that when you run it for the first time, it will download a docker image of size 400MB or so. To see the template running, open your browser and go to `http://localhost:8888`. You should see a copy of the theme's demo website. Now, feel free to customize the theme however you like (don't forget to change the name!). After you are done, you can use the same command (`docker compose up`) to render the webpage with all you changes. Also, make sure to commit your final changes. @@ -70,7 +70,7 @@ $ pip install jupyter $ bundle exec jekyll serve --lsi ``` -To see the template running, open your browser and go to [http://localhost:4000](http://localhost:4000). You should see a copy of the theme's [demo website](https://alshedivat.github.io/al-folio/). Now, feel free to customize the theme however you like. After you are done, remember to **commit** your final changes. +To see the template running, open your browser and go to `http://localhost:4000`. You should see a copy of the theme's [demo website](https://alshedivat.github.io/al-folio/). Now, feel free to customize the theme however you like. After you are done, remember to **commit** your final changes. ## Deployment diff --git a/README.md b/README.md index ee2670f..3541622 100644 --- a/README.md +++ b/README.md @@ -296,7 +296,7 @@ Photo formatting is made simple using [Bootstrap's grid system](https://getboots
@@ -318,7 +318,7 @@ You may also use the following codes for displaying this in any other pages. {% if site.data.repositories.github_users %}