master
Evert Prants 2 months ago
parent c487629f60
commit b8156e70b4
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

@ -333,6 +333,20 @@
"css": "archive",
"code": 59415,
"src": "entypo"
},
{
"uid": "44d7da736a0c6aa588f9151ebcf9e80e",
"css": "gitea",
"code": 59416,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M181.1 223.5C171 223.5 159.6 224.4 146.7 227.2 133.1 230 94.4 238.7 62.7 269.2-7.7 331.9 10.3 431.6 12.5 446.6 15.2 464.8 23.3 515.6 62 559.8 133.6 647.5 287.6 645.5 287.6 645.5S306.6 690.6 335.5 732.2C374.5 783.9 414.7 824.2 453.7 829.1 552.2 829.1 748.9 828.9 748.9 828.9S767.7 829.1 793.1 812.8C815 799.5 834.5 776.2 834.5 776.2S854.7 754.7 882.8 705.5C891.4 690.3 898.6 675.6 904.8 661.7 904.8 661.7 991.1 478.7 991.1 300.6 989.4 246.7 976.1 237.2 973 234.1 966.6 227.6 958 227.8 958 227.8S774.8 238.1 680 240.3C659.2 240.8 638.6 241.2 618.1 241.4V424.5C609.5 420.5 600.8 416.2 592.2 412.2 592.2 355.3 592 241.6 592 241.6 546.7 242.2 452.6 238.1 452.6 238.1S231.7 227 207.6 224.8C200 224.4 191.2 223.5 181.1 223.5ZM200.2 298.6S211.2 391.4 224.7 445.8C235.9 491.4 263.4 567.2 263.4 567.2S222.7 562.3 196.2 553C155.8 539.7 138.6 523.7 138.6 523.7S108.7 502.8 93.7 461.6C68 392.5 91.6 350.3 91.6 350.3S104.7 315.1 151.7 303.4C173.3 297.6 200.2 298.6 200.2 298.6ZM534.1 403.1C545.5 402.4 557.3 408.3 557.3 408.3L592.9 425.5C585.7 440.1 578.4 454.9 571.2 469.5 560.8 469.4 551.1 475 546.1 484.2 540.8 494.1 541.9 506.2 549.1 515.1L510.6 593.9C497.8 594.1 486.6 603 483.6 615.5S486.7 640.9 497.8 646.7C509.8 653 525.2 649.5 533.3 638.3 541.2 627.2 540 611.9 530.5 602.2L568 525.5C570.3 525.6 573.7 525.8 577.7 524.7 584.1 523.3 588.7 519.1 588.7 519.1 595.3 521.9 602.2 525 609.4 528.6 616.9 532.3 623.9 536.2 630.3 540 631.7 540.8 633.1 541.7 634.7 543 637.2 545 640 547.8 642 551.6 645 560.1 639.1 574.8 639.1 574.8 635.5 586.7 610.3 638.3 610.3 638.3 597.7 638 586.4 646.1 582.7 657.8 578.6 670.5 584.4 684.8 596.6 691.1S623.7 693.7 631.7 682.8C639.5 672.2 638.9 657.3 630 647.5 633 641.7 635.8 635.9 638.7 629.8 646.6 613.6 659.8 582.3 659.8 582.3 661.2 579.7 668.7 566.2 664.1 549.1 660.2 531.2 644.4 523 644.4 523 625.3 510.6 598.7 499.2 598.7 499.2S598.7 492.8 597 488.1C595.3 483.3 592.7 480.1 590.9 478.3 598 463.7 605 449.3 612.1 434.8L730.3 492.2S750 501.1 754.2 517.5C757.2 529.1 753.4 539.4 751.4 544.4 741.6 568.4 665.5 721.1 665.5 721.1S655.9 743.7 634.8 745.1C625.8 745.8 618.7 743.3 618.7 743.3S618.3 743.1 610.5 740L434.1 654.1S417 645.1 414.1 629.7C410.6 617 418.3 601.4 418.3 601.4L503.1 426.6S510.6 411.4 522.2 406.2C523.1 405.8 525.8 404.7 529.2 403.9 530.8 403.5 532.4 403.2 534.1 403.1Z",
"width": 1000
},
"search": [
"gitea"
]
}
]
}

