diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..28e052e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +static/* filter=lfs diff=lfs merge=lfs -text +app/static/chee-parts-of-songs-easy-clacla-some-trop.flac filter=lfs diff=lfs merge=lfs -text +app/static/chee-parts-of-songs-easy-clap-some-trop.flac filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore index 32bd3b0..76c989d 100644 --- a/.gitignore +++ b/.gitignore @@ -193,3 +193,4 @@ flycheck_*.el .flaskenv app/app.db +.env \ No newline at end of file diff --git a/app/static/chee-parts-of-songs-easy-clacla-some-trop.flac b/app/static/chee-parts-of-songs-easy-clacla-some-trop.flac new file mode 100644 index 0000000..98cb48e Binary files /dev/null and b/app/static/chee-parts-of-songs-easy-clacla-some-trop.flac differ diff --git a/app/static/hoohoo b/app/static/hoohoo deleted file mode 100644 index e69de29..0000000 diff --git a/app/templates/_piece.html b/app/templates/_piece.html index f10ec8a..396f1cc 100644 --- a/app/templates/_piece.html +++ b/app/templates/_piece.html @@ -1,11 +1,8 @@

{{piece.name}}

-{{piece.description}} download -{% autoescape false %} - {{piece.html}} -{% endautoescape %} +

{{piece.description}}

{% if piece.type.startswith("audio/") %} @@ -47,3 +44,4 @@

about="{{collection.country}}"> {{collection.country}} . +
diff --git a/app/templates/base.html b/app/templates/base.html index 9b0337b..ac1840d 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -1,4 +1,5 @@ + {% if collection %} {{collection.name}} — public dump

{{collection.name}}

diff --git a/package.json b/package.json index 885ed2d..ac4fe1e 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { - "name": "cc0-application", - "version": "1.0.0", - "main": "index.js", - "scripts": { - "build": "pip3 install -r requirements.txt", - "start": "uwsgi --ini cc0.ini", - "dev": "flask run" - }, - "author": "cc0 ", - "license": "CC-0", - "description": "cc0 application on snoot.club" + "name": "cc0-application", + "version": "1.0.0", + "main": "index.js", + "scripts": { + "build": "pip3 install -r requirements.txt", + "start": "source ./venv/bin/activate; uwsgi --ini cc0.ini", + "dev": "flask run" + }, + "author": "cc0 ", + "license": "CC-0", + "description": "cc0 application on snoot.club" }