Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pdevty/material-design.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpdevty <p.dev.ty@gmail.com>2015-05-17 10:47:20 +0300
committerpdevty <p.dev.ty@gmail.com>2015-05-17 10:47:20 +0300
commite828c84d13e4e6db2f1ad9b3b0b173ddf4b2dd00 (patch)
treeb2024cca45613a5a6289b54511cfd297aa5429c7
parent9652afa35b455c65fcf7a0296575a211780788a3 (diff)
update disqus
-rw-r--r--README.md20
-rw-r--r--layouts/partials/disqus.html22
2 files changed, 13 insertions, 29 deletions
diff --git a/README.md b/README.md
index 2038ffb..a81af15 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,14 @@
# Material-Design
-Material-Design is a material design theme for [Hugo](http://gohugo.io/).
+Material-Design is a simple material design theme for [Hugo](http://gohugo.io/).
![](https://github.com/pdevty/material-design/blob/master/images/tn.png)
+demo : [http://pdevty.github.io/blog/](http://pdevty.github.io/blog/)
+
## Features
-- Material Design
+- Simple Material Design
- Google Analytics (optional)
- Pagination
- Disqus (optional)
@@ -57,20 +59,6 @@ copyright = "© 2015 Copyright Text"
post = "/:year/:month/:day/:title/" # optional
```
-content file
-
-```toml
-+++
-Categories = ["material","desgin"] # optional
-Tags = ["golang","development"] # optional
-date = "2015-05-16"
-title = "About Hugo"
-
-+++
-
-content here
-```
-
## Contributing
1. Fork it
diff --git a/layouts/partials/disqus.html b/layouts/partials/disqus.html
index 9ad424d..a07c97a 100644
--- a/layouts/partials/disqus.html
+++ b/layouts/partials/disqus.html
@@ -1,17 +1,13 @@
<div id="disqus_thread"></div>
<script type="text/javascript">
-
-(function() {
- // Don't ever inject Disqus on localhost--it creates unwanted
- // discussions from 'localhost:1313' on your Disqus account...
- if (window.location.hostname == "localhost")
- return;
-
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+ /* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = '{{ . }}';
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
-})();
+
+ /* * * DON'T EDIT BELOW THIS LINE * * */
+ (function() {
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+ })();
</script>
-<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> \ No newline at end of file
+<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript> \ No newline at end of file