Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
removed lorempixel image and embedded wallpaper in pure theme
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Sep 1, 2015
1 parent 7488f5e commit 15ef2c9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 42 deletions.
20 changes: 0 additions & 20 deletions etc/fixtures/demo_data.json
Expand Up @@ -68,31 +68,11 @@
"rawvalue": "/static/img/logo_white.png",
"formatter": "text"
},
{
"name": "sidebar_image",
"rawvalue": "http://lorempixel.com/g/500/800/animals",
"formatter": "text"
},
{
"name": "admin_logo",
"rawvalue": "",
"formatter": "text"
},
{
"name": "site_domain",
"rawvalue": "",
"formatter": "text"
},
{
"name": "google-analytics",
"rawvalue": "UA-65278590-1",
"formatter": "text"
},
{
"name": "google-site-verification",
"rawvalue": "",
"formatter": "text"
},
{
"name": "menu_items",
"rawvalue":"[[\"Quokka CMS\", \"http://www.quokkaproject.org\"], [\"Slack Chat\", \"https://quokkaslack.herokuapp.com/\"]]",
Expand Down
22 changes: 1 addition & 21 deletions etc/fixtures/initial_data.json
Expand Up @@ -68,29 +68,9 @@
"rawvalue": "/static/img/logo_white.png",
"formatter": "text"
},
{
"name": "sidebar_image",
"rawvalue": "http://lorempixel.com/g/500/800/animals",
"formatter": "text"
},
{
"name": "admin_logo",
"rawvalue": "",
"formatter": "text"
},
{
"name": "site_domain",
"rawvalue": "",
"formatter": "text"
},
{
"name": "google-analytics",
"rawvalue": "",
"formatter": "text"
},
{
"name": "google-site-verification",
"rawvalue": "",
"rawvalue": "YOUR_APP_CODE_HERE",
"formatter": "text"
},
{
Expand Down
Binary file added quokka/themes/pure/static/img/bg.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion quokka/themes/pure/templates/sidebar.html
Expand Up @@ -3,7 +3,7 @@
{% if Config.get('site', 'sidebar_color') %}
style="background-color: Config.get('site', 'sidebar_color');"
{% else %}
style="background-image: url('{{Config.get('site', 'sidebar_image', Config.get('site', 'sidebar_image', 'http://lorempixel.com/500/800/animals'))}}')"
style="background-image: url('{{Config.get('site', 'sidebar_image', theme_static('img/bg.jpg'))}}')"
{% endif %}
>

Expand Down

0 comments on commit 15ef2c9

Please sign in to comment.