From 1537da9b16dfda1ecb2730b5d1de3b9005397618 Mon Sep 17 00:00:00 2001 From: lost+skunk Date: Tue, 13 Aug 2024 15:59:52 +0300 Subject: темплейты в бинарнике и улучшенная система кеша MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/about.htm | 64 ------------------------------------- html/daily.htm | 28 ----------------- html/deviantion.htm | 60 ----------------------------------- html/gruser.htm | 91 ----------------------------------------------------- html/index.htm | 22 ------------- html/search.htm | 30 ------------------ 6 files changed, 295 deletions(-) delete mode 100644 html/about.htm delete mode 100644 html/daily.htm delete mode 100644 html/deviantion.htm delete mode 100644 html/gruser.htm delete mode 100644 html/index.htm delete mode 100644 html/search.htm (limited to 'html') diff --git a/html/about.htm b/html/about.htm deleted file mode 100644 index edb576d..0000000 --- a/html/about.htm +++ /dev/null @@ -1,64 +0,0 @@ - - - - SkunkyArt - - - -
-
-

HOME | DD

-
- - - -
-
-

- SkunkyArt is an alternative frontend for deviantart.com, written in Go. -

-

Room in Matrix

- Instance settings: - -
- Instances: -
    - {{range .Templates.About.Instances}} -
  • {{.Title}}: -
      -
    • Country: {{.Country}}
    • -
    • URLs:
    • -
        - {{if ne .Urls.I2P ""}} -
      • I2P: Yes
      • - {{end}} - {{if ne .Urls.Ygg ""}} -
      • Ygg: Yes
      • - {{end}} - {{if ne .Urls.Tor ""}} -
      • Tor: Yes
      • - {{end}} - {{if ne .Urls.Clearnet ""}} -
      • Clearnet: {{.Urls.Clearnet}}
      • - {{end}} -
      -
    • Settings:
    • -
        -
      • NSFW: {{if .Settings.Nsfw}}YES{{else}}NO{{end}}
      • -
      • Proxyfing: {{if .Settings.Proxy}}YES{{else}}NO{{end}}
      • -
      -
    -
  • - {{end}} -
-
-

Copyright lost+skunk, X11. SkunkyArt v1.3.1

-
- \ No newline at end of file diff --git a/html/daily.htm b/html/daily.htm deleted file mode 100644 index c464268..0000000 --- a/html/daily.htm +++ /dev/null @@ -1,28 +0,0 @@ - - - - SkunkyArt | Daily Deviations - - - -
-
-

HOME | DD | RSS

-
- - - -
-
- {{if ne .Templates.DDStrips ""}} -

# Strips

- {{.Templates.DDStrips}} - {{end}} -

# Content

- {{.Templates.SomeList}} -
- \ No newline at end of file diff --git a/html/deviantion.htm b/html/deviantion.htm deleted file mode 100644 index 50710b6..0000000 --- a/html/deviantion.htm +++ /dev/null @@ -1,60 +0,0 @@ - - - - SkunkyArt | {{.Templates.Deviation.Post.Deviation.Author.Username}} - {{.Templates.Deviation.Post.Deviation.Title}} - - - - -
-
-

HOME | DD

-
- - - -
-
-
- - {{.Templates.Deviation.Post.Deviation.Author.Username}} — {{if (.Templates.Deviation.Post.Deviation.DD)}} - {{.Templates.Deviation.Post.Deviation.Title}} - {{else}}{{.Templates.Deviation.Post.Deviation.Title}}{{end}} - {{if (ne .Templates.Deviation.Post.Deviation.License "none")}}{{.Templates.Deviation.Post.Deviation.License}}{{end}} {{if (.Templates.Deviation.Post.Deviation.AI)}}[🤖]{{end}} - {{if (.Templates.Deviation.Post.Deviation.NSFW)}}[NSFW]{{end}} - -
- {{if (ne .Templates.Deviation.Post.IMG "")}} - -
- {{end}} - {{if (ne .Templates.Deviation.Tags "")}} - {{.Templates.Deviation.Tags}}
- {{end}} - Published: {{.Templates.Deviation.StringTime}}; Views: {{.Templates.Deviation.Post.Deviation.Stats.Views}}; Favourites: {{.Templates.Deviation.Post.Deviation.Stats.Favourites}}; Downloads: {{.Templates.Deviation.Post.Deviation.Stats.Downloads}} -
Redirect to original -
- {{if (ne .Templates.Deviation.Post.Description "")}} -
-
- Description - {{.Templates.Deviation.Post.Description}} -
-
- {{end}} - {{if ne .Templates.Deviation.Related ""}} -
- Related content - {{.Templates.Deviation.Related}} -
- {{end}} - {{if (ne .Templates.Deviation.Comments "")}} - {{.Templates.Deviation.Comments}} - {{end}} -
-
- \ No newline at end of file diff --git a/html/gruser.htm b/html/gruser.htm deleted file mode 100644 index a219e36..0000000 --- a/html/gruser.htm +++ /dev/null @@ -1,91 +0,0 @@ - - - - SkunkyArt | - {{if eq .Type 'a'}} - {{.Templates.GroupUser.GR.Owner.Username}} - {{else}} - gallery of {{.Templates.GroupUser.GR.Owner.Username}} - {{end}} - - - - -
-
-

