Compare commits
2 commits
52e57a3994
...
98115742dd
| Author | SHA1 | Date | |
|---|---|---|---|
| 98115742dd | |||
| 52be4753c4 |
2 changed files with 4 additions and 4 deletions
|
|
@ -2,8 +2,10 @@
|
|||
.topnav {
|
||||
background-color: #222e;
|
||||
position: relative;
|
||||
height: 68px;
|
||||
padding: var(--spacing-2);
|
||||
//height: 68px;
|
||||
//padding: var(--spacing-2);
|
||||
height: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
z-index: 110;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ def index(request):
|
|||
return render(request, 'index.html', context)
|
||||
|
||||
def page(request, slug=''):
|
||||
print('page!!', slug)
|
||||
context = {}
|
||||
if slug == "":
|
||||
return index(request)
|
||||
|
|
@ -44,7 +43,6 @@ def texts(request):
|
|||
return render(request, 'texts.html', context)
|
||||
|
||||
def text(request, slug):
|
||||
print('find text', slug)
|
||||
context = {}
|
||||
if request.user.is_staff:
|
||||
context['text'] = get_object_or_404(models.Text, slug=slug)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue