Skip to content
Permalink
Browse files

Add requirements for themes.gohugo.io

Add latest screenshot in correct format
Disable tracking in exampleSite
Add back resources :(
  • Loading branch information...
stp-ip committed May 8, 2019
1 parent 79e9b21 commit c2cf1b4402498707640f0a35cc6a35c554ba7ef4
Showing with 1,037 additions and 6 deletions.
  1. +0 −1 .gitignore
  2. +4 −4 exampleSite/config.toml
  3. +11 −0 ...leSite/resources/_gen/assets/js/scripts/syna-collapse.js_d11fe7b62c27961c87ecd0f2490357b9.content
  4. +1 −0 exampleSite/resources/_gen/assets/js/scripts/syna-collapse.js_d11fe7b62c27961c87ecd0f2490357b9.json
  5. +13 −0 ...pleSite/resources/_gen/assets/js/scripts/syna-contact.js_d11fe7b62c27961c87ecd0f2490357b9.content
  6. +1 −0 exampleSite/resources/_gen/assets/js/scripts/syna-contact.js_d11fe7b62c27961c87ecd0f2490357b9.json
  7. +377 −0 exampleSite/resources/_gen/assets/js/scripts/syna-graph.js_d11fe7b62c27961c87ecd0f2490357b9.content
  8. +1 −0 exampleSite/resources/_gen/assets/js/scripts/syna-graph.js_d11fe7b62c27961c87ecd0f2490357b9.json
  9. +7 −0 exampleSite/resources/_gen/assets/js/scripts/syna-head.js_d11fe7b62c27961c87ecd0f2490357b9.content
  10. +1 −0 exampleSite/resources/_gen/assets/js/scripts/syna-head.js_d11fe7b62c27961c87ecd0f2490357b9.json
  11. +9 −0 exampleSite/resources/_gen/assets/js/scripts/syna-hero.js_d11fe7b62c27961c87ecd0f2490357b9.content
  12. +1 −0 exampleSite/resources/_gen/assets/js/scripts/syna-hero.js_d11fe7b62c27961c87ecd0f2490357b9.json
  13. +17 −0 exampleSite/resources/_gen/assets/js/scripts/syna-main.js_d11fe7b62c27961c87ecd0f2490357b9.content
  14. +1 −0 exampleSite/resources/_gen/assets/js/scripts/syna-main.js_d11fe7b62c27961c87ecd0f2490357b9.json
  15. +11 −0 ...eSite/resources/_gen/assets/js/scripts/syna-portfolio.js_d11fe7b62c27961c87ecd0f2490357b9.content
  16. +1 −0 exampleSite/resources/_gen/assets/js/scripts/syna-portfolio.js_d11fe7b62c27961c87ecd0f2490357b9.json
  17. +539 −0 exampleSite/resources/_gen/assets/js/scripts/syna-react.js_d11fe7b62c27961c87ecd0f2490357b9.content
  18. +1 −0 exampleSite/resources/_gen/assets/js/scripts/syna-react.js_d11fe7b62c27961c87ecd0f2490357b9.json
  19. +13 −0 exampleSite/resources/_gen/assets/js/scripts/syna-search.js_d11fe7b62c27961c87ecd0f2490357b9.content
  20. +1 −0 exampleSite/resources/_gen/assets/js/scripts/syna-search.js_d11fe7b62c27961c87ecd0f2490357b9.json
  21. +15 −0 exampleSite/resources/_gen/assets/js/scripts/syna-stripe.js_d11fe7b62c27961c87ecd0f2490357b9.content
  22. +1 −0 exampleSite/resources/_gen/assets/js/scripts/syna-stripe.js_d11fe7b62c27961c87ecd0f2490357b9.json
  23. +8 −0 exampleSite/resources/_gen/assets/scss/styles/index.scss_a4e369375f17bb89f2019364cbe7a830.content
  24. +1 −0 exampleSite/resources/_gen/assets/scss/styles/index.scss_a4e369375f17bb89f2019364cbe7a830.json
  25. BIN images/screenshot.png
  26. BIN images/tn.png
  27. +2 −1 theme.toml
@@ -1,4 +1,3 @@
node_modules
yarn-error.log
exampleSite/public/*
exampleSite/resources/*
@@ -38,9 +38,9 @@ googleAnalytics = ""

# Piwik tracking
[params.analytics.piwik]
url = "https://use.okkur.net"
id = "13"
domain = "syna-demo.okkur.org" # Track subdomains via "*.example.com"
#url = "https://use.example.net"
#id = ""
#domain = "*" # Track subdomains via "*.example.com"
# Optional hash for integrity check
#hash = "sha512-RfeD0pacGTqy9m7U6PgehQfS4cc7SIt+e+P+H5e848kEvB/RW84CUGO3O4O3LNbxjevym6KPUZ8muPsMrI8WIw=="

@@ -86,7 +86,7 @@ googleAnalytics = ""
weight = 40

[[menu.footer]]
url = "https://syna.okkur.org/docs"
url = "https://syna.okkur.org/demo"
name = "Getting Started"
weight = 10

@@ -0,0 +1,11 @@
(function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId]){return installedModules[moduleId].exports;}
var module=installedModules[moduleId]={i:moduleId,l:false,exports:{}};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.l=true;return module.exports;}
__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.d=function(exports,name,getter){if(!__webpack_require__.o(exports,name)){Object.defineProperty(exports,name,{enumerable:true,get:getter});}};__webpack_require__.r=function(exports){if(typeof Symbol!=='undefined'&&Symbol.toStringTag){Object.defineProperty(exports,Symbol.toStringTag,{value:'Module'});}
Object.defineProperty(exports,'__esModule',{value:true});};__webpack_require__.t=function(value,mode){if(mode&1)value=__webpack_require__(value);if(mode&8)return value;if((mode&4)&&typeof value==='object'&&value&&value.__esModule)return value;var ns=Object.create(null);__webpack_require__.r(ns);Object.defineProperty(ns,'default',{enumerable:true,value:value});if(mode&2&&typeof value!='string')for(var key in value)__webpack_require__.d(ns,key,function(key){return value[key];}.bind(null,key));return ns;};__webpack_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module['default'];}:function getModuleExports(){return module;};__webpack_require__.d(getter,'a',getter);return getter;};__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property);};__webpack_require__.p="";return __webpack_require__(__webpack_require__.s="./assets/js/collapse.js");})
({"./assets/js/collapse.js":/*!*******************************!*\
!*** ./assets/js/collapse.js ***!
\*******************************//*!no static exports found*/(function(module,exports,__webpack_require__){"use strict";eval("\n\nvar _jqHelpers = __webpack_require__(/*! ./helpers/jq-helpers */ \"./assets/js/helpers/jq-helpers.js\");\n\nvar _jqHelpers2 = _interopRequireDefault(_jqHelpers);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar collapse = (0, _jqHelpers2.default)('[data-toggle=\"collapse\"]');\nvar addCollapse = (0, _jqHelpers2.default)('[data-toggle=\"collapse\"][data-add-collapse]');\n\naddCollapse.$nodes.forEach(function (collapsible) {\n var target = (0, _jqHelpers2.default)(collapsible.dataset.target);\n\n if (target && target[0].children.length) {\n var node = (0, _jqHelpers2.default)(collapsible.dataset.addCollapse);\n node.append('<i class=\"fas fa-chevron-down text-primary\"></i>');\n }\n});\n\ncollapse.on('click', function (e) {\n if (e.target.tagName === 'A') {\n return;\n }\n var target = (0, _jqHelpers2.default)(this).attr('data-target');\n\n if ((0, _jqHelpers2.default)(this).attr('aria-expanded') === 'true') {\n hideCollapse(this, target);\n } else {\n showCollapse(this, target);\n }\n});\n\nvar hideCollapse = function hideCollapse(el, target) {\n (0, _jqHelpers2.default)(el).attr('aria-expanded', 'false');\n (0, _jqHelpers2.default)(el).addClass('collapsed');\n (0, _jqHelpers2.default)(target).removeClass('show');\n};\n\nvar showCollapse = function showCollapse(el, target) {\n (0, _jqHelpers2.default)(el).attr('aria-expanded', 'true');\n (0, _jqHelpers2.default)(el).removeClass('collapsed');\n (0, _jqHelpers2.default)(target).addClass('show');\n};\n\n//# sourceURL=webpack:///./assets/js/collapse.js?");}),"./assets/js/helpers/jq-helpers.js":/*!*****************************************!*\
!*** ./assets/js/helpers/jq-helpers.js ***!
\*****************************************//*!no static exports found*/(function(module,exports,__webpack_require__){"use strict";eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _serialize2 = __webpack_require__(/*! ./serialize */ \"./assets/js/helpers/serialize.js\");\n\nvar _serialize3 = _interopRequireDefault(_serialize2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction $(selector) {\n var nodes = typeof selector === 'string' ? Array.from((this && Array.isArray(this) ? this[0] : document).querySelectorAll(selector)) : [selector];\n\n var _returnee = {\n $nodes: nodes,\n $: $.bind(nodes),\n on: function on(event, selector, callback) {\n if (typeof callback === 'undefined') {\n callback = selector;\n selector = null;\n }\n\n if (selector) {\n nodes.forEach(function (node) {\n node.addEventListener(event, function (e) {\n if (e.target.matches(selector)) {\n callback.call(node, e);\n }\n });\n });\n } else {\n nodes.forEach(function (node) {\n return node['on' + event] = callback.bind(node);\n });\n }\n return _returnee;\n },\n addClass: function addClass(className) {\n nodes.forEach(function (node) {\n return node.classList.add(className);\n });\n return _returnee;\n },\n removeClass: function removeClass(className) {\n nodes.forEach(function (node) {\n return node.classList.remove(className);\n });\n return _returnee;\n },\n attr: function attr(attribute, value) {\n if (value === undefined && nodes.length > 1) {\n throw new Error('Can\\'t access value of several nodes\\' attributes');\n }\n\n if (value === undefined) {\n return nodes[0].getAttribute(attribute);\n } else if (value !== null) {\n nodes.forEach(function (node) {\n return node.setAttribute(attribute, value);\n });\n }\n return _returnee;\n },\n removeAttr: function removeAttr(attribute) {\n nodes.forEach(function (node) {\n return node.removeAttribute(attribute);\n });\n return _returnee;\n },\n append: function append(innerHTML) {\n nodes.forEach(function (node) {\n return node.innerHTML += innerHTML;\n });\n return _returnee;\n },\n html: function html(innerHTML) {\n if (innerHTML === undefined) {\n if (nodes.length > 1) {\n throw new Error('Can\\'t get several nodes innerHTML at once');\n }\n\n return nodes[0].innerHTML;\n }\n\n nodes.forEach(function (node) {\n return node.innerHTML = innerHTML;\n });\n return _returnee;\n },\n text: function text(innerText) {\n if (innerText === undefined) {\n if (nodes.length > 1) {\n throw new Error('Can\\'t get several nodes innerText at once');\n }\n\n return nodes[0].innerText;\n }\n\n if (innerText !== null) {\n nodes.forEach(function (node) {\n return node.innerText = innerText;\n });\n }\n return _returnee;\n },\n val: function val(value) {\n if (value === undefined) {\n if (nodes.length > 1) {\n throw new Error('Can\\'t get several nodes value at once');\n }\n\n return nodes[0].value;\n }\n\n nodes.forEach(function (node) {\n return node.value = value;\n });\n return _returnee;\n },\n submit: function submit() {\n return nodes.forEach(function (node) {\n return node.submit();\n });\n },\n serialize: function serialize() {\n var json = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n if (nodes.length > 1) {\n throw new Error('Can\\'t serialize forms at once');\n }\n\n if (json) {\n return (0, _serialize2.serializeJSON)(nodes[0]);\n }\n\n return (0, _serialize3.default)(nodes[0]);\n },\n length: nodes.length\n };\n\n nodes.forEach(function (node, index) {\n return _returnee[index] = node;\n });\n\n return _returnee;\n}\n\n$.scrollTo = function scrollTo(element, to, duration) {\n if (duration <= 0) return;\n var difference = to - element.scrollTop;\n var perTick = difference / duration * 10;\n\n setTimeout(function () {\n element.scrollTop = element.scrollTop + perTick;\n if (element.scrollTop === to) return;\n scrollTo(element, to, duration - 10);\n }, 10);\n};\n\n$.ajax = function ajax(_ref) {\n var method = _ref.method,\n url = _ref.url,\n data = _ref.data,\n _ref$options = _ref.options,\n options = _ref$options === undefined ? {\n contentType: \"application/json;charset=UTF-8\"\n } : _ref$options;\n\n var xhr = new XMLHttpRequest();\n xhr.open(method.toUpperCase(), url);\n xhr.setRequestHeader(\"Content-Type\", options.contentType);\n xhr.send(data);\n\n return new Promise(function (resolve, reject) {\n xhr.onreadystatechange = function () {\n if (xhr.readyState == 4) {\n if (xhr.status == 200) {\n resolve(JSON.parse(xhr.responseXML || xhr.responseText));\n } else {\n reject(xhr.statusText);\n }\n }\n };\n });\n};\n\n$.post = function (url, data, options) {\n return $.ajax({ method: 'post', url: url, data: data, options: options });\n};\n\nexports.default = $;\n\n//# sourceURL=webpack:///./assets/js/helpers/jq-helpers.js?");}),"./assets/js/helpers/serialize.js":/*!****************************************!*\
!*** ./assets/js/helpers/serialize.js ***!
\****************************************//*!no static exports found*/(function(module,exports,__webpack_require__){"use strict";eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = serialize;\nexports.serializeJSON = serializeJSON;\n// From https://code.google.com/archive/p/form-serialize/\nfunction serialize(form) {\n if (!form || form.nodeName !== \"FORM\") {\n return;\n }\n var i,\n j,\n q = [];\n for (i = form.elements.length - 1; i >= 0; i = i - 1) {\n if (form.elements[i].name === \"\") {\n continue;\n }\n switch (form.elements[i].nodeName) {\n case 'INPUT':\n switch (form.elements[i].type) {\n case 'text':\n case 'hidden':\n case 'password':\n case 'button':\n case 'reset':\n case 'submit':\n q.push(form.elements[i].name + \"=\" + encodeURIComponent(form.elements[i].value));\n break;\n case 'checkbox':\n case 'radio':\n if (form.elements[i].checked) {\n q.push(form.elements[i].name + \"=\" + encodeURIComponent(form.elements[i].value));\n }\n break;\n case 'file':\n break;\n }\n break;\n case 'TEXTAREA':\n q.push(form.elements[i].name + \"=\" + encodeURIComponent(form.elements[i].value));\n break;\n case 'SELECT':\n switch (form.elements[i].type) {\n case 'select-one':\n q.push(form.elements[i].name + \"=\" + encodeURIComponent(form.elements[i].value));\n break;\n case 'select-multiple':\n for (j = form.elements[i].options.length - 1; j >= 0; j = j - 1) {\n if (form.elements[i].options[j].selected) {\n q.push(form.elements[i].name + \"=\" + encodeURIComponent(form.elements[i].options[j].value));\n }\n }\n break;\n }\n break;\n case 'BUTTON':\n switch (form.elements[i].type) {\n case 'reset':\n case 'submit':\n case 'button':\n q.push(form.elements[i].name + \"=\" + encodeURIComponent(form.elements[i].value));\n break;\n }\n break;\n }\n }\n return q.join(\"&\");\n}\n\nfunction serializeJSON(form) {\n var obj = {};\n var elements = form.querySelectorAll(\"input, select, textarea\");\n for (var i = 0; i < elements.length; ++i) {\n var element = elements[i];\n var name = element.name;\n var value = element.value;\n\n if (name) {\n if (element.type === 'radio' || element.type === 'checkbox') {\n if (element.checked) {\n obj[name] = value;\n }\n } else if (element.type !== 'file') {\n obj[name] = value;\n }\n }\n }\n\n return JSON.stringify(obj);\n}\n\n//# sourceURL=webpack:///./assets/js/helpers/serialize.js?");})});
@@ -0,0 +1 @@
{"Target":"scripts/syna-collapse.min.b70401d3030c2ef384e9dccff480d8274976104ea0fe56b69f62468453dca50c.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-twQB0wMMLvOE6dzP9IDYJ0l2EE6g/la2n2JGhFPcpQw="}}

0 comments on commit c2cf1b4

Please sign in to comment.
You can’t perform that action at this time.