fix for #60 - render flag false fix

pull/84/head
Ro 3 years ago
parent d6f6f771ac
commit e5cffd39d7

@ -29,21 +29,25 @@ class SettingsAPI
$render->renderIndex(); $render->renderIndex();
$result = [ $result = [
"message" => "Index Rendered. HAND CLAPS", "message" => "Index Rendered. HAND CLAPS",
"type" => "TASK_NONE", "type" => "RENDER_SUCCESS",
]; ];
} else { } else {
$render->renderTags();
$render->renderArchive();
$render->renderPages();
$result = [ $result = [
"message" => "Site Rendered. GOOD EFFORT", "message" => "Site Rendered. GOOD EFFORT",
"type" => "TASK_NONE", "type" => "RENDER_SUCCESS",
]; ];
} }
} else { } else {
// just incase the render flag is missing
$render->renderTags(); $render->renderTags();
$render->renderArchive(); $render->renderArchive();
$render->renderPages(); $render->renderPages();
$result = [ $result = [
"message" => "Site Rendered. GOOD EFFORT", "message" => "Site Rendered. GOOD EFFORT",
"type" => "TASK_NONE", "type" => "RENDER_SUCCESS",
]; ];
} }

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 305 305" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
<g transform="matrix(1,0,0,1,-202.633,-153.471)">
<circle cx="354.735" cy="305.573" r="137.101" style="fill:none;stroke:rgb(255,244,208);stroke-width:30px;"/>
</g>
<g transform="matrix(1,0,0,1,-448.381,-0.937581)">
<g transform="matrix(255.908,0,0,255.908,544.112,215.154)">
<path d="M0.347,-0.529C0.354,-0.529 0.361,-0.528 0.367,-0.527C0.372,-0.526 0.377,-0.523 0.38,-0.518C0.384,-0.513 0.386,-0.503 0.386,-0.491L0.386,-0.456C0.386,-0.449 0.386,-0.44 0.387,-0.431C0.387,-0.422 0.386,-0.414 0.383,-0.409C0.38,-0.404 0.377,-0.401 0.372,-0.4C0.367,-0.399 0.361,-0.398 0.355,-0.398C0.348,-0.398 0.342,-0.398 0.335,-0.399C0.328,-0.4 0.321,-0.399 0.315,-0.398C0.31,-0.397 0.306,-0.396 0.301,-0.396C0.296,-0.395 0.292,-0.394 0.288,-0.393C0.277,-0.39 0.267,-0.385 0.256,-0.379C0.245,-0.372 0.237,-0.365 0.231,-0.357C0.228,-0.352 0.224,-0.346 0.221,-0.341C0.217,-0.335 0.213,-0.329 0.21,-0.323C0.208,-0.318 0.206,-0.312 0.205,-0.307C0.203,-0.301 0.201,-0.295 0.2,-0.29C0.199,-0.285 0.198,-0.281 0.198,-0.276C0.198,-0.271 0.197,-0.266 0.196,-0.261C0.195,-0.258 0.195,-0.256 0.196,-0.254C0.196,-0.251 0.196,-0.249 0.195,-0.247L0.195,-0.231C0.194,-0.226 0.193,-0.221 0.194,-0.216C0.195,-0.21 0.195,-0.204 0.195,-0.199L0.195,-0.05C0.195,-0.041 0.195,-0.033 0.194,-0.026C0.193,-0.019 0.191,-0.013 0.188,-0.008C0.187,-0.006 0.185,-0.005 0.182,-0.004C0.179,-0.003 0.175,-0.002 0.172,-0.001L0.167,-0.001C0.164,-0 0.16,-0 0.156,-0L0.102,-0C0.098,-0.001 0.094,-0.001 0.09,-0.001L0.076,-0.001C0.073,-0.002 0.069,-0.004 0.066,-0.005C0.063,-0.006 0.06,-0.008 0.059,-0.011C0.056,-0.014 0.055,-0.019 0.055,-0.026C0.054,-0.032 0.054,-0.038 0.054,-0.045L0.054,-0.489C0.054,-0.495 0.055,-0.5 0.058,-0.504C0.061,-0.509 0.066,-0.513 0.073,-0.514C0.08,-0.515 0.088,-0.516 0.097,-0.516L0.148,-0.516C0.156,-0.516 0.163,-0.516 0.169,-0.515C0.175,-0.514 0.18,-0.51 0.183,-0.505C0.185,-0.502 0.186,-0.497 0.187,-0.491C0.187,-0.485 0.187,-0.479 0.188,-0.474C0.189,-0.468 0.19,-0.463 0.192,-0.458C0.193,-0.453 0.196,-0.451 0.201,-0.451C0.202,-0.452 0.204,-0.453 0.205,-0.453C0.206,-0.453 0.208,-0.454 0.209,-0.455C0.213,-0.458 0.217,-0.462 0.22,-0.467C0.223,-0.471 0.226,-0.475 0.231,-0.478C0.234,-0.48 0.236,-0.482 0.238,-0.485C0.24,-0.487 0.242,-0.489 0.245,-0.491C0.251,-0.495 0.257,-0.499 0.264,-0.503C0.27,-0.507 0.276,-0.511 0.283,-0.514C0.29,-0.517 0.297,-0.519 0.304,-0.521C0.311,-0.523 0.318,-0.525 0.325,-0.527C0.327,-0.528 0.331,-0.528 0.337,-0.528C0.342,-0.527 0.346,-0.528 0.347,-0.529Z" style="fill:rgb(255,244,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(1,0,0,1,42.5518,-72.1429)">
<circle cx="590.724" cy="277.538" r="9.759" style="fill:rgb(255,244,208);"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

Loading…
Cancel
Save