diff --git a/app/signup/migrations/0001_initial.py b/app/signup/migrations/0001_initial.py index ab412e6..e190ce2 100644 --- a/app/signup/migrations/0001_initial.py +++ b/app/signup/migrations/0001_initial.py @@ -1,4 +1,3 @@ -# flake8: noqa # Generated by Django 5.0.1 on 2024-01-12 10:04 from django.db import migrations, models @@ -15,7 +14,8 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Signup', fields=[ - ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('id', models.BigAutoField(auto_created=True, + primary_key=True, serialize=False, verbose_name='ID')), ('email', models.EmailField(max_length=254)), ('created_at', models.DateTimeField(auto_now_add=True)), ('anonymized_ip', models.GenericIPAddressField()), @@ -25,6 +25,7 @@ class Migration(migrations.Migration): ), migrations.AddConstraint( model_name='signup', - constraint=models.UniqueConstraint(fields=('email',), name='unique_email'), + constraint=models.UniqueConstraint( + fields=('email',), name='unique_email'), ), ] diff --git a/blog/themes/default/README.md b/blog/themes/default/README.md deleted file mode 100644 index 3b6ddfb..0000000 --- a/blog/themes/default/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# Simple Style Hugo Theme - -My simple style hugo theme, based on [this webpage template](https://yanlinlin82.github.io/webpage-templates/simple-style/index.html) - -Online demo of this theme: [simple-style-demo](https://yanlinlin82.github.io/simple-style-demo/) - -## Supported Parameters - -In `config.toml` - -``` -[params] -subtitle = "Sub title of the site" -favicon = "//logo.ico" -githubUrl = "https://github.com///" -referrer = "always" -author = "..." -description = "..." -keywords = "..." -googleSiteVerification = "" -search = "..." # baidu, google, bing, duckduckgo -dateFormat = "Mon Jan 2 15:04:05 MST 2006" # see: https://gohugo.io/functions/format/#gos-layout-string -externalLinkIcon = true -externalLinkNewWindow = true -``` diff --git a/flake.nix b/flake.nix index b1c470c..ce307e0 100644 --- a/flake.nix +++ b/flake.nix @@ -68,6 +68,7 @@ entry = "${pkgs.python3Packages.autopep8}/bin/autopep8 -i"; files = "\\.py$"; }; + markdownlint.enable = true; unit-tests = { enable = false; # ?? this is a directory, how do I run the script?