I hereby claim:
- I am CaiJimmy on github.
- I am jimmycai (https://keybase.io/jimmycai) on keybase.
- I have a public key whose fingerprint is AB5B 5B5A 9B33 78C6 7FA9 B6C2 E3D5 D635 F780 1C9E
To claim this, I am signing this object:
| content = function (options) { | |
| var truncateOptions = (options || {}).hash || {}; | |
| truncateOptions = _.pick(truncateOptions, ['words', 'characters', 'more']); | |
| _.keys(truncateOptions).map(function (key) { | |
| truncateOptions[key] = parseInt(truncateOptions[key], 10); | |
| }); | |
| if (truncateOptions.hasOwnProperty('words') || truncateOptions.hasOwnProperty('characters')) { | |
| // Due to weirdness in downsize the 'words' option | |
| // must be passed as a string. refer to #1796 |
| <section id="form"> | |
| <form action="/post.php" method="POST" id="contribuir"> | |
| <section id="form-wrap"> | |
| <input name="name" type="text" placeholder="Tu nombre*" id="nombre"/> | |
| <input name="email" type="mail" placeholder="E-mail(No será publicado)" id="email"/> | |
| <input name="titulo" type="text" placeholder="El titulo*"/> | |
| <textarea rows="8" name="contenido" required="true" id="contenido" placeholder="El contenido*"></textarea> | |
| <input type="submit" name="submit" id="submit" value="Enviar"> | |
| </section> | |
| </form> |
| // # Ghost Configuration | |
| // Setup your Ghost install for various environments | |
| // Documentation can be found at http://support.ghost.org/config/ | |
| var path = require('path'), | |
| config; | |
| var config; | |
| if (process.env.OPENSHIFT_MYSQL_DB_HOST != undefined) { | |
| config = { | |
| // ### Production |
| <button id="load-disqus" onclick="disqus.load();"> | |
| 加载Disqus | |
| </button> | |
| <div id="disqus_thread"></div> |
| $('img[src^="https://nichijou.org/content/images"]').each(function(){ | |
| var src = $(this).attr("src") | |
| var newsrc = src.replace( 'https://nichijou.org', '//CDN-URL.qbox.me' ); | |
| $(this).attr("src", newsrc ); | |
| }) |
| var MConfig = { | |
| siteName: "{{@blog.title}}", | |
| twitterName: '', | |
| qiniuURL: '', | |
| defaultColor: '#00BCD4', | |
| loadMore: '0', | |
| disqus_load: '0', | |
| disqus_shortname: '' | |
| } |
| $(document).ready(function(){ | |
| if($('#archivePage').length){ | |
| var $item = $('.archiveList--item'), | |
| dates = {}; | |
| $item.each(function(){ | |
| dates[$(this).data('date')] = ''; | |
| }); | |
| for (date in dates) { |
I hereby claim:
To claim this, I am signing this object:
| [outputs] | |
| home = ["HTML", "RSS", "JSON"] |