From: Thomas Fillon Date: Wed, 2 Sep 2015 14:57:06 +0000 (+0200) Subject: Update templates X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=4d990140805f2cab2283c6ba1dbf161b745b5b82;p=diggersdigest.git Update templates --- diff --git a/.gitignore b/.gitignore index 220c1aa..775ff5e 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,4 @@ pip-log.txt #Volume Directory for docker-compose mysql/ -diggersdigest/static/ \ No newline at end of file +diggersdigest/static/media \ No newline at end of file diff --git a/diggersdigest/records/script_data_recover.py b/diggersdigest/records/script_data_recover.py index 94c790b..da0cc91 100644 --- a/diggersdigest/records/script_data_recover.py +++ b/diggersdigest/records/script_data_recover.py @@ -103,7 +103,7 @@ check_mp3(mp3_mix_list, MIX_PATH) # PODCAST FROM MIX MIX_CATEGORY = 'Podcast' -blog_models.BlogCategory.objects.get_or_create(title='Podcast') +blog_models.BlogCategory.objects.get_or_create(title=MIX_CATEGORY) PODCAST_IMG_PATH = os.path.join('uploads/blog/mixes') PODCAST_AUDIO_PATH = os.path.join('uploads/audio/mixes') diff --git a/diggersdigest/static/css/dig2.css b/diggersdigest/static/css/dig2.css index d58c814..55babe4 100644 --- a/diggersdigest/static/css/dig2.css +++ b/diggersdigest/static/css/dig2.css @@ -1,4 +1,17 @@ .container{ background:url("../img/dotted_background.png" ) repeat; +} + +body { + padding-top: 300px; +} + +hr { + display: block; + height: 2px; + border: 0; + border-top: 2px solid #000; + margin: 1em 0; + padding: 0; } \ No newline at end of file diff --git a/diggersdigest/static/img/diggersdigest_400.png b/diggersdigest/static/img/diggersdigest_400.png index db99b9c..6d29912 100644 Binary files a/diggersdigest/static/img/diggersdigest_400.png and b/diggersdigest/static/img/diggersdigest_400.png differ diff --git a/diggersdigest/templates/base.html b/diggersdigest/templates/base.html index b67b36c..5e30491 100644 --- a/diggersdigest/templates/base.html +++ b/diggersdigest/templates/base.html @@ -50,23 +50,27 @@ + +
+ + + +
diff --git a/diggersdigest/templates/index.html b/diggersdigest/templates/index.html index c0809e8..bce31b3 100644 --- a/diggersdigest/templates/index.html +++ b/diggersdigest/templates/index.html @@ -25,6 +25,10 @@
  • Deploying to a production server
  • {% endblocktrans %} +
    +
    +
    +
    {% load blog_tags keyword_tags i18n mezzanine_tags %} {% blog_recent_posts 5 as recent_posts %} @@ -40,6 +44,9 @@ {% trans "read more" %}
    + {% if recent_post.categories %} + {{ recent_post.categories. }} + {% endif %} {% if settings.BLOG_USE_FEATURED_IMAGE and recent_post.featured_image %} {% block recent_post_list_post_featured_image %}