{"action":"created","issue":{"url":"https://api.github.com/repos/gilsondev/pelican-clean-blog/issues/45","repository_url":"https://api.github.com/repos/gilsondev/pelican-clean-blog","labels_url":"https://api.github.com/repos/gilsondev/pelican-clean-blog/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/gilsondev/pelican-clean-blog/issues/45/comments","events_url":"https://api.github.com/repos/gilsondev/pelican-clean-blog/issues/45/events","html_url":"https://github.com/gilsondev/pelican-clean-blog/issues/45","id":160186315,"number":45,"title":"\"SOCIAL\" links not updating on published site","user":{"login":"onemorepereira","id":17459289,"avatar_url":"https://avatars.githubusercontent.com/u/17459289?v=3","gravatar_id":"","url":"https://api.github.com/users/onemorepereira","html_url":"https://github.com/onemorepereira","followers_url":"https://api.github.com/users/onemorepereira/followers","following_url":"https://api.github.com/users/onemorepereira/following{/other_user}","gists_url":"https://api.github.com/users/onemorepereira/gists{/gist_id}","starred_url":"https://api.github.com/users/onemorepereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onemorepereira/subscriptions","organizations_url":"https://api.github.com/users/onemorepereira/orgs","repos_url":"https://api.github.com/users/onemorepereira/repos","events_url":"https://api.github.com/users/onemorepereira/events{/privacy}","received_events_url":"https://api.github.com/users/onemorepereira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-14T13:49:57Z","updated_at":"2016-06-15T13:27:27Z","closed_at":null,"body":"I've updated `pelicanconfg.py` and added\r\n\r\n`# Social widget`\r\n`SOCIAL = (('linkedin', 'https://linkedin.com/in/{a_linked_in_profile}'),`\r\n`          ('twitter', 'https://twitter.com/{a_twitter_user}'),`\r\n`          ('instagram', 'https://instagram.com/{an_instagram_homepage}/'),`\r\n`         )`\r\n\r\nAfter that, I've cleaned, published the site with `# make clean && make publish` but the social links on the site-footer are not reflecting the updates. And are simply empty links pointing to the site itself. I am using a 2 day old clone of the main repo branch (`https://github.com/gilsondev/pelican-clean-blog.git`)\r\n\r\nFurthermore, even though I have LinkedIn, Twitter and Instagram `SOCIAL` elements on my `pelicanconf.py` file, the default Twitter, Facebook & Instagram icons show up instead. I am sure that's just another symptom of the same problem.\r\n\r\nI think I've followed instructions fairly close --indeed, this is not the first theme I've thrown on top of Pelican-- but the others' I've tried are behaving as expected in regards to the SOCIAL links."},"comment":{"url":"https://api.github.com/repos/gilsondev/pelican-clean-blog/issues/comments/226186509","html_url":"https://github.com/gilsondev/pelican-clean-blog/issues/45#issuecomment-226186509","issue_url":"https://api.github.com/repos/gilsondev/pelican-clean-blog/issues/45","id":226186509,"user":{"login":"onemorepereira","id":17459289,"avatar_url":"https://avatars.githubusercontent.com/u/17459289?v=3","gravatar_id":"","url":"https://api.github.com/users/onemorepereira","html_url":"https://github.com/onemorepereira","followers_url":"https://api.github.com/users/onemorepereira/followers","following_url":"https://api.github.com/users/onemorepereira/following{/other_user}","gists_url":"https://api.github.com/users/onemorepereira/gists{/gist_id}","starred_url":"https://api.github.com/users/onemorepereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onemorepereira/subscriptions","organizations_url":"https://api.github.com/users/onemorepereira/orgs","repos_url":"https://api.github.com/users/onemorepereira/repos","events_url":"https://api.github.com/users/onemorepereira/events{/privacy}","received_events_url":"https://api.github.com/users/onemorepereira/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T13:27:26Z","updated_at":"2016-06-15T13:27:26Z","body":"I checked, its `pelicanconf.py`; here is its content (sans-redacted details)\r\n```python\r\n#!/usr/bin/env python\r\n# -*- coding: utf-8 -*- #\r\nfrom __future__ import unicode_literals\r\n\r\nAUTHOR = u'[*******]'\r\nCOLOR_SCHEMA_CSS = 'monokai.css'\r\nDEFAULT_LANG = u'en'\r\nDEFAULT_PAGINATION = 10\r\nGZIP_CACHE = True\r\nPATH = 'content'\r\nSITENAME = u'[*******]'\r\nSITESUBTITLE = u'[*******]'\r\nSITEURL = '[*******]'\r\nTIMEZONE = 'America/Chicago'\r\n\r\n# Feed generation is usually not desired when developing\r\nAUTHOR_FEED_ATOM = None\r\nAUTHOR_FEED_RSS = None\r\nCATEGORY_FEED_ATOM = None\r\nFEED_ALL_ATOM = None\r\nTRANSLATION_FEED_ATOM = None\r\n\r\n# Blogroll\r\n#LINKS =(\t)\r\n\r\n# Social widget\r\nSOCIAL = (('linkedin', 'https://linkedin.com/in/[*******]'),\r\n          ('twitter', 'https://twitter.com/[*******]'),\r\n          ('instagram', 'https://instagram.com/[*******]/'),\r\n         )\r\n\r\n# Uncomment following line if you want document-relative URLs when developing\r\nRELATIVE_URLS = True\r\n\r\n#THEME = \"blueidea\"\r\nTHEME = \"clean-blog\"\r\n\r\n\r\nSTATIC_PATHS = ['images', 'extra/robots.txt', 'extra/favicon.ico']\r\nEXTRA_PATH_METADATA = {\r\n    'extra/robots.txt': {'path': 'robots.txt'},\r\n    'extra/favicon.ico': {'path': 'favicon.ico'}\r\n}\r\n```\r\n\r\nAnd here is my `publishconf.py`\r\n```python\r\n#!/usr/bin/env python\r\n# -*- coding: utf-8 -*- #\r\nfrom __future__ import unicode_literals\r\n\r\n# This file is only used if you use `make publish` or\r\n# explicitly specify it as your config file.\r\n\r\nimport os\r\nimport sys\r\nsys.path.append(os.curdir)\r\nfrom pelicanconf import *\r\n\r\nCATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'\r\nDELETE_OUTPUT_DIRECTORY = True\r\nDISQUS_SITENAME = \"[******]\"\r\nFEED_ALL_ATOM = 'feeds/all.atom.xml'\r\nGOOGLE_ANALYTICS = \"UA-[******]-1\"\r\nRELATIVE_URLS = False\r\n#SHOW_SOCIAL_ON_INDEX_PAGE_HEADER = True```\r\n\r\nI did search through the base template, and I could not find any referenced to `SOCIAL` at all. I did find `FACEBOOK_URL`, `TWITTER_URL` and `GITHUB_URL` explicitly. Is there perhaps a disconnect on the documentation? i.e. instead of indicating the use of this:\r\n```python\r\n# Social widget\r\nSOCIAL = (('linkedin', 'https://linkedin.com/in/[*******]'),\r\n          ('twitter', 'https://twitter.com/[*******]'),\r\n          ('instagram', 'https://instagram.com/[*******]/'),\r\n         )```\r\n\r\nShould it be in this form instead...?\r\n```python\r\nTWITTER_URL = ''\r\nFACEBOOK_URL = ''\r\n```\r\nThat is not dynamic though and it would require updating `base.html` if another \"social\" platform or blogroll needs to be added."}}
{"actor":{"display_login":"onemorepereira"}}