HOME | DD - | Gallery{{else}}about">About{{end}} - | RSS

-
- - - - -

| {{.Templates.GroupUser.GR.Owner.Username}}

-
- {{if eq .Type 'a'}} - {{if ne .Templates.GroupUser.About.BG ""}} - - {{end}} - - {{.Templates.GroupUser.GR.Owner.Username}} - {{if (eq .Templates.GroupUser.About.A.Gender "male")}} - ♂️ - {{end}} - {{if (eq .Templates.GroupUser.About.A.Gender "female")}} - ♀️ - {{end}} - [{{.Templates.GroupUser.GR.Gruser.ID}}] - [{{.Templates.GroupUser.CreationDate}}] - {{if ne .Templates.GroupUser.GR.Extra.Tag ""}} - "{{.Templates.GroupUser.GR.Extra.Tag}}"{{end}} {{if ne .Templates.GroupUser.About.A.Country ""}} - ({{.Templates.GroupUser.About.A.Country}}) - {{end}} - - {{if .Templates.GroupUser.Group}} -

# Statistics

-

Watchers: {{.Templates.GroupUser.GR.Extra.Stats.Watchers}}; Pageviews: {{.Templates.GroupUser.GR.Extra.Stats.Pageviews}} - {{else}} -

# Statistics

-

Favourites: {{.Templates.GroupUser.GR.Extra.Stats.Favourites}}; Deviations: {{.Templates.GroupUser.GR.Extra.Stats.Deviations}}; Watchers: {{.Templates.GroupUser.GR.Extra.Stats.Watchers}} -

Watching: {{.Templates.GroupUser.GR.Extra.Stats.Watching}}; Pageviews: {{.Templates.GroupUser.GR.Extra.Stats.Pageviews}}; Comments Made: {{.Templates.GroupUser.GR.Extra.Stats.CommentsMade}}; Friends: {{.Templates.GroupUser.GR.Extra.Stats.Friends}}

- {{end}} - - {{if ne .Templates.GroupUser.Admins ""}} -

# Group admins

-
- {{.Templates.GroupUser.Admins}} -
- {{end}} - - {{if ne .Templates.GroupUser.About.Interests ""}} -

# Interests

- {{.Templates.GroupUser.About.Interests}} - {{end}} - - {{if ne .Templates.GroupUser.About.Social ""}} -

# Social Links

- {{.Templates.GroupUser.About.Social}} - {{end}} - - {{if ne .Templates.GroupUser.About.DescriptionFormatted ""}} -

# About me

- {{.Templates.GroupUser.About.DescriptionFormatted}} - {{end}} - {{if ne .Templates.GroupUser.About.Comments ""}} -
-

# Comments

- {{.Templates.GroupUser.About.Comments}} - {{end}} - {{else}} - {{.Templates.GroupUser.Gallery.Folders}} - {{.Templates.GroupUser.Gallery.List}} - {{end}} -
- diff --git a/html/index.htm b/html/index.htm deleted file mode 100644 index 08feba5..0000000 --- a/html/index.htm +++ /dev/null @@ -1,22 +0,0 @@ - - - - SkunkyArt - - - -
-
-
- - - -
-

Daily Deviations | About | Source Code

-
-
- \ No newline at end of file diff --git a/html/search.htm b/html/search.htm deleted file mode 100644 index df1cf85..0000000 --- a/html/search.htm +++ /dev/null @@ -1,30 +0,0 @@ - - - - SkunkyArt | Search "{{.QueryRaw}}" - - - -
-
-

HOME | DD

-
- - - -
-
- {{if ne .Templates.Search.List ""}} - {{if ne .Templates.Search.Content.Total 0}} -

Results by request '{{.QueryRaw}}': {{.Templates.Search.Content.Total}}

- {{end}} - {{.Templates.Search.List}} - {{else}} -

No results :(

- {{end}} -
- \ No newline at end of file -- cgit v1.2.3