Skip to content

Commit

Permalink
Revert "removing pages"
Browse files Browse the repository at this point in the history
This reverts commit 445f68c.
  • Loading branch information
Natooz committed Oct 8, 2023
1 parent 445f68c commit 7139cf1
Show file tree
Hide file tree
Showing 931 changed files with 98,989 additions and 0 deletions.
79 changes: 79 additions & 0 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

# Default to bash
defaults:
run:
shell: bash

jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.111.3
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass Embedded
run: sudo snap install dart-sass-embedded
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
cp -r ./page/* . && \
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./public

# Deployment job
deploy:
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
Empty file added page/.hugo_build.lock
Empty file.
261 changes: 261 additions & 0 deletions page/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,261 @@
baseURL = "/bpe-symbolic-music"
languageCode = "en"
title = "Byte Pair Encoding for Symbolic Music"
theme = ["hugo-embed-pdf-shortcode", "color-your-world"]

# Used only in the RSS file
# copyright = "Copyright © 2021, John Doe; All rights reserved."

enableEmoji = true
enableInlineShortcodes = true

paginate = 3


# TEST
# Netlify _headers
[outputs]
home = [ "HTML", "RSS", "HEADERS", "REDIRECTS" ]
section = [ "HTML", "RSS" ]

[mediaTypes."text/netlify"]
suffixes = [ "" ]
delimiter = ""

[outputFormats.HEADERS]
mediaType = "text/netlify"
baseName = "_headers"
isPlainText = true
notAlternative = true

# Necessary for i18n sites, so the correct 404 page can be rendered
[outputFormats.REDIRECTS]
mediaType = "text/netlify"
baseName = "_redirects"
isPlainText = true
notAlternative = true


[markup.highlight]
# To make use of the custom Chroma, this should be false
# The default is true
noClasses = false



[params]

# Site description
description = "BPE for Symbolic Music"

# Author
author = "John Doe"
authorDesc = "BPE for Symbolic Music"

# Footer text
# Each value will become a paragraph
# Keep it as an array
# footerText = [ "Generated with [Hugo](https://gohugo.io) using the [Color Your World](https://gitlab.com/rmaguiar/hugo-theme-color-your-world) theme." ]

# Site cover, for Open Graph, Twitter Cards and Schema.org
# It will be used if the current page doesn't have a image cover
# File will be picked from the "assets" directory
# Comment the lines if you don't want to use it
#cover = "img/cover.jpg"
#coverAlt = "A placeholder that doesn't deserve to be described."

# Shows a message in the footer about JavaScript being disabled
# The default is false
hasNoscriptNotice = true

# Default path for images in posts
# ie.: "content/some-post/img"
# Can also be set PER PAGE
# It can be used to reduce repetition
# There's no default value
imgPath = "img"

# Default classes for markup image
# Modifies the default behavior of images placed via markdown
# Can also be set PER PAGE via front matter
# Available classes are: border and borderless
# There's no default value
markupImgClass = ""

# This will append a separator (of your choice) along the site title to your <title>
# ie.: | ❚ - – — • ⚫
# You can disabled it PER PAGE by using "disableTitleSeparator" at front
# matter or disable it entirely by commenting the line below
titleSeparator = "|"

# Contact form shortcode
[params.contact]

# formspree.io Form ID
formspreeFormId = "example"

# Autocomplete [on/off] and min character length for message
autoComplete = false # Default is false
messageMinLength = 140 # Default is 140

# Subject
# You can set a single value below (and it will cease to be a dropdown),
# BUT KEEP IT AS AN ARRAY
# It can also be disabled entirely (and it will turn into a text field)
subject = [ 'Just saying "hi"', "I know what you did last winter", "... Is that a sloth?", "お前はもう死んでいる。" ]

# Text placeholders. As usual, comment the lines if you don't want use them
# The "subject" below will only be used if the "subject" above doesn't exist (ie.: commented/deleted)
[params.contact.placeholder]
name = "Jane Doe"
email = "[email protected]"
subject = 'Just saying "hi"'
message = "Aenean lacinia bibendum nulla sed consectetur. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Donec ullamcorper nulla non metus auctor fringilla nullam quis risus."


[params.search]

# Enable search form (at the post list)
# The default value is false
enable = true

# Limit search results
# The default value is 30
maxResults = 15

# Limit seach field input and pattern matching
minLength = 2 # Default is 3
maxLength = 42 # Default is 32

# Optional placeholder for search field
placeholder = "ie.: lorem ipsum"


[params.style]

# Dark mode as default
# User preferences (site/system settings) will still have priority over it
# The default is false
isDark = true

# Disable the use of system settings (prefers-color-scheme)
# The default is false
ignoreSystemSettings = false

# Accent colors for dark and light mode respectively
darkAccent = "#1dbc91" # Default is "#1dbc91"
lightAccent = "#1f676b" # Default is "#1f676b"

# More colors, pick as many as you want (not really sure if there's a limit)
# Apparently these may not show up on every modern browser (ie. Firefox)
# There's no default value. Used here just as example
presets = [ "#225670", "#dd587c", "#902b37", "#f3a530", "#754e85", "#7fc121", "#a8314a", "#ff7433", "#3e6728", "#c063bd", "#805080", "#9d629d", "#a064a0", "#7daa50", "#284531", "#285790", "#F5A83D", "#88aa33", "#015660", "#bf274e", "#bf4242", "#51b37c" ]

# Use an icon or text for footnote return links
# The default is false
hasIconAsFootnoteReturnLink = true

# For the social shortcode
# Use flexbox (with flex-grow) or grid (equal width)
# The default is false
socialIsFlex = false

# Keep anchor links hidden until it's focused/hovered
# The default is false
hideAnchors = true

# To make use of the custom Chroma, this should be true
# and "noClasses" (at markup.highlight) should be false
# The default is true
useCustomChroma = true

# CSS animation transition when changing colors
# The default is ".5s ease"
changeTransition = ".3s ease"


# For a simple 404
[params.notFound]
title = "Page not found"
description = "This page was not found."
paragraph = "Nothing to see here, buddy."

[params.social.centralized]
facebook = [ "<username>", "Zuckerburg" ]
flickr = [ "<username>" ]
github = [ "<username>" ]
gitlab = [ "<username>" ]
instagram = [ "<username>" ]
keybase = [ "<username>" ]
linkedin = [ "<username>" ]
medium = [ "<username>" ]
reddit = [ "<username>" ]
snapchat = [ "<username>" ]
soundcloud = [ "<username>" ]
stackOverflow = [ "<username>" ]
strava = [ "<username>" ]
telegram = [ "<username>" ]
twitch = [ "<username>" ]
twitter = [ "<username>", "@birb" ]
vimeo = [ "<username>" ]
whatsapp = [ "<number>" ]
xing = [ "<username>" ]
youtube = [ "<channelid>" ]
#entry = [ "username", "label (optional)" ]

# The "entry" here IS important. It's used to load the data.

[params.social.decentralized]

[params.social.decentralized.element]
1 = [ "https://app.element.io/#/user/<username>:matrix.org", "matrix.org" ]
#entry = [ "full url", "label (required)" ]

[params.social.decentralized.funkwhale]
1 = [ "https://open.audio/<username>", "open.audio" ]

[params.social.decentralized.mastodon]
1 = [ "https://mastodon.social/<username>", "mastodon.social" ]
2 = [ "https://mastodon.too/<username>", "mastodon.too" ]
3 = [ "https://yet.another.one/<username>", "yet.another.one" ]

[params.social.decentralized.matrix]
1 = [ "https://matrix.to/#/<username>:matrix.org", "matrix.org" ]
2 = [ "https://matrix.to/#/<username>:other.org", "other.org" ]

[params.social.decentralized.peertube]
1 = [ "https://peertube.something/accounts/<username>", "peertube.something" ]

[params.social.decentralized.pixelfed]
1 = [ "https://pixelfed.social/<username>", "pixelfed.social" ]

# The "entry" here ISN'T important. It's used for nothing.


[privacy]

[privacy.vimeo]
disabled = false
simple = true

[privacy.twitter]
disabled = false
enableDNT = true
simple = true

[privacy.instagram]
disabled = false
simple = true

[privacy.youtube]
disabled = false
privacyEnhanced = true

[services]

[services.instagram]
disableInlineCSS = true

[services.twitter]
disableInlineCSS = true

Loading

0 comments on commit 7139cf1

Please sign in to comment.