diff options
author | luxagraf <sng@luxagraf.net> | 2019-04-14 15:28:08 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-04-14 15:28:08 -0500 |
commit | 161a8f1917f17f169ca750e37a18d4f35014c6fa (patch) | |
tree | cac997a99ab6462d1a17519fcf6638f26dc26e91 | |
parent | c86f97043740f511075bf6ccde8d61276bd6e4df (diff) |
fixed but that put unpublished src posts in sitemap
-rw-r--r-- | app/src/models.py | 3 | ||||
-rw-r--r-- | design/sass/_details.scss | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/src/models.py b/app/src/models.py index ff829e1..5f3f2fd 100644 --- a/app/src/models.py +++ b/app/src/models.py @@ -163,8 +163,7 @@ class SrcSitemap(Sitemap): def items(self): return list(chain( - Post.objects.all(), - Book.objects.all(), + Post.objects.all(status=1), Topic.objects.all() )) diff --git a/design/sass/_details.scss b/design/sass/_details.scss index a24227b..b84e680 100644 --- a/design/sass/_details.scss +++ b/design/sass/_details.scss @@ -204,7 +204,7 @@ h4.post-source { text-decoration: none; } } -.post-essay p:first-child:first-letter { +.post-essay ~ p:first-child:first-letter { @include fancy_sans; font-size: 75px; line-height: 60px; |