Skip to content

Commit 8caa661

Browse files
committed
netlify
1 parent 26a2ce4 commit 8caa661

8 files changed

Lines changed: 53 additions & 8 deletions

‎.gitignore‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
public
1+
public
2+
resources

‎.gitmodules‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
[submodule "themes/reveal-hugo"]
22
path = themes/reveal-hugo
33
url = https://github.com/dzello/reveal-hugo
4-
[submodule "themes/hyde"]
5-
path = themes/hyde
6-
url = https://github.com/spf13/hyde.git

‎README.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Algorithmica new website
2+
3+
Technical changes:
4+
* pandoc -> Hugo
5+
* CSS -> Sass
6+
* Github Pages -> Netlify
7+
* algorithmica.org/{lang}/* -> {lang}.algorithmica.org/*
8+
* Yandex.Metrica -> Google Analytics
9+
10+
New features:
11+
* multilingual support
12+
* responsive design
13+
* sections
14+
* auto-generated menu
15+
* browser-side search
16+
* dark theme
17+
* jupyter notebooks
18+
* slides via reveal.js
19+
* merge with wiki.algocode.ru and e-maxx.ru/algo
20+
21+
Work in progress. Trello board: https://trello.com/b/0aLj7zla/algorithmicaorg

‎netlify.toml‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[build]
2+
publish = "public"
3+
command = "hugo --gc --minify"
4+
5+
[context.production.environment]
6+
HUGO_VERSION = "0.68.0"
7+
HUGO_ENV = "production"
8+
HUGO_ENABLEGITINFO = "true"
9+
10+
[context.split1]
11+
command = "hugo --gc --minify --enableGitInfo"
12+
13+
[context.split1.environment]
14+
HUGO_VERSION = "0.68.0"
15+
HUGO_ENV = "production"
16+
17+
[context.deploy-preview]
18+
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
19+
20+
[context.deploy-preview.environment]
21+
HUGO_VERSION = "0.68.0"
22+
23+
[context.branch-deploy]
24+
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
25+
26+
[context.branch-deploy.environment]
27+
HUGO_VERSION = "0.68.0"
28+
29+
[context.next.environment]
30+
HUGO_ENABLEGITINFO = "true"

‎resources/_gen/assets/sass/dark.sass_48b060fe05b0a273d182ef83c0605941.content‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎resources/_gen/assets/sass/dark.sass_48b060fe05b0a273d182ef83c0605941.json‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎resources/_gen/assets/sass/style.sass_48b060fe05b0a273d182ef83c0605941.content‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎resources/_gen/assets/sass/style.sass_48b060fe05b0a273d182ef83c0605941.json‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)