Unverified Commit 50eb545d authored by Ethan Madison's avatar Ethan Madison
Browse files

Add lightwidget (Instagram widget) to sidebar



Requires the LightWidget url to be specified in site's config.toml.
Signed-off-by: default avatarEthan Madison <ethan@ethanmad.com>
parent a52b93a4
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
</div> </div>
{{ end }} {{ end }}
{{ with .Site.Params.social.lightwidget }}
<div class="sidebar-module">
<h4 class="sidebar-heading">Photos</h4>
<!-- LightWidget WIDGET -->
<script src="//lightwidget.com/widgets/lightwidget.js"></script>
<iframe src="//lightwidget.com/widgets/{{ . }}.html" scrolling="no" allowtransparency="true" class="lightwidget-widget" style="width: 100%; border: 0; overflow: hidden;"></iframe>
</div>
{{ end }}
{{ with .Site.Params.social.twitter }} {{ with .Site.Params.social.twitter }}
<div class="sidebar-module"> <div class="sidebar-module">
<a class="twitter-timeline" data-height="400" data-dnt="true" href="https://twitter.com/{{ . }}"></a><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> <a class="twitter-timeline" data-height="400" data-dnt="true" href="https://twitter.com/{{ . }}"></a><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment