Skip to content

Commit

Permalink
Final 0.2 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
samirelanduk committed Aug 18, 2018
1 parent 4d0f91a commit c3081e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions deploy.py
Expand Up @@ -86,6 +86,10 @@
)

# Deploy static files
subprocess.call(
"ssh {} 'cd ~/{}/source && ../env/bin/python manage.py compilescss'".format(sitename, sitename),
shell=True
)
subprocess.call(
"ssh {} 'cd ~/{}/source && ../env/bin/python manage.py collectstatic --noinput'".format(sitename, sitename),
shell=True
Expand Down
2 changes: 1 addition & 1 deletion samireland/static/css/_components.scss
Expand Up @@ -57,7 +57,7 @@ article {
}

.article-body {
margin-top: 2rem;
margin-top: 5rem;
}

.next-page, .previous-page {
Expand Down
2 changes: 1 addition & 1 deletion samireland/templates/publication.html
Expand Up @@ -14,7 +14,7 @@ <h1>{{ publication.title }}</h1>
<div class="authors">{{ publication.html_authors|safe }}</div>


<div class="pub-body">
<div class="article-body">
{{ publication.html|safe }}
</div>
</article>
Expand Down

0 comments on commit c3081e0

Please sign in to comment.