-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit bab177d
Showing
24 changed files
with
925 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Deploy website to GitHub Pages | ||
|
||
env: | ||
WC_HUGO_VERSION: '0.122.0' | ||
|
||
on: | ||
# Trigger the workflow every time you push to the `main` branch | ||
push: | ||
branches: ["main"] | ||
# Allows you to run this workflow manually from the Actions tab on GitHub. | ||
workflow_dispatch: | ||
|
||
# Provide permission to clone the repo and deploy it to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Build website | ||
build: | ||
if: github.repository_owner != 'HugoBlox' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
# Fetch history for Hugo's .GitInfo and .Lastmod | ||
fetch-depth: 0 | ||
- name: Setup Hugo | ||
uses: peaceiris/actions-hugo@v2 | ||
with: | ||
hugo-version: ${{ env.WC_HUGO_VERSION }} | ||
extended: true | ||
- uses: actions/cache@v3 | ||
with: | ||
path: /tmp/hugo_cache_runner/ | ||
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.mod') }} | ||
restore-keys: | | ||
${{ runner.os }}-hugomod- | ||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v3 | ||
- name: Build with Hugo | ||
env: | ||
HUGO_ENVIRONMENT: production | ||
run: | | ||
echo "Hugo Cache Dir: $(hugo config | grep cachedir)" | ||
hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/" | ||
- name: Generate Pagefind search index | ||
run: npx pagefind --source "public" | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: ./public | ||
|
||
# Deploy website to GitHub Pages hosting | ||
deploy: | ||
if: github.repository_owner != 'HugoBlox' | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Generated files by hugo | ||
/public/ | ||
/resources/_gen/ | ||
/assets/jsconfig.json | ||
hugo_stats.json | ||
|
||
# Executable may be added to repository | ||
hugo.exe | ||
hugo.darwin | ||
hugo.linux | ||
|
||
# Temporary lock file while building | ||
/.hugo_build.lock | ||
|
||
# Mac | ||
.DS_Store | ||
|
||
# IDE | ||
.vscode/* | ||
.idea/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "themes/Academia-hugo"] | ||
path = themes/Academia-hugo | ||
url = [email protected]:WilliamAboucaya/Academia-hugo.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: "{{ replace .Name "-" " " | title }}" | ||
date: {{ .Date }} | ||
draft: true | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Configuration of Academia | ||
# Documentation: https://sourcethemes.com/academic/ | ||
# | ||
# This file is formatted using TOML syntax - learn more at https://learnxinyminutes.com/docs/toml/ | ||
# Each configuration section is defined by a name in square brackets (e.g. `[outputs]`). | ||
|
||
# Title of your site | ||
title = "William Aboucaya" | ||
|
||
# The URL of your site. | ||
# End your URL with a `/` trailing slash, e.g. `https://example.com/`. | ||
baseURL = "https://williamaboucaya.github.io/" | ||
|
||
# Enter a copyright notice to display in the site footer. | ||
# To display a copyright symbol, type `©`. For current year, type `{year}`. | ||
copyright = "" | ||
|
||
# Enable analytics by entering your Google Analytics tracking ID | ||
googleAnalytics = "" | ||
|
||
# Enable comments by entering your Disqus shortname | ||
disqusShortname = "" | ||
|
||
############################ | ||
## Advanced options below ## | ||
############################ | ||
|
||
# Name of Academia theme folder in `themes/`. | ||
theme = "Academia-hugo" | ||
|
||
# Get last modified date for content from Git? | ||
enableGitInfo = false | ||
|
||
# Default language to use (if you setup multilingual support) | ||
defaultContentLanguage = "en" | ||
hasCJKLanguage = false # Set `true` for Chinese/Japanese/Korean languages. | ||
defaultContentLanguageInSubdir = false | ||
removePathAccents = true # Workaround for https://github.com/gohugoio/hugo/issues/5687 | ||
|
||
paginate = 10 # Number of items per page in paginated lists. | ||
enableEmoji = true | ||
footnotereturnlinkcontents = "<sup>^</sup>" | ||
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"] | ||
|
||
[outputs] | ||
home = [ "HTML", "RSS", "JSON" ] | ||
section = [ "HTML", "RSS" ] | ||
|
||
# Configure BlackFriday Markdown rendering. | ||
# See: https://gohugo.io/getting-started/configuration/#configure-blackfriday | ||
[blackfriday] | ||
hrefTargetBlank = true # `true` opens external links in a new tab. See https://github.com/gohugoio/hugo/issues/2424 | ||
angledQuotes = false | ||
latexDashes = true | ||
extensions = ["backslashLineBreak"] | ||
|
||
[imaging] | ||
resampleFilter = "lanczos" | ||
quality = 90 | ||
anchor = "smart" # Anchor for cropping. Options include Smart and Center. | ||
|
||
# Taxonomies. | ||
[taxonomies] | ||
tag = "tags" | ||
category = "categories" | ||
publication_type = "publication_types" | ||
author = "authors" | ||
|
||
[markup.goldmark.renderer] | ||
unsafe = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Languages | ||
# Create a `[X]` block for each language you want, where X is the language ID. | ||
# Refer to https://sourcethemes.com/academic/docs/language/ | ||
|
||
[fr] | ||
languageCode = "fr-fr" | ||
contentDir = "content/fr" | ||
|
||
[fr.params] | ||
office_hours = """Du lundi au vendredi de 09:00 à 17:30""" | ||
contact_links = [ | ||
# {icon = "twitter", icon_pack = "fab", name = "DM Me", link = "https://twitter.com/Twitter"}, | ||
# {icon = "skype", icon_pack = "fab", name = "Skype Me", link = "skype:echo123?call"}, | ||
# {icon = "keybase", icon_pack = "fab", name = "Chat on Keybase", link = "https://keybase.io/"}, | ||
{icon = "github", icon_pack = "fab", name = "Regardez mon travail sur GitHub", link = "https://github.com/WilliamAboucaya"}, | ||
# {icon = "comments", icon_pack = "fas", name = "Parlez moi par forum", link = "https://discourse.gohugo.io"}, | ||
# {icon = "telegram", icon_pack = "fab", name = "Telegram Me", link = "https://telegram.me/@Telegram"}, | ||
] | ||
|
||
[en] | ||
languageCode = "en-us" | ||
contentDir = "content/en" | ||
# title = "Chinese website title..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Navigation Links | ||
# To link a homepage widget, specify the URL as a hash `#` followed by the filename of the | ||
# desired widget in your `content/home/` folder. | ||
# The weight parameter defines the order that the links will appear in. | ||
|
||
[[main]] | ||
name = "Home" | ||
url = "#about" | ||
weight = 10 | ||
|
||
[[main]] | ||
name = "Publications" | ||
url = "#publications" | ||
weight = 20 | ||
|
||
# [[main]] | ||
# name = "Projects" | ||
# url = "#projects" | ||
# weight = 30 | ||
|
||
[[main]] | ||
name = "Experience" | ||
url = "#experience" | ||
weight = 40 | ||
|
||
# [[main]] | ||
# name = "Courses" | ||
# url = "courses/" | ||
# weight = 50 | ||
|
||
[[main]] | ||
name = "Contact" | ||
url = "#contact" | ||
weight = 60 | ||
# Link to a PDF of your resume/CV from the menu. | ||
# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below. | ||
[[main]] | ||
name = "CV" | ||
url = "files/cv_William_Aboucaya.pdf" | ||
weight = 70 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Navigation Links | ||
# To link a homepage widget, specify the URL as a hash `#` followed by the filename of the | ||
# desired widget in your `content/home/` folder. | ||
# The weight parameter defines the order that the links will appear in. | ||
|
||
[[main]] | ||
name = "À propos" | ||
url = "#about" | ||
weight = 10 | ||
|
||
[[main]] | ||
name = "Publications" | ||
url = "#publications" | ||
weight = 20 | ||
|
||
# [[main]] | ||
# name = "Projets" | ||
# url = "#projects" | ||
# weight = 30 | ||
|
||
[[main]] | ||
name = "Expérience" | ||
url = "#experience" | ||
weight = 40 | ||
|
||
# [[main]] | ||
# name = "Cours" | ||
# url = "courses/" | ||
# weight = 50 | ||
|
||
[[main]] | ||
name = "Contact" | ||
url = "#contact" | ||
weight = 60 | ||
|
||
# Link to a PDF of your resume/CV from the menu. | ||
# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below. | ||
[[main]] | ||
name = "CV" | ||
url = "../files/cv_William_Aboucaya.pdf" | ||
weight = 70 |
Oops, something went wrong.