@ -23,6 +23,7 @@
.icon-search:before { content: '\e815'; } /* '' */
.icon-share:before { content: '\e816'; } /* '' */
.icon-archive:before { content: '\e817'; } /* '' */
.icon-gitea:before { content: '\e818'; } /* '' */
.icon-github-circled:before { content: '\f09b'; } /* '' */
.icon-rss:before { content: '\f09e'; } /* '' */
.icon-html5:before { content: '\f13b'; } /* '' */

File diff suppressed because one or more lines are too long

@ -23,6 +23,7 @@
.icon-search { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-share { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-archive { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-gitea { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-github-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-rss { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-html5 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }

@ -34,6 +34,7 @@
.icon-search { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-share { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-archive { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-gitea { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-github-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-rss { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-html5 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }

@ -1,11 +1,11 @@
@font-face {
font-family: 'lunasquee-site';
src: url('../font/lunasquee-site.eot?93518691');
src: url('../font/lunasquee-site.eot?93518691#iefix') format('embedded-opentype'),
url('../font/lunasquee-site.woff2?93518691') format('woff2'),
url('../font/lunasquee-site.woff?93518691') format('woff'),
url('../font/lunasquee-site.ttf?93518691') format('truetype'),
url('../font/lunasquee-site.svg?93518691#lunasquee-site') format('svg');
src: url('../font/lunasquee-site.eot?93359753');
src: url('../font/lunasquee-site.eot?93359753#iefix') format('embedded-opentype'),
url('../font/lunasquee-site.woff2?93359753') format('woff2'),
url('../font/lunasquee-site.woff?93359753') format('woff'),
url('../font/lunasquee-site.ttf?93359753') format('truetype'),
url('../font/lunasquee-site.svg?93359753#lunasquee-site') format('svg');
font-weight: normal;
font-style: normal;
}
@ -15,7 +15,7 @@
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'lunasquee-site';
src: url('../font/lunasquee-site.svg?93518691#lunasquee-site') format('svg');
src: url('../font/lunasquee-site.svg?93359753#lunasquee-site') format('svg');
}
}
*/
@ -78,6 +78,7 @@
.icon-search:before { content: '\e815'; } /* '' */
.icon-share:before { content: '\e816'; } /* '' */
.icon-archive:before { content: '\e817'; } /* '' */
.icon-gitea:before { content: '\e818'; } /* '' */
.icon-github-circled:before { content: '\f09b'; } /* '' */
.icon-rss:before { content: '\f09e'; } /* '' */
.icon-html5:before { content: '\f13b'; } /* '' */

@ -146,11 +146,11 @@
}
@font-face {
font-family: 'lunasquee-site';
src: url('./font/lunasquee-site.eot?14312899');
src: url('./font/lunasquee-site.eot?14312899#iefix') format('embedded-opentype'),
url('./font/lunasquee-site.woff?14312899') format('woff'),
url('./font/lunasquee-site.ttf?14312899') format('truetype'),
url('./font/lunasquee-site.svg?14312899#lunasquee-site') format('svg');
src: url('./font/lunasquee-site.eot?49498894');
src: url('./font/lunasquee-site.eot?49498894#iefix') format('embedded-opentype'),
url('./font/lunasquee-site.woff?49498894') format('woff'),
url('./font/lunasquee-site.ttf?49498894') format('truetype'),
url('./font/lunasquee-site.svg?49498894#lunasquee-site') format('svg');
font-weight: normal;
font-style: normal;
}
@ -295,6 +295,9 @@
</div>
</div>
<div class="row">
<div class="span3" title="Code: 0xe818">
<i class="demo-icon icon-gitea">&#xe818;</i> <span class="i-name">icon-gitea</span><span class="i-code">0xe818</span>
</div>
<div class="span3" title="Code: 0xf09b">
<i class="demo-icon icon-github-circled">&#xf09b;</i> <span class="i-name">icon-github-circled</span><span class="i-code">0xf09b</span>
</div>
@ -304,6 +307,8 @@
<div class="span3" title="Code: 0xf13b">
<i class="demo-icon icon-html5">&#xf13b;</i> <span class="i-name">icon-html5</span><span class="i-code">0xf13b</span>
</div>
</div>
<div class="row">
<div class="span3" title="Code: 0xf281">
<i class="demo-icon icon-reddit-alien">&#xf281;</i> <span class="i-name">icon-reddit-alien</span><span class="i-code">0xf281</span>
</div>

@ -54,6 +54,8 @@
<glyph glyph-name="archive" unicode="&#xe817;" d="M840 600l0-50-696 0 0 50q0 22 13 35t25 15l608 0q6 0 14-1t22-14 14-35z m-148 150q6 0 14-1t22-14 14-35l-498 0q0 22 13 35t25 15l410 0z m248-200q34-32 38-46 6-18 0-54l-76-450q-4-22-20-35t-28-15l-710 0q-52 0-60 50-6 26-39 223t-39 227q-10 22-3 44t10 26 21 20l10 10 30 30 0-80 836 0 0 80z m-248-270l0 100-70 0 0-80-260 0 0 80-68 0 0-100q0-50 48-50l300 0q22 0 35 12t13 24z" horiz-adv-x="981" />
<glyph glyph-name="gitea" unicode="&#xe818;" d="M181 627c-10 0-21-1-34-4-14-3-53-12-84-42-71-63-53-163-50-178 2-18 10-69 49-113 72-87 226-85 226-85s19-46 48-87c39-52 79-92 118-97 98 0 295 0 295 0s19 0 44 16c22 14 42 37 42 37s20 21 48 71c8 15 16 29 22 43 0 0 86 183 86 361-2 54-15 64-18 67-6 6-15 6-15 6s-183-10-278-12c-21-1-41-1-62-1v-183c-8 4-17 8-26 12 0 57 0 170 0 170-45 0-139 4-139 4s-221 11-245 13c-8 1-17 2-27 2z m19-76s11-92 25-147c11-45 38-121 38-121s-40 5-67 14c-40 13-57 29-57 29s-30 21-45 62c-26 70-2 112-2 112s13 35 60 47c21 5 48 4 48 4z m334-104c12 1 23-5 23-5l36-17c-7-15-15-30-22-44-10 0-20-6-25-15-5-10-4-22 3-31l-38-79c-13 0-24-9-27-21s3-26 14-32c12-6 27-2 35 9 8 11 7 26-2 36l37 77c2-1 6-1 10 0 6 2 11 6 11 6 6-3 13-6 20-10 8-3 15-7 21-11 2-1 3-2 5-3 2-2 5-5 7-9 3-8-3-23-3-23-3-12-29-63-29-63-12 0-24-8-27-20-4-12 1-27 14-33s27-3 35 8c8 11 7 26-2 36 3 5 6 11 9 17 8 16 21 48 21 48 1 2 9 16 4 33-4 18-20 26-20 26-19 12-45 24-45 24s0 6-2 11c-2 5-4 8-6 10 7 14 14 29 21 43l118-57s20-9 24-25c3-12-1-22-3-27-9-24-85-177-85-177s-10-23-31-24c-9-1-16 2-16 2s-1 0-8 3l-177 86s-17 9-20 24c-3 13 4 29 4 29l85 174s8 16 19 21c1 0 4 1 7 2 2 1 3 1 5 1z" horiz-adv-x="1000" />
<glyph glyph-name="github-circled" unicode="&#xf09b;" d="M429 779q116 0 215-58t156-156 57-215q0-140-82-252t-211-155q-15-3-22 4t-7 17q0 1 0 43t0 75q0 54-29 79 32 3 57 10t53 22 45 37 30 58 11 84q0 67-44 115 21 51-4 114-16 5-46-6t-51-25l-21-13q-52 15-107 15t-108-15q-8 6-23 15t-47 22-47 7q-25-63-5-114-44-48-44-115 0-47 12-83t29-59 45-37 52-22 57-10q-21-20-27-58-12-5-25-8t-32-3-36 12-31 35q-11 18-27 29t-28 14l-11 1q-12 0-16-2t-3-7 5-8 7-6l4-3q12-6 24-21t18-29l6-13q7-21 24-34t37-17 39-3 31 1l13 3q0-22 0-50t1-30q0-10-8-17t-22-4q-129 43-211 155t-82 252q0 117 58 215t155 156 216 58z m-267-616q2 4-3 7-6 1-8-1-1-4 4-7 5-3 7 1z m18-19q4 3-1 9-6 5-9 2-4-3 1-9 5-6 9-2z m16-25q6 4 0 11-4 7-9 3-5-3 0-10t9-4z m24-23q4 4-2 10-7 7-11 2-5-5 2-11 6-6 11-1z m32-14q1 6-8 9-8 2-10-4t7-9q8-3 11 4z m35-3q0 7-10 6-9 0-9-6 0-7 10-6 9 0 9 6z m32 5q-1 7-10 5-9-1-8-8t10-4 8 7z" horiz-adv-x="857.1" />
<glyph glyph-name="rss" unicode="&#xf09e;" d="M214 100q0-45-31-76t-76-31-76 31-31 76 31 76 76 31 76-31 31-76z m286-69q1-15-9-26-10-12-27-12h-75q-14 0-24 9t-11 23q-12 128-103 219t-219 103q-14 1-23 11t-9 24v75q0 16 12 26 9 10 24 10h3q89-7 170-45t145-101q63-63 101-145t45-171z m286-1q1-15-10-26-10-11-26-11h-80q-14 0-25 10t-10 23q-7 120-57 228t-129 188-188 129-227 57q-14 1-24 11t-10 24v80q0 16 11 26 10 10 25 10h1q147-8 280-67t238-164q104-104 164-238t67-280z" horiz-adv-x="785.7" />

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 21 KiB

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="main_outline" enable-background="new 0 0 640 640" version="1.1" viewBox="0 0 640 640" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<path d="m115.91 143.07c-6.4625 0-13.762 0.52617-22.012 2.3262-8.7 1.8-33.501 7.4004-53.801 26.9-45 40.1-33.5 103.9-32.1 113.5 1.7 11.7 6.8992 44.2 31.699 72.5 45.8 56.1 144.4 54.799 144.4 54.799s12.1 28.9 30.6 55.5c25 33.1 50.701 58.9 75.701 62 63 0 188.9-0.09961 188.9-0.09961s11.999 0.09922 28.299-10.301c14-8.5 26.5-23.398 26.5-23.398s12.9-13.801 30.9-45.301c5.5-9.7 10.1-19.1 14.1-28 0 0 55.201-117.1 55.201-231.1-1.1-34.5-9.6016-40.6-11.602-42.6-4.1-4.1-9.5996-4-9.5996-4s-117.2 6.6-177.9 8c-13.3 0.3-26.5 0.59922-39.6 0.69922v117.2c-5.5-2.6-11.1-5.2984-16.6-7.8984 0-36.4-0.09961-109.2-0.09961-109.2-29 0.4-89.201-2.1992-89.201-2.1992s-141.4-7.1-156.8-8.5c-4.9-0.3-10.526-0.82617-16.988-0.82617zm12.188 48.025s7.1012 59.401 15.701 94.201c7.2 29.2 24.799 77.699 24.799 77.699s-26.1-3.0996-43-9.0996c-25.9-8.5-36.9-18.701-36.9-18.701s-19.099-13.399-28.699-39.799c-16.5-44.2-1.4004-71.201-1.4004-71.201s8.4-22.5 38.5-30c13.8-3.7 31-3.0996 31-3.0996zm213.7 66.918c7.3213-0.46895 14.9 3.2832 14.9 3.2832l22.744 11.033c-4.5912 9.365-9.2608 18.809-13.844 28.166-6.7-0.1-12.9 3.5004-16.1 9.4004-3.4 6.3-2.6996 14.099 1.9004 19.799l-24.6 50.4c-8.2 0.1-15.401 5.8008-17.301 13.801s1.9996 16.3 9.0996 20c7.7 4 17.501 1.7996 22.701-5.4004 5.1-7.1 4.2992-16.9-1.8008-23.1l24-49.1c1.5 0.1 3.6992 0.2 6.1992-0.5 4.1-0.9 7.1016-3.6016 7.1016-3.6016 4.2 1.8 8.5992 3.8016 13.199 6.1016 4.8 2.4 9.3004 4.8988 13.4 7.2988 0.9 0.5 1.7988 1.1004 2.7988 1.9004 1.6 1.3 3.4012 3.1 4.7012 5.5 1.9 5.5-1.9004 14.9-1.9004 14.9-2.3 7.6-18.4 40.6-18.4 40.6-8.1-0.2-15.299 5-17.699 12.5-2.6 8.1 1.1004 17.301 8.9004 21.301s17.4 1.6992 22.5-5.3008c5-6.8 4.5984-16.3-1.1016-22.6 1.9-3.7 3.7016-7.4008 5.6016-11.301 5-10.4 13.5-30.4 13.5-30.4 0.9-1.7 5.6992-10.299 2.6992-21.299-2.5-11.4-12.6-16.701-12.6-16.701-12.2-7.9-29.201-15.199-29.201-15.199s3.9e-4 -4.0996-1.0996-7.0996c-1.1-3.1-2.8004-5.1008-3.9004-6.3008 4.5072-9.3022 9.0162-18.516 13.523-27.811l75.678 36.711s12.599 5.6992 15.299 16.199c1.9 7.4-0.49883 14.001-1.7988 17.201-6.3 15.4-55 113.1-55 113.1s-6.0996 14.5-19.6 15.4c-5.8 0.4-10.301-1.2012-10.301-1.2012s-0.30078-0.09961-5.3008-2.0996l-112.9-55s-10.901-5.6996-12.801-15.6c-2.2-8.1 2.6992-18.1 2.6992-18.1l54.301-111.9s4.7992-9.7 12.199-13c0.6-0.3 2.3-1 4.5-1.5 1.0125-0.2625 2.0537-0.41543 3.0996-0.48242z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

4024
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -10,7 +10,7 @@
"devDependencies": {
"@types/marked": "^4.0.7",
"marked": "^4.1.1",
"nuxt": "3.0.0-rc.11",
"nuxt": "^3.0.0-rc.14",
"prettier": "^2.7.1",
"yaml": "^2.1.3"
},

@ -158,9 +158,9 @@ const linksList = [
const socialLinks = [
{
href: 'https://gitlab.icynet.eu/evert',
icon: 'icon-gitlab',
name: 'GitLab',
href: 'https://git.icynet.eu/evert',
icon: 'icon-gitea',
name: 'Gitea',
},
{
href: 'https://social.lunasqu.ee/diamond',

@ -1,10 +1,15 @@
import { getArchiveTree } from '~~/lib/blog/read-posts';
import { BlogPost } from '~~/lib/types/post';
export default defineEventHandler(async (event) => {
const query = getQuery(event);
const include = (content) => {
const include = (content: BlogPost) => {
if (query.tag) {
if (!content.tags?.length || !content.tags.includes(query.tag)) {
const tags = Array.isArray(query.tag) ? query.tag : [query.tag];
if (
!content.tags?.length ||
!tags.every((tag) => content.tags.includes(tag))
) {
return false;
}
}

@ -1,8 +1,9 @@
import { getFilteredBlogPosts } from '~~/lib/blog/read-posts';
import { BlogPost } from '~~/lib/types/post';
export default defineEventHandler(async (event) => {
const query = getQuery(event);
const include = (content) => {
const include = (content: BlogPost) => {
const dateObj = new Date(content.date);
if (query.year) {
@ -24,7 +25,11 @@ export default defineEventHandler(async (event) => {
}
if (query.tag) {
if (!content.tags?.length || !content.tags.includes(query.tag)) {
const tags = Array.isArray(query.tag) ? query.tag : [query.tag];
if (
!content.tags?.length ||
!tags.every((tag) => content.tags.includes(tag))
) {
return false;
}
}

Loading…
Cancel
Save