
diff --git a/_public/ghost-sdk.min.js b/_public/ghost-sdk.min.js index a11757a..9eff80c 100644 --- a/_public/ghost-sdk.min.js +++ b/_public/ghost-sdk.min.js @@ -1 +1,44 @@ -!function(){var o,i,n,e,r="http://localhost:8080/ghost/api/v0.1/";n={api:function(){var n,e=Array.prototype.slice.call(arguments),t=r;return(n=e.pop())&&"object"!=typeof n&&(e.push(n),n={}),(n=n||{}).client_id=o,n.client_secret=i,e.length&&e.forEach(function(n){t+=n.replace(/^\/|\/$/g,"")+"/"}),t+function(n){var e,t=[];if(!n)return"";for(e in n)n.hasOwnProperty(e)&&(n[e]||!1===n[e])&&t.push(e+"="+encodeURIComponent(n[e]));return t.length?"?"+t.join("&"):""}(n)}},e=function(n){o=n.clientId?n.clientId:"",i=n.clientSecret?n.clientSecret:"",r=n.url?n.url:r.match(/{\{api-url}}/)?"":r},"undefined"!=typeof window&&(window.ghost=window.ghost||{},window.ghost.url=n,window.ghost.init=e),"undefined"!=typeof module&&(module.exports={url:n,init:e})}(); \ No newline at end of file +!(function () { + var o, + i, + n, + e, + r = "https://blog.ansonbiggs.com/ghost/api/v0.1/"; + (n = { + api: function () { + var n, + e = Array.prototype.slice.call(arguments), + t = r; + return ( + (n = e.pop()) && "object" != typeof n && (e.push(n), (n = {})), + ((n = n || {}).client_id = o), + (n.client_secret = i), + e.length && + e.forEach(function (n) { + t += n.replace(/^\/|\/$/g, "") + "/"; + }), + t + + (function (n) { + var e, + t = []; + if (!n) return ""; + for (e in n) + n.hasOwnProperty(e) && + (n[e] || !1 === n[e]) && + t.push(e + "=" + encodeURIComponent(n[e])); + return t.length ? "?" + t.join("&") : ""; + })(n) + ); + }, + }), + (e = function (n) { + (o = n.clientId ? n.clientId : ""), + (i = n.clientSecret ? n.clientSecret : ""), + (r = n.url ? n.url : r.match(/{\{api-url}}/) ? "" : r); + }), + "undefined" != typeof window && + ((window.ghost = window.ghost || {}), + (window.ghost.url = n), + (window.ghost.init = e)), + "undefined" != typeof module && (module.exports = { url: n, init: e }); +})(); diff --git a/author/anson/index.html b/author/anson/index.html index 5193b9f..4911456 100644 --- a/author/anson/index.html +++ b/author/anson/index.html @@ -1,769 +1,1412 @@ -
- - -