Pull into a theme struct, improve weighting

To make the code easier to follow/manage.
This commit is contained in:
Bjørn Erik Pedersen committed 2021-07-06 19:22:03 +02:00
1 parent b5776247c3
commit 7e3fcbe2ea
16 files changed
+197 -73

No files matched your search

@@ -0,0 +1 @@
{"github.com/10mohi6/hugo-theme-simple-blog":{"id":267472161,"created_at":"2020-05-28T02:15:40Z","updated_at":"2021-06-16T00:07:32Z","name":"hugo-theme-simple-blog","description":"simple-blog is a simple blog theme for hugo.","html_url":"https://github.com/10mohi6/hugo-theme-simple-blog","stargazers_count":8},"github.com/2-REC/hugo-myportfolio-theme":{"id":148112554,"created_at":"2018-09-10T06:57:49Z","updated_at":"2020-07-25T08:35:49Z","name":"hugo-myportfolio-theme","description":"Adaptation of the HUGO Creative Theme to support several portfolios.","html_url":"https://github.com/2-REC/hugo-myportfolio-theme","stargazers_count":8},"github.com/4ever9/less":{"id":286416148,"created_at":"2020-08-10T08:14:27Z","updated_at":"2021-06-24T23:08:02Z","name":"less","description":"Hugo theme","html_url":"https://github.com/4ever9/less","stargazers_count":4},"github.com/7ma7X/HugoTeX":{"id":268434902,"created_at":"2020-06-01T05:41:04Z","updated_at":"2021-07-04T02:38:23Z","name":"HugoTeX","description":"LaTeX style hugo theme","html_url":"https://github.com/HelloRusk/HugoTeX","stargazers_count":31},"github.com/AlexFinn/simple-a":{"id":20995016,"created_at":"2014-06-19T09:30:36Z","updated_at":"2021-06-30T03:29:34Z","name":"simple-a","description":"Minimalistic Hugo theme","html_url":"https://github.com/alxschwarz/simple-a","stargazers_count":52},"github.com/AmazingRise/hugo-theme-diary":{"id":220989613,"created_at":"2019-11-11T13:40:14Z","updated_at":"2021-07-06T02:50:53Z","name":"hugo-theme-diary","description":"Moments piled up. A Hugo theme ported from SumiMakito/hexo-theme-Journal.","html_url":"https://github.com/AmazingRise/hugo-theme-diary","stargazers_count":194},"github.com/AngeloStavrow/indigo":{"id":144703412,"created_at":"2018-08-14T10:10:53Z","updated_at":"2021-07-02T03:29:58Z","name":"indigo","description":"An IndieWeb-friendly custom theme for Hugo","html_url":"https://github.com/AngeloStavrow/indigo","stargazers_count":53},"github.com/CaiJimmy/hugo-theme-stack":{"id":289457038,"created_at":"2020-08-22T09:16:55Z","updated_at":"2021-07-06T15:14:28Z","name":"hugo-theme-stack","description":"Card-style Hugo theme designed for bloggers","html_url":"https://github.com/CaiJimmy/hugo-theme-stack","stargazers_count":947},"github.com/Chen-Zhe/photo-grid":{"id":240859368,"created_at":"2020-02-16T08:49:21Z","updated_at":"2021-05-15T15:34:23Z","name":"photo-grid","description":"A Hugo theme for manage photography display in a dynamic grid layout","html_url":"https://github.com/Chen-Zhe/photo-grid","stargazers_count":23},"github.com/EmielH/hallo-hugo":{"id":155071757,"created_at":"2018-10-28T13:02:54Z","updated_at":"2021-07-06T01:11:18Z","name":"hallo-hugo","description":"Hallo is a single-page Hugo theme to introduce yourself.","html_url":"https://github.com/EmielH/hallo-hugo","stargazers_count":85},"github.com/EmielH/stip-hugo":{"id":178725944,"created_at":"2019-03-31T18:25:34Z","updated_at":"2021-05-15T14:12:28Z","name":"stip-hugo","description":"Stip is a single-page Hugo theme to introduce yourself, based on Material Design's tap target design pattern.","html_url":"https://github.com/EmielH/stip-hugo","stargazers_count":18},"github.com/EmielH/tale-hugo":{"id":142682503,"created_at":"2018-07-28T14:12:03Z","updated_at":"2021-07-02T02:38:39Z","name":"tale-hugo","description":"A port of the Tale theme for Hugo. Tale is a minimal theme curated for storytellers.","html_url":"https://github.com/EmielH/tale-hugo","stargazers_count":200},"github.com/ExchangeRate-API/strange-case":{"id":66580052,"created_at":"2016-08-25T17:44:29Z","updated_at":"2021-03-04T12:57:53Z","name":"strange-case","description":"Strange Case is a Hugo theme for people who like the Hyde theme ported from Jekyll but prefer using Bootstrap.","html_url":"https://github.com/ExchangeRate-API/strange-case","stargazers_count":26},"github.com/Fastbyte01/KeepIt":{"id":168930851,"created_at":"2019-02-03T09:52:26Z","updated_at":"2021-07-05T12:32:09Z","name":"KeepIt","description":"The most powerful minimal Hugo theme.","html_url":"https://github.com/Fastbyte01/KeepIt","stargazers_count":162},"github.com/GDGToulouse/devfest-theme-hugo":{"id":165132952,"created_at":"2019-01-10T21:22:23Z","updated_at":"2021-06-26T20:45:19Z","name":"devfest-theme-hugo","description":"A theme for a conference website. Created for DevFest Toulouse 2019","html_url":"https://github.com/GDGToulouse/devfest-theme-hugo","stargazers_count":65},"github.com/HEIGE-PCloud/DoIt":{"id":358233149,"created_at":"2021-04-15T11:24:30Z","updated_at":"2021-07-06T10:50:51Z","name":"DoIt","description":"A clean, elegant and advanced blog theme for Hugo.","html_url":"https://github.com/HEIGE-PCloud/DoIt","stargazers_count":42},"github.com/IvanChou/hugo-theme-vec":{"id":67712359,"created_at":"2016-09-08T14:50:26Z","updated_at":"2021-05-07T03:08:34Z","name":"hugo-theme-vec","description":"Vec is a minimal, clean and beautiful theme for Hugo.","html_url":"https://github.com/yiichou/hugo-theme-vec","stargazeLine truncated
+1 -1
View File
@@ -1 +1 @@
{"github.com/bep/docuapi":{"id":71171466,"name":"docuapi","description":"Beautiful multilingual API documentation theme for Hugo","html_url":"https://github.com/bep/docuapi","stargazers_count":501},"github.com/spf13/hyde":{"id":20112077,"name":"hyde","description":"Port of Mdo's excellent theme to Hugo","html_url":"https://github.com/spf13/hyde","stargazers_count":449}}
{"github.com/tylerjlawson/port-hugo":{"id":333993112,"created_at":"2021-01-29T00:28:46Z","updated_at":"2021-05-31T22:17:28Z","name":"port-hugo","description":"","html_url":"https://github.com/tylerjlawson/port-hugo","stargazers_count":0},"github.com/tylerjlawson/simple-snipcart-shop":{"id":334471139,"created_at":"2021-01-30T17:26:57Z","updated_at":"2021-01-30T17:56:42Z","name":"simple-snipcart-shop","description":"Hugo theme for a simple online store using Snipcart","html_url":"https://github.com/tylerjlawson/simple-snipcart-shop","stargazers_count":0}}
@@ -1 +0,0 @@
{"github.com/2-REC/hugo-myportfolio-theme":{"id":148112554,"name":"hugo-myportfolio-theme","description":"Adaptation of the HUGO Creative Theme to support several portfolios.","html_url":"https://github.com/2-REC/hugo-myportfolio-theme","stargazers_count":8},"github.com/AlexFinn/simple-a":{"id":20995016,"name":"simple-a","description":"Minimalistic Hugo theme","html_url":"https://github.com/alxschwarz/simple-a","stargazers_count":53},"github.com/AmazingRise/hugo-theme-diary":{"id":220989613,"name":"hugo-theme-diary","description":"Moments piled up. A Hugo theme ported from SumiMakito/hexo-theme-Journal.","html_url":"https://github.com/AmazingRise/hugo-theme-diary","stargazers_count":195},"github.com/AngeloStavrow/indigo":{"id":144703412,"name":"indigo","description":"An IndieWeb-friendly custom theme for Hugo","html_url":"https://github.com/AngeloStavrow/indigo","stargazers_count":52},"github.com/Chen-Zhe/photo-grid":{"id":240859368,"name":"photo-grid","description":"A Hugo theme for manage photography display in a dynamic grid layout","html_url":"https://github.com/Chen-Zhe/photo-grid","stargazers_count":23},"github.com/EmielH/hallo-hugo":{"id":155071757,"name":"hallo-hugo","description":"Hallo is a single-page Hugo theme to introduce yourself.","html_url":"https://github.com/EmielH/hallo-hugo","stargazers_count":84},"github.com/EmielH/stip-hugo":{"id":178725944,"name":"stip-hugo","description":"Stip is a single-page Hugo theme to introduce yourself, based on Material Design's tap target design pattern.","html_url":"https://github.com/EmielH/stip-hugo","stargazers_count":18},"github.com/EmielH/tale-hugo":{"id":142682503,"name":"tale-hugo","description":"A port of the Tale theme for Hugo. Tale is a minimal theme curated for storytellers.","html_url":"https://github.com/EmielH/tale-hugo","stargazers_count":199},"github.com/ExchangeRate-API/strange-case":{"id":66580052,"name":"strange-case","description":"Strange Case is a Hugo theme for people who like the Hyde theme ported from Jekyll but prefer using Bootstrap.","html_url":"https://github.com/ExchangeRate-API/strange-case","stargazers_count":26},"github.com/Fastbyte01/KeepIt":{"id":168930851,"name":"KeepIt","description":"The most powerful minimal Hugo theme.","html_url":"https://github.com/Fastbyte01/KeepIt","stargazers_count":160},"github.com/GDGToulouse/devfest-theme-hugo":{"id":165132952,"name":"devfest-theme-hugo","description":"A theme for a conference website. Created for DevFest Toulouse 2019","html_url":"https://github.com/GDGToulouse/devfest-theme-hugo","stargazers_count":65},"github.com/IvanChou/hugo-theme-vec":{"id":67712359,"name":"hugo-theme-vec","description":"Vec is a minimal, clean and beautiful theme for Hugo.","html_url":"https://github.com/yiichou/hugo-theme-vec","stargazers_count":37},"github.com/JugglerX/hugo-hero-theme":{"id":160591048,"name":"hugo-hero-theme","description":"A multi-page Hugo theme with fullscreen hero images and fullwidth sections.","html_url":"https://github.com/zerostaticthemes/hugo-hero-theme","stargazers_count":134},"github.com/JugglerX/hugo-serif-theme":{"id":159459907,"name":"hugo-serif-theme","description":"Serif is a modern business theme for Hugo.","html_url":"https://github.com/zerostaticthemes/hugo-serif-theme","stargazers_count":176},"github.com/JugglerX/hugo-whisper-theme":{"id":171089926,"name":"hugo-whisper-theme","description":"Whisper is a minimal documentation theme for Hugo.","html_url":"https://github.com/zerostaticthemes/hugo-whisper-theme","stargazers_count":166},"github.com/Lednerb/bilberry-hugo-theme":{"id":108488686,"name":"bilberry-hugo-theme","description":"Premium theme for the hugo site builder. DEMO:","html_url":"https://github.com/Lednerb/bilberry-hugo-theme","stargazers_count":218},"github.com/LordMathis/hugo-theme-nix":{"id":69647603,"name":"hugo-theme-nix","description":"Nix is a simple, minimal theme for Hugo","html_url":"https://github.com/LordMathis/hugo-theme-nix","stargazers_count":108},"github.com/MarcusVirg/forty":{"id":111167907,"name":"forty","description":"Forty theme - Hugo theme ported from HTML5UP origrinal theme called Forty.","html_url":"https://github.com/MarcusVirg/forty","stargazers_count":107},"github.com/MeiK2333/github-style":{"id":216473473,"name":"github-style","description":"","html_url":"https://github.com/MeiK2333/github-style","stargazers_count":193},"github.com/Mitrichius/hugo-theme-anubis":{"id":233350753,"name":"hugo-theme-anubis","description":"Anubis is a simple minimalist theme for Hugo blog engine","html_url":"https://github.com/Mitrichius/hugo-theme-anubis","stargazers_count":170},"github.com/MunifTanjim/minimo":{"id":91743121,"name":"minimo","description":"Minimo - Minimalist theme for Hugo","html_url":"https://github.com/MunifTanjim/minimo","stargazers_count":463},"github.com/NormandErwan/Blogpaper":{"id":219223151,"name":"Blogpaper","description":"A graphical newspaper like blog theme for Hugo.","html_url":"https://github.com/NormandErwan/BlogpLine truncated
@@ -1 +0,0 @@
{"github.com/alexandrevicenzi/soho":{"id":239386232,"name":"soho","description":"Minimalist Hugo theme based on Hyde","html_url":"https://github.com/alexandrevicenzi/soho","stargazers_count":45}}
@@ -1 +0,0 @@
{"github.com/adityatelange/hugo-PaperMod":{"id":281297416,"name":"hugo-PaperMod","description":"A fast, clean, responsive Hugo theme.","html_url":"https://github.com/adityatelange/hugo-PaperMod","stargazers_count":1582},"github.com/leonstafford/accessible-minimalism-hugo-theme":{"id":294286522,"name":"accessible-minimalism-hugo-theme","description":"Minimalist Hugo theme with a penchant for accessibility","html_url":"https://github.com/leonstafford/accessible-minimalism-hugo-theme","stargazers_count":15}}
@@ -1 +0,0 @@
{"github.com/10mohi6/hugo-theme-simple-blog":{"id":267472161,"name":"hugo-theme-simple-blog","description":"simple-blog is a simple blog theme for hugo.","html_url":"https://github.com/10mohi6/hugo-theme-simple-blog","stargazers_count":8},"github.com/4ever9/less":{"id":286416148,"name":"less","description":"Hugo theme","html_url":"https://github.com/4ever9/less","stargazers_count":4},"github.com/7ma7X/HugoTeX":{"id":268434902,"name":"HugoTeX","description":"LaTeX style hugo theme","html_url":"https://github.com/HelloRusk/HugoTeX","stargazers_count":31},"github.com/CaiJimmy/hugo-theme-stack":{"id":289457038,"name":"hugo-theme-stack","description":"Card-style Hugo theme designed for bloggers","html_url":"https://github.com/CaiJimmy/hugo-theme-stack","stargazers_count":943},"github.com/J-Siu/hugo-theme-sk1":{"id":275064335,"name":"hugo-theme-sk1","description":"Hugo Theme - SK1 (Skeleton 1)","html_url":"https://github.com/J-Siu/hugo-theme-sk1","stargazers_count":13},"github.com/J-Siu/hugo-theme-sk2":{"id":275083827,"name":"hugo-theme-sk2","description":"Hugo Theme - SK2 (Skeleton 2) ","html_url":"https://github.com/J-Siu/hugo-theme-sk2","stargazers_count":4},"github.com/J-Siu/hugo-theme-sk3":{"id":275693161,"name":"hugo-theme-sk3","description":"Hugo Theme - SK3 (Skeleton 3) ","html_url":"https://github.com/J-Siu/hugo-theme-sk3","stargazers_count":10},"github.com/LukasJoswiak/etch":{"id":264117296,"name":"etch","description":"A simple, responsive writing theme for Hugo.","html_url":"https://github.com/LukasJoswiak/etch","stargazers_count":100},"github.com/RainerChiang/simpleness":{"id":320826343,"name":"simpleness","description":"hugo theme simpleness","html_url":"https://github.com/RainerChiang/simpleness","stargazers_count":14},"github.com/StaticMania/portio-hugo":{"id":290140349,"name":"portio-hugo","description":"Portio Hugo is a simple, minimal and responsive Portfolio Hugo Theme. Portio Hugo is well organized, well-formatted, and named accordingly so it’s easy to change any and all of the design. Portio is built with Bootstrap 4. You can customize it very easily to fit your needs.","html_url":"https://github.com/StaticMania/portio-hugo","stargazers_count":168},"github.com/StaticMania/roxo-hugo":{"id":245805105,"name":"roxo-hugo","description":"","html_url":"https://github.com/StaticMania/roxo-hugo","stargazers_count":72},"github.com/ThemeTony/hugo-theme-tony":{"id":260594120,"name":"hugo-theme-tony","description":"An Elegant Hugo Theme Based on WordPress Theme Tony ✌️ | 一个简洁强大的 Hugo 博客主题 【开学摸鱼,缓慢更新】","html_url":"https://github.com/ThemeTony/hugo-theme-tony","stargazers_count":21},"github.com/WingLim/hugo-tania":{"id":316264307,"name":"hugo-tania","description":"A simple theme for bloggers.","html_url":"https://github.com/WingLim/hugo-tania","stargazers_count":53},"github.com/aanupam23/hugo-sugoi":{"id":248929788,"name":"hugo-sugoi","description":"Hugo-Sugoi - An Ultra Minimal Hugo Theme based on Skeleton","html_url":"https://github.com/aanupam23/hugo-sugoi","stargazers_count":25},"github.com/amzrk2/hugo-theme-fuji":{"id":255303954,"name":"hugo-theme-fuji","description":"A minimal Hugo theme with nice theme color. | 一个主题色极简 Hugo 主题。","html_url":"https://github.com/dsrkafuu/hugo-theme-fuji","stargazers_count":204},"github.com/apvarun/showcase-hugo-theme":{"id":269150503,"name":"showcase-hugo-theme","description":"Showcase is a minimal, single page theme for Hugo","html_url":"https://github.com/apvarun/showcase-hugo-theme","stargazers_count":25},"github.com/athul/archie":{"id":253427252,"name":"archie","description":"A minimal Hugo Theme","html_url":"https://github.com/athul/archie","stargazers_count":275},"github.com/austingebauer/devise":{"id":193039721,"name":"devise","description":"A fast, minimal, responsive Hugo theme for blogs.","html_url":"https://github.com/austingebauer/devise","stargazers_count":55},"github.com/caressofsteel/hugo-story":{"id":276523185,"name":"hugo-story","description":"A (modular, highly tweakable) responsive one-page Hugo template.","html_url":"https://github.com/caressofsteel/hugo-story","stargazers_count":60},"github.com/chipzoller/hugo-clarity":{"id":256256206,"name":"hugo-clarity","description":"A theme for Hugo based on VMware Clarity","html_url":"https://github.com/chipzoller/hugo-clarity","stargazers_count":232},"github.com/colorchestra/smol":{"id":266912351,"name":"smol","description":"A minimal, monospaced blogging theme for Hugo that respects your privacy and is easy on your bandwidth.","html_url":"https://github.com/colorchestra/smol","stargazers_count":93},"github.com/cristianmarint/sicily-hugo-theme":{"id":302672989,"name":"sicily-hugo-theme","description":"Sicily Hugo Theme","html_url":"https://github.com/cristianmarint/sicily-hugo-theme","stargazers_count":14},"github.com/darshanbaral/ghazal":{"id":249553623,"name":"ghazal","description":"hugo theme for personal blogs","html_url":"https://gitLine truncated
@@ -1 +0,0 @@
{"github.com/razonyang/hugo-theme-bootstrap":{"id":304332853,"name":"hugo-theme-bootstrap","description":"An extreme fast, responsive and feature-rich Hugo theme. 一个极快、响应式和功能丰富的 Hugo 主题。","html_url":"https://github.com/razonyang/hugo-theme-bootstrap","stargazers_count":64}}
@@ -79,6 +79,11 @@
"noMounts": true,
"path": "github.com/GDGToulouse/devfest-theme-hugo"
},
{
"ignoreImports": true,
"noMounts": true,
"path": "github.com/HEIGE-PCloud/DoIt"
},
{
"ignoreImports": true,
"noMounts": true,
@@ -319,6 +324,11 @@
"noMounts": true,
"path": "github.com/apvarun/showcase-hugo-theme"
},
{
"ignoreImports": true,
"noMounts": true,
"path": "github.com/apvarun/showfolio-hugo-theme"
},
{
"ignoreImports": true,
"noMounts": true,
@@ -1669,11 +1679,21 @@
"noMounts": true,
"path": "github.com/tummychow/lanyon-hugo"
},
{
"ignoreImports": true,
"noMounts": true,
"path": "github.com/tylerjlawson/port-hugo"
},
{
"ignoreImports": true,
"noMounts": true,
"path": "github.com/tylerjlawson/simple-resume"
},
{
"ignoreImports": true,
"noMounts": true,
"path": "github.com/tylerjlawson/simple-snipcart-shop"
},
{
"ignoreImports": true,
"noMounts": true,
@@ -1874,6 +1894,11 @@
"noMounts": true,
"path": "gitlab.com/VincentTam/huginn"
},
{
"ignoreImports": true,
"noMounts": true,
"path": "gitlab.com/avron/gruvhugo"
},
{
"ignoreImports": true,
"noMounts": true,
@@ -1899,6 +1924,11 @@
"noMounts": true,
"path": "gitlab.com/rmaguiar/hugo-theme-color-your-world"
},
{
"ignoreImports": true,
"noMounts": true,
"path": "gitlab.com/tmuguet/hugo-split-gallery"
},
{
"ignoreImports": true,
"noMounts": true,
+6
View File
@@ -18,6 +18,7 @@ require (
github.com/ExchangeRate-API/strange-case v0.0.0-20210304125749-3ea1d7d50bd0 // indirect
github.com/Fastbyte01/KeepIt v0.0.0-20210510203117-94304cd7fbfd // indirect
github.com/GDGToulouse/devfest-theme-hugo v0.0.0-20210623082303-e7c62815e13b // indirect
github.com/HEIGE-PCloud/DoIt v0.2.11 // indirect
github.com/IvanChou/hugo-theme-vec v0.0.0-20190110125257-deb6897f1d8e // indirect
github.com/J-Siu/hugo-theme-sk1 v0.0.0-20210116111537-383d3e74b6db // indirect
github.com/J-Siu/hugo-theme-sk2 v0.0.0-20210116112457-c2228ca5eb09 // indirect
@@ -66,6 +67,7 @@ require (
github.com/antonpolishko/hugo-stellar-theme v0.0.0-20180919075539-9821d3e02be0 // indirect
github.com/appernetic/hugo-nederburg-theme v0.0.0-20190712152204-d99760bac630 // indirect
github.com/apvarun/showcase-hugo-theme v1.2.0 // indirect
github.com/apvarun/showfolio-hugo-theme v1.0.0 // indirect
github.com/asurbernardo/amperage v0.0.0-20201210113041-18bba9e6f415 // indirect
github.com/athul/archie v0.0.0-20210629044854-5321e4817fbe // indirect
github.com/austingebauer/devise v0.0.0-20210504025457-c1e722c2e2b6 // indirect
@@ -335,7 +337,9 @@ require (
github.com/tnwhitwell/hugo-startpage-theme v0.0.0-20180704204829-76b1a1f5808e // indirect
github.com/tosi29/inkblotty v0.0.0-20210329142630-603eab433785 // indirect
github.com/tummychow/lanyon-hugo v0.0.0-20210123043723-cd7b91420a90 // indirect
github.com/tylerjlawson/port-hugo v0.0.0-20210531221651-0d0e2d192386 // indirect
github.com/tylerjlawson/simple-resume v0.0.0-20210630204200-d0006c95853f // indirect
github.com/tylerjlawson/simple-snipcart-shop v0.0.0-20210130174903-10f741f9f35e // indirect
github.com/uPagge/uBlogger v1.2.0 // indirect
github.com/uicardiodev/hugo-lime v0.0.0-20180916134933-90177ceb59cb // indirect
github.com/uicardiodev/hugo-sodium-theme v0.0.0-20181119122014-1c681c5db2a0 // indirect
@@ -376,10 +380,12 @@ require (
github.com/zzossig/hugo-theme-zzo v0.0.0-20210523142617-01f9e43e59b0 // indirect
github.com/zzzmisa/hugo-theme-doors v0.0.0-20210415141417-7a46cd1d8222 // indirect
gitlab.com/VincentTam/huginn v0.0.0-20190817135446-c6cfb0ab831c // indirect
gitlab.com/avron/gruvhugo v0.0.0-20210706153027-2289970313c0 // indirect
gitlab.com/kskarthik/monopriv v0.0.0-20200526110241-17ac34952952 // indirect
gitlab.com/kskarthik/resto-hugo v0.0.0-20200526110347-8d2d566dfec7 // indirect
gitlab.com/maxlefou/hugo.386 v0.0.0-20210608181421-9171c8d11377 // indirect
gitlab.com/mertbakir/resume-a4 v0.0.0-20210428233036-af3768b91fa0 // indirect
gitlab.com/rmaguiar/hugo-theme-color-your-world v0.0.0-20210610020033-e00287cf947b // indirect
gitlab.com/tmuguet/hugo-split-gallery v1.0.3 // indirect
gitlab.com/toryanderson/hugo-icarus v0.0.0-20200701121335-f3e99478c35b // indirect
)
+27
View File
@@ -28,6 +28,8 @@ github.com/Fastbyte01/KeepIt v0.0.0-20210510203117-94304cd7fbfd h1:BRFdie2NEpEih
github.com/Fastbyte01/KeepIt v0.0.0-20210510203117-94304cd7fbfd/go.mod h1:M6ThhOtiUROtefKk1Oqi5Yd35F3JXQKjY42i0/s+n88=
github.com/GDGToulouse/devfest-theme-hugo v0.0.0-20210623082303-e7c62815e13b h1:0+rUPwkVYkCo372x3o/mQ+x2py7NASzJqN49Cq+LvfA=
github.com/GDGToulouse/devfest-theme-hugo v0.0.0-20210623082303-e7c62815e13b/go.mod h1:JZPo2mrjM2VlfzPefMfkL6X+kWYiPdRN9eIsbIGUmRw=
github.com/HEIGE-PCloud/DoIt v0.2.11 h1:trNyjkIqofShX/A90OztTEKGJFxiMpi8uwi9n3WnrKM=
github.com/HEIGE-PCloud/DoIt v0.2.11/go.mod h1:SyEBjqY19ONqToU6wtTjPO84tNuPsMTQ+E/iX20addA=
github.com/IvanChou/hugo-theme-vec v0.0.0-20190110125257-deb6897f1d8e h1:gbK9pQE92fdFgkCzqGYoT4i4foFhrV+C3FsSLKEYORg=
github.com/IvanChou/hugo-theme-vec v0.0.0-20190110125257-deb6897f1d8e/go.mod h1:sWOyvh4sFTnowvz48zy0HWmwwROHdn7TLTxMFPzN/x0=
github.com/J-Siu/hugo-theme-sk1 v0.0.0-20210116111537-383d3e74b6db h1:xMLXSDeBjYMZBEQK08BKE+FTmFFtQeVhelepjggu1dY=
@@ -124,6 +126,8 @@ github.com/appernetic/hugo-nederburg-theme v0.0.0-20190712152204-d99760bac630 h1
github.com/appernetic/hugo-nederburg-theme v0.0.0-20190712152204-d99760bac630/go.mod h1:DpdzzbOU/CzD5kH9kfD/lAWOdYbNH14vZ9uiOUY+6lA=
github.com/apvarun/showcase-hugo-theme v1.2.0 h1:uM0WbEm+6RsjNOsOMvhEhIoN8WRJs/IgVKsSTLtHfps=
github.com/apvarun/showcase-hugo-theme v1.2.0/go.mod h1:7Ox1J/nd+xUq2SEvEFpWulH+D8E5UoG7uq5+130XoQ4=
github.com/apvarun/showfolio-hugo-theme v1.0.0 h1:60D0sX1gQuPJnGlrxgEmiA3bQYo6D85a+UalO979OKo=
github.com/apvarun/showfolio-hugo-theme v1.0.0/go.mod h1:7q85q5vgDpPPUUJaDklTd/NNyIT2RaI6ktLSGikt1cE=
github.com/asurbernardo/amperage v0.0.0-20201210113041-18bba9e6f415 h1:8xg41J/Nl9xGMmhOiMgbUVL72E03T+jxbuQESm9QlBM=
github.com/asurbernardo/amperage v0.0.0-20201210113041-18bba9e6f415/go.mod h1:qjhaBjexEUE3z1DCIzBdyHip3HfzBbjRhlEG9wddfOs=
github.com/athul/archie v0.0.0-20210629044854-5321e4817fbe h1:2LvpnJBV1+jnUz7pizkIyDRYhTgCJYWhyNtJr99/kzA=
@@ -298,6 +302,7 @@ github.com/h-enk/doks v0.3.3 h1:6kqVj+fsj9LwVS0jC10UJWRfZnf1cNg2cVZQMPhLlp0=
github.com/h-enk/doks v0.3.3/go.mod h1:rGZyg2gJspvHYEy6mWsl3JTVVkwcSEl6G3y88GRyfk4=
github.com/hadisinaee/avicenna v0.0.0-20210627053040-5a3ec519172c h1:8qQ1NJSL2djclKwtCUyTcK/eHrGVT46nw0V/b967DXU=
github.com/hadisinaee/avicenna v0.0.0-20210627053040-5a3ec519172c/go.mod h1:kg9hquFvYCh9THu+KTrZJEt214IgjNSewmOL2ocYwFM=
github.com/hakimel/reveal.js v0.0.0-20210609121455-a453ac08a820/go.mod h1:vIoaZ8tJbfDF30DhKf6Dia5ykePO0tETa9Posw8UrOE=
github.com/halogenica/beautifulhugo v0.0.0-20210106080152-99ca240e9977 h1:pPJoUP0hd1tTt6wgA2pY3ssiXRWPLzhYF6Bz7hcv0yY=
github.com/halogenica/beautifulhugo v0.0.0-20210106080152-99ca240e9977/go.mod h1:ufPkGvDjUx8ELYtHwaxCSuQeDMIrW7wtDzw/Hqoy4CY=
github.com/hauke96/hugo-theme-hamburg v0.6.3 h1:eO0KYLiHkxATBhtKOrKmsQVgzTxxEbbkn6FFG9/XjM4=
@@ -344,6 +349,7 @@ github.com/janraasch/hugo-product-launch v0.0.0-20210602075953-6fa6b03242f5 h1:I
github.com/janraasch/hugo-product-launch v0.0.0-20210602075953-6fa6b03242f5/go.mod h1:DYGoWCCYzs3jkt2qI3jr1uERxfenN+BVyQVLWci1YzA=
github.com/janraasch/hugo-scroll v0.0.0-20210608123405-a756611a0b1b h1:cAmYZZghtKy7bG4BPal8NSYG4OilQojdsRvynzVCGiY=
github.com/janraasch/hugo-scroll v0.0.0-20210608123405-a756611a0b1b/go.mod h1:/b1C6fsYSDjAAglN9TLPkA8ojhg8e2wkfLwyzpOe0UM=
github.com/jaywcjlove/hotkeys v3.8.7+incompatible/go.mod h1:B8sgoHCreUIgvVuJaI5mfsyw/gFV+c+OlJfNbLpdtzQ=
github.com/jbub/ghostwriter v0.5.0 h1:GNdbstRj3uFcj4P1vH2kmxVWZVj5CpU2g3bCkfkvWjc=
github.com/jbub/ghostwriter v0.5.0/go.mod h1:MApLh2JiSAfJZG7k0jzVZ4rI0e2ptLcGhNlSPxA0roI=
github.com/jeblister/bulma v0.0.0-20190415194547-8b76e4da46e9 h1:EwfXUH5p/voKZCqEzISxDcxcotpV5kQnt/UycFvswX0=
@@ -354,6 +360,7 @@ github.com/jeremybise/twentynineteen-hugo v0.0.0-20191008161335-7c0a63e24114 h1:
github.com/jeremybise/twentynineteen-hugo v0.0.0-20191008161335-7c0a63e24114/go.mod h1:tddgLuC4ezT+j8Ja38x9Rm7szNOny1i8qCQLs+i/A5A=
github.com/jesselau76/hugo-w3-simple v0.0.0-20191201025610-f766ec17256d h1:b5UlBleHWBPZ2tyGi3Pm4UiOcU57xujEsTgdayT555w=
github.com/jesselau76/hugo-w3-simple v0.0.0-20191201025610-f766ec17256d/go.mod h1:LPe0t4+ReiyGENhOK4Cni4UTGzwtWr+qdH04qQvQrSk=
github.com/jgthms/bulma v0.0.0-20210618174152-5a23dcbfe4bf/go.mod h1:89FLBKXYFKfOKAoDeUT26V0pHGwzr205cMXAEqtAVOI=
github.com/jimfrenette/hugo-starter v0.0.0-20201215134056-9a3e55794f92 h1:9jIW96S1y+cM2pcJFmJ6BgC9MZ7rURmX+P1HbkOAZWs=
github.com/jimfrenette/hugo-starter v0.0.0-20201215134056-9a3e55794f92/go.mod h1:D1zakjaP6nB32NDhNZQPWIue7Zc/E4oMMIDsCxwclk0=
github.com/jmablog/hugo-clinic-notes v0.0.0-20210111134623-7f5a64696c35 h1:YsYPlj5FWkr3Ncg+gDe7umeQoEvpdvBNlLOD7erXXX4=
@@ -368,6 +375,7 @@ github.com/joway/hugo-theme-yinyang v0.0.0-20210615032940-d56e2869fc5c h1:fun1CX
github.com/joway/hugo-theme-yinyang v0.0.0-20210615032940-d56e2869fc5c/go.mod h1:yRU0AESVBvYQYNRtMXzNS7TnURXSe7wvJKVAMEkW4ts=
github.com/jpescador/hugo-future-imperfect v0.0.0-20180227143914-020882f6ec36 h1:AkC3yYnqqL9lOXAZSF1zcDV83ZMqjdKrYOoreb95Yus=
github.com/jpescador/hugo-future-imperfect v0.0.0-20180227143914-020882f6ec36/go.mod h1:/EtVI1+QU9xDWAVxkf8u3XqCcvFbjFt8R9TBGDMWp34=
github.com/jquery/jquery-dist v0.0.0-20210302171154-e786e3d9707f/go.mod h1:/lTfttEqFU0GWTaOOMIeNTzLGQ7yTIgyzjtkS/pYIoc=
github.com/jrutheiser/hugo-lithium-theme v0.0.0-20190825194930-b91f21ac12f6 h1:tboJBKlFMhfpWcHuKwXxBC9PLpbUMGMT/oKGnDBE380=
github.com/jrutheiser/hugo-lithium-theme v0.0.0-20190825194930-b91f21ac12f6/go.mod h1:EmUxBPEtCh7yRW26Zz19bISTj/ZuIhfkuOt4FVV7vkI=
github.com/jsnjack/hugo-changelog-theme v0.0.0-20210104225528-d58a8286e0e7 h1:BKLU710E26bFGiv+tO725/roevxXfSuOm1U2yQCyV1c=
@@ -430,6 +438,7 @@ github.com/marketempower/axiom v0.8.0 h1:zi9Fz4N0hu8EqKEALSkCUc9NnilnqmvZlyyWVfd
github.com/marketempower/axiom v0.8.0/go.mod h1:yBi32+wVWUXnGDYjQ4tqXwcGAuSP8lOhOm1jgxN7SCA=
github.com/matcornic/hugo-theme-learn v0.0.0-20210331234833-d198cbe65f06 h1:Vxgl1/dyKpZDstVWmxNL9BauEGxLXrcbe1T09/dEzTY=
github.com/matcornic/hugo-theme-learn v0.0.0-20210331234833-d198cbe65f06/go.mod h1:YoToDcvQxmAFhpEuapKUysBDEBckqDEssqTrmeZ2+uY=
github.com/mathjax/MathJax v0.0.0-20210617144258-7146ffa47956/go.mod h1:bgp6XP7Dtl25/x6vVIPVe2mkOCrg8wMk/A9gl0FzJLA=
github.com/matsuyoshi30/harbor v1.0.0 h1:3P6YydGy4w/kAJ/nwCoGONc1MzqwZfT4bTPvGUYyj/o=
github.com/matsuyoshi30/harbor v1.0.0/go.mod h1:LiMJyp660dYEntK8k1hg/NJTdL8OWJ48ZTiHgQ0dJeI=
github.com/mattbutton/silhouette-hugo v0.0.0-20191229223120-ac9d5a36f11f h1:M6rwTRoAT8hlt6r53Q26u8zgG0sLrN/ZFpMTQbZfThY=
@@ -446,6 +455,7 @@ github.com/mdashx/basicwebtheme v0.3.0 h1:CFLpSxinD5emiBXOeqfYWg13C9rGzs9adr8s2c
github.com/mdashx/basicwebtheme v0.3.0/go.mod h1:vzJRREfnYl2/fsV/GAJG/CYUrZElNM4Nd1B1B6+MP5A=
github.com/meibenny/elephants v0.0.0-20190820025002-8838e7504aed h1:jxoBHt9WFLD6srnVE0sXex70+yjUKnjbJJWasrEXVBo=
github.com/meibenny/elephants v0.0.0-20190820025002-8838e7504aed/go.mod h1:6rsFlY6RN5/l65zf7mkXr79czBkpR+MO8X0FER3FJYk=
github.com/mermaid-js/mermaid v8.8.5-0.20210510161447-417428aceada+incompatible/go.mod h1:pGJSm9DYANtp59DADJgNzFh1uIpkn5xaH3ZBdv1VNTI=
github.com/miguelsimoni/hugo-initio v0.0.0-20210601162906-a1fab1f21a8d h1:Q+j+Bo5Yi5zCq5oigVpC8nrXRNoeURd7wwE+NiQel5M=
github.com/miguelsimoni/hugo-initio v0.0.0-20210601162906-a1fab1f21a8d/go.mod h1:KBCk/6VF3tsQ8qGIJqNNxyZkTyDluE/WzvhAPoet/FY=
github.com/mikeblum/hugo-now v0.1.0 h1:zSbICSdI8TkG0LWO/FqE8JdYQAVxvIviCuxY1ZFSXeI=
@@ -484,6 +494,7 @@ github.com/okkur/syna v0.17.4 h1:yjaij6V6gNftNDMTVxAwPBRb0B1LiZgxW3x6pqd/Nys=
github.com/okkur/syna v0.17.4/go.mod h1:cNe2KzYuuFyTGHhK7y3OzaSjWE1YIbp91jgMetkAGbI=
github.com/olOwOlo/hugo-theme-even v4.1.0+incompatible h1:vac90+azWrNgGvanS7mN2ztvJl9P5IHFvPSS+EAbYRA=
github.com/olOwOlo/hugo-theme-even v4.1.0+incompatible/go.mod h1:fi8rrW+HLHpDEjP9Hft6Mx5ZFQRnofQuVHgavM0ruyo=
github.com/olivernn/lunr.js v2.3.9+incompatible/go.mod h1:yEkQ1DUSMtNsn8n2CqvQXZd0ErWPEG8g9QRmblR+KS8=
github.com/onweru/compose v0.0.0-20210602165038-8e0734a94c1e h1:3xPUTALCndZtbc3uj5SYXh1cp98KbPRfsn35ELpnkFU=
github.com/onweru/compose v0.0.0-20210602165038-8e0734a94c1e/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc=
github.com/onweru/hugo-swift-theme v2.0.0+incompatible h1:UGc/TiOzqcSnNyfkkKoU8vQ9wGQTBmLjkblGcPhnzjM=
@@ -508,6 +519,10 @@ github.com/pdevty/material-design v0.0.0-20160828002125-587b3af7db83 h1:KBWTiUhh
github.com/pdevty/material-design v0.0.0-20160828002125-587b3af7db83/go.mod h1:vDXuZxWHpOSLYODEXAkZLW1juBI1a7Mn6JiOU/CKI7w=
github.com/pdevty/polymer v0.0.0-20150630134133-d8be0028b80d h1:ZldL/bfpwb5V3lqSbva62f0heSNhLLxS+fGhv+azybc=
github.com/pdevty/polymer v0.0.0-20150630134133-d8be0028b80d/go.mod h1:xfpGeFo5lS+6S67rbwkU20YxmEzfBzV/mPDLbHVjT08=
github.com/peaceiris/hugo-mod-bulma v0.3.0/go.mod h1:+5idJlph2gBw/lmUP+bIRHBC5uwp+awkHjHuyPdK3s4=
github.com/peaceiris/hugo-mod-mathjax v0.2.0/go.mod h1:7FJooVihcCuB6+9lBZ6+rFaUu2VrpOTqO5xybz6sRxY=
github.com/peaceiris/hugo-mod-mermaidjs v0.9.0/go.mod h1:P49aHKrQgzZhguUe5Zd9rQDzsm4rzQZWyYMH7IGF8/I=
github.com/peaceiris/hugo-mod-revealjs v0.4.0/go.mod h1:XtjBQXghMXua1iwSngEoy4q0MV36q5+qmS0rrNAFJLg=
github.com/peaceiris/hugo-theme-iris v0.40.0 h1:+Y8jq2bL8WtAYi4OSj0kDnllGDyy7yF48+7kM4so9v0=
github.com/peaceiris/hugo-theme-iris v0.40.0/go.mod h1:tUiN08bqKROSBXLB+8lLtzLlT+HKl87C2r95rmWBIGA=
github.com/pfadfinder-konstanz/hugo-dpsg v0.0.0-20210619102347-4dc0b0094baf h1:VCTYO4nildYQLguq93jfQbuiA0pP+BTvmisqpN00Ukw=
@@ -574,6 +589,7 @@ github.com/shenoybr/hugo-goa v0.0.0-20210319042446-b5813c90fb38 h1:yQ5tjAOy820ZV
github.com/shenoybr/hugo-goa v0.0.0-20210319042446-b5813c90fb38/go.mod h1:39Jl5uhm2rCyMqjWosQojpuBhfvHxIF/llBAVYNTOZ0=
github.com/siegerts/hugo-theme-basic v0.0.0-20200521131547-7f8226c418da h1:h8ddKceudULUgL50Hi7R8S68urQijkwhdLiW21V7kz4=
github.com/siegerts/hugo-theme-basic v0.0.0-20200521131547-7f8226c418da/go.mod h1:eGEo930QbIJWFiqvroWdb0qCYnePtot4e5Cz+92jYY8=
github.com/slatedocs/slate v2.9.2+incompatible/go.mod h1:n698aXLkExWIlF7prJey0Kq6wlKIKvj/stVb5oouZDM=
github.com/softwareyoga/ronu-hugo-theme v0.0.0-20201123171535-db83b90edb86 h1:tuoarqMgm0ZPTg5wyGTO3+INYycgUpcoHHiAjPiNiwI=
github.com/softwareyoga/ronu-hugo-theme v0.0.0-20201123171535-db83b90edb86/go.mod h1:9WFzSk6cUtGGwbf/EaelRiEmKHzsjbvvFEiaDunT/7k=
github.com/spaghettiwews/hugonews v0.0.0-20200229171635-342b6a47f09e h1:p/WmoPq9St/8zZR3WP5zdHkJzgtCyRX6tgVo69ngwzc=
@@ -662,8 +678,12 @@ github.com/tosi29/inkblotty v0.0.0-20210329142630-603eab433785 h1:VofItmXZMJ9fSp
github.com/tosi29/inkblotty v0.0.0-20210329142630-603eab433785/go.mod h1:ePLoJfd5z2SUYxsUfZKFSVi0rM/ftUTTsVC58KUOvys=
github.com/tummychow/lanyon-hugo v0.0.0-20210123043723-cd7b91420a90 h1:QW6FooC3kT/5HR8YTTpC1POGIbYGKufx/KB2Q+zl3w8=
github.com/tummychow/lanyon-hugo v0.0.0-20210123043723-cd7b91420a90/go.mod h1:5h+JaS8feMlSy4S3AawFb/KHhh3/f7KxjlbY/5BRSr0=
github.com/tylerjlawson/port-hugo v0.0.0-20210531221651-0d0e2d192386 h1:k3HWdlkOVE20Sfl7Dayluk264DQ1W2Gb/YMrIBjzxME=
github.com/tylerjlawson/port-hugo v0.0.0-20210531221651-0d0e2d192386/go.mod h1:AoJ+xvBf9csBXLQhkaZBFW2+z3Q1lKHcLlgup6nMBMo=
github.com/tylerjlawson/simple-resume v0.0.0-20210630204200-d0006c95853f h1:kig6O7DgQotDoCn7YJOwOwdF+zrvRxyyGNGE4DccKd0=
github.com/tylerjlawson/simple-resume v0.0.0-20210630204200-d0006c95853f/go.mod h1:2yNTG+XsTv/ZTBdqmJpVO8Ct9NR8Q9oTpEuZuhsfVmQ=
github.com/tylerjlawson/simple-snipcart-shop v0.0.0-20210130174903-10f741f9f35e h1:5OvrAoUU/7QC8UunlJH6/btDGku1x/oBJzGVpF/1ka4=
github.com/tylerjlawson/simple-snipcart-shop v0.0.0-20210130174903-10f741f9f35e/go.mod h1:b3i3siPuC/rnbRZ8SHTPxHvgFYjPzy4Xh4EoY22CYMM=
github.com/uPagge/uBlogger v1.2.0 h1:sewoCTIZYuFWHOXgTmebaqfVoEmOFwx0S7NPa+BS8Pw=
github.com/uPagge/uBlogger v1.2.0/go.mod h1:dEdWGOFgV1CH98nU5A7CWs5vBtMYdfjo8LPBNyRG4MA=
github.com/uicardiodev/hugo-lime v0.0.0-20180916134933-90177ceb59cb h1:pa0McaGMOlZG/BTEx4Bgo+N8KjKAGV8mMSO32eiwSSM=
@@ -700,6 +720,9 @@ github.com/wlh320/hugo-theme-hulga v0.0.0-20201127105201-539caeec7c7d h1:7w6NPY4
github.com/wlh320/hugo-theme-hulga v0.0.0-20201127105201-539caeec7c7d/go.mod h1:erdTksWjSdnpLpgqvRzmDjpt/VI0OsX4FKnqCcINyR0=
github.com/wowchemy/starter-academic v0.0.0-20210704010228-c8b7886a11eb h1:Q8kMmPgDSLodwUEm+bPjiILCJpwwhkdSuXPFFWdUF4w=
github.com/wowchemy/starter-academic v0.0.0-20210704010228-c8b7886a11eb/go.mod h1:dTmqhaas0kzFOAFqRylvRaMBA44ouAKFHv4yzo8KzHs=
github.com/wowchemy/wowchemy-hugo-modules/v5 v5.3.0/go.mod h1:akNBhhT0UAOXSREplKkLe2wyHeo51qm6f+vqNkQkcmE=
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20210629192904-559885af86b7/go.mod h1:Sp/AKo+2HAPi/IPHp1MEdKPmee+mzO5+efUBUPLPqPE=
github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20210629192904-559885af86b7/go.mod h1:2iL9rdrUYyJXX2BeHKfK+QbqZlubCsaR60nQ87NRQTY=
github.com/xaprb/story v0.0.0-20190603135830-326ee1c51902 h1:kc/2N9yuS2yidJ8KJthQx9qWeyV+F4UF50bBYIXlW70=
github.com/xaprb/story v0.0.0-20190603135830-326ee1c51902/go.mod h1:Bq02jyZfVM0R4mDw2bDcRCKVbc2t03oOxDHUQYR7mS8=
github.com/xaviablaza/hugo-lodi-theme v0.0.0-20190215050835-89984401ebf2 h1:s2VX2FxprqSmK4fNKf7dzW0nNvPPZnWOHYZCvKWTZ1Y=
@@ -744,6 +767,8 @@ github.com/zzzmisa/hugo-theme-doors v0.0.0-20210415141417-7a46cd1d8222 h1:ZjGCWX
github.com/zzzmisa/hugo-theme-doors v0.0.0-20210415141417-7a46cd1d8222/go.mod h1:ukolI7OwC09Rz2acx+9z3vGvLF7Gr8UhdZoFxK61rS0=
gitlab.com/VincentTam/huginn v0.0.0-20190817135446-c6cfb0ab831c h1:Sq3kpm0oHA6pr02PjeAtUxYmDNRsabCs5+WwadUyhkI=
gitlab.com/VincentTam/huginn v0.0.0-20190817135446-c6cfb0ab831c/go.mod h1:IQnRkOvZPfOU2M5mwbrErNMv59hEefoFsGfLhOgKEao=
gitlab.com/avron/gruvhugo v0.0.0-20210706153027-2289970313c0 h1:z6iFwjsRQRCpsUwXxouAbdrkloBVqf4qEyklq8JSZaY=
gitlab.com/avron/gruvhugo v0.0.0-20210706153027-2289970313c0/go.mod h1:vqifeKD9I8POxEF7LyJ6nU/317SDCGyerR9TN3JCK1E=
gitlab.com/kskarthik/monopriv v0.0.0-20200526110241-17ac34952952 h1:w0OGzA0bM05MJjNnESs7Lnn6BVpWPcmSiAkAorIEE5A=
gitlab.com/kskarthik/monopriv v0.0.0-20200526110241-17ac34952952/go.mod h1:t9GiOC9mywBJPLM81UYoUv462rgAwEIUwfbVLLbMYgM=
gitlab.com/kskarthik/resto-hugo v0.0.0-20200526110347-8d2d566dfec7 h1:VdHX0K297tRYkmTKwqF/FopJiykd3j65c/ZddrjpLJo=
@@ -754,5 +779,7 @@ gitlab.com/mertbakir/resume-a4 v0.0.0-20210428233036-af3768b91fa0 h1:zzHi8b7uuUC
gitlab.com/mertbakir/resume-a4 v0.0.0-20210428233036-af3768b91fa0/go.mod h1:7MEY9O15Dm1V5tw5IhRXGp+F0+Ds5fGWCwgCYVNEOXA=
gitlab.com/rmaguiar/hugo-theme-color-your-world v0.0.0-20210610020033-e00287cf947b h1:DmOH850VIHlQXiZeH6VyHCLwWFqfuCTE/v2jqhN+RVo=
gitlab.com/rmaguiar/hugo-theme-color-your-world v0.0.0-20210610020033-e00287cf947b/go.mod h1:QRQ6cegjyNGQ0lRklSaG8CfpT98LjzQ4scoth803nIw=
gitlab.com/tmuguet/hugo-split-gallery v1.0.3 h1:WQ5jWle+rAux0I+U4cv7oKEJzfjOil6/lJTTE6Suqu0=
gitlab.com/tmuguet/hugo-split-gallery v1.0.3/go.mod h1:h16n/v1BLcL6E1lQeQDYZenuWXfm5zFkRJsPSCtji+Q=
gitlab.com/toryanderson/hugo-icarus v0.0.0-20200701121335-f3e99478c35b h1:leUOmfYs6USbpDL6IlHFCVV5+p0g4ZDf/92D8y8HoR0=
gitlab.com/toryanderson/hugo-icarus v0.0.0-20200701121335-f3e99478c35b/go.mod h1:TyHcvf91srhZN4djzauyQnl3vmXWPtREUNttQD/1XR4=
+1 -1
View File
@@ -4,5 +4,5 @@ go 1.16
require (
github.com/gohugoio/gohugoioTheme v0.0.0-20210615213855-748891116443 // indirect
github.com/gohugoio/hugoThemesSite v0.0.0-20210705201334-9f699bb97fc5
github.com/gohugoio/hugoThemesSite v0.0.0-20210706171535-22199be4d1bd
)
@@ -14,3 +14,7 @@ github.com/gohugoio/hugoThemesSite v0.0.0-20210701142758-d45f330006b5 h1:o7Is9EJ
github.com/gohugoio/hugoThemesSite v0.0.0-20210701142758-d45f330006b5/go.mod h1:Gx6nWFkR+m0eRiTbtiFb1luhSp6IJ22akCXOvYdcbN4=
github.com/gohugoio/hugoThemesSite v0.0.0-20210705201334-9f699bb97fc5 h1:UQot0YRCxhadwFyzF/rryxEvaBs1LGKN6G/kGHuu+Fo=
github.com/gohugoio/hugoThemesSite v0.0.0-20210705201334-9f699bb97fc5/go.mod h1:Gx6nWFkR+m0eRiTbtiFb1luhSp6IJ22akCXOvYdcbN4=
github.com/gohugoio/hugoThemesSite v0.0.0-20210706171237-2b9cc427a07e h1:9hO4Avr5NLDRu/j+6Sb/8AeoWsVyfMxPWO85XsModxc=
github.com/gohugoio/hugoThemesSite v0.0.0-20210706171237-2b9cc427a07e/go.mod h1:Gx6nWFkR+m0eRiTbtiFb1luhSp6IJ22akCXOvYdcbN4=
github.com/gohugoio/hugoThemesSite v0.0.0-20210706171535-22199be4d1bd h1:wu8ml7TGrgjcmX09Ce4vPm8UjLZI5W3rgTbFhBYVWgE=
github.com/gohugoio/hugoThemesSite v0.0.0-20210706171535-22199be4d1bd/go.mod h1:Gx6nWFkR+m0eRiTbtiFb1luhSp6IJ22akCXOvYdcbN4=
+1
View File
@@ -4,5 +4,6 @@ go 1.16
require (
github.com/peterbourgon/ff/v3 v3.0.0
github.com/rogpeppe/go-internal v1.8.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
)
+8
View File
@@ -1,10 +1,18 @@
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/pelletier/go-toml v1.6.0/go.mod h1:5N711Q9dKgbdkxHL+MEfF31hpT7l0S0s/t2kKREewys=
github.com/peterbourgon/ff/v3 v3.0.0 h1:eQzEmNahuOjQXfuegsKQTSTDbf4dNvr/eNLrmJhiH7M=
github.com/peterbourgon/ff/v3 v3.0.0/go.mod h1:UILIFjRH5a/ar8TjXYLTkIvSvekZqPm5Eb/qbGk6CT0=
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
github.com/rogpeppe/go-internal v1.8.0 h1:FCbCCtXNOY3UtUuHUYaghJg4y7Fd14rXifAYUAtL9R8=
github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+104 -59
View File
@@ -16,6 +16,7 @@ import (
"github.com/gohugoio/hugoThemesSiteBuilder/pkg/client"
"github.com/peterbourgon/ff/v3/ffcli"
"github.com/rogpeppe/go-internal/semver"
"gopkg.in/yaml.v3"
"github.com/gohugoio/hugoThemesSiteBuilder/pkg/rootcmd"
@@ -158,41 +159,12 @@ func (c *buildClient) writeThemesContent(mm client.ModulesMap, noClean bool) err
return ""
}
var title string
if mn, ok := m.Meta["name"]; ok {
title = mn.(string)
} else {
title = strings.Title(themeName)
thm := &theme{
m: m,
name: themeName,
readMeContent: getReadMeContent(),
ghRepo: githubrepos[m.Path],
}
readMeContent := getReadMeContent()
ghRepo := githubrepos[m.Path]
// 30 days.
d30 := 30 * 24 * time.Hour
const boost = 50
// Higher is better.
weight := maxStars + 500
weight -= ghRepo.Stars
// Boost themes updated recently.
if !m.Time.IsZero() {
// Add some weight to recently updated themes.
age := time.Since(m.Time)
if age < (3 * d30) {
weight -= (boost * 2)
} else if age < (6 * d30) {
weight -= boost
}
}
// Boost themes with a Hugo version indicator set that covers.
// the current Hugo version.
// TODO(bep) I removed Hugo as a dependency,
// compared this against HUGO_VERSION somehow.
/*if m.HugoVersion.IsValid() {
weight -= boost
}*/
// TODO(bep) we don't build any demo site anymore, but
// we could and should probably build a simple site and
@@ -201,13 +173,9 @@ func (c *buildClient) writeThemesContent(mm client.ModulesMap, noClean bool) err
// Add warnings for old themes, bad URLs etc.
draft := false
lastMod := m.Time
if warn, found := checkLastMod(lastMod); found {
if warn, found := thm.checkLastMod(); found {
if warn.level == errorLevelBlock {
draft = true
thm.draft = true
}
themeWarningsAll[themeWarning{theme: k, warn: warn}] = true
}
@@ -224,29 +192,15 @@ func (c *buildClient) writeThemesContent(mm client.ModulesMap, noClean bool) err
}
}
var themeWarnings []string
for v, _ := range themeWarningsAll {
if v.theme != k {
continue
}
themeWarnings = append(themeWarnings, v.warn.message)
thm.themeWarnings = append(thm.themeWarnings, v.warn.message)
}
sort.Strings(themeWarnings)
sort.Strings(thm.themeWarnings)
frontmatter := map[string]interface{}{
"draft": draft,
"title": title,
"slug": themeName,
"aliases": []string{"/" + themeName},
"weight": weight,
"lastMod": lastMod,
"hugoVersion": m.HugoVersion,
"modulePath": k,
"meta": m.Meta,
"githubInfo": ghRepo,
"themeWarnings": themeWarnings,
"tags": normalizeTags(m.Meta["tags"]),
}
frontmatter := thm.toFrontMatter()
b, err := yaml.Marshal(frontmatter)
client.CheckErr(err)
@@ -255,7 +209,7 @@ func (c *buildClient) writeThemesContent(mm client.ModulesMap, noClean bool) err
%s
---
%s
`, string(b), readMeContent)
`, string(b), thm.readMeContent)
if err := ioutil.WriteFile(filepath.Join(themeDir, "index.md"), []byte(content), 0666); err != nil {
return err
@@ -297,7 +251,98 @@ func (c *buildClient) writeThemesContent(mm client.ModulesMap, noClean bool) err
return nil
}
func checkLastMod(lastMod time.Time) (warn warning, found bool) {
type theme struct {
m client.Module
name string
// Set when hosted on GitHub.
ghRepo client.GitHubRepo
readMeContent string
themeWarnings []string
// Calculated
weight int
draft bool
}
func (t *theme) isVersioned() bool {
return semver.IsValid(t.m.Version)
}
func (t *theme) calculateWeight(maxStars int) {
// 30 days.
d30 := 30 * 24 * time.Hour
// Higher is better.
t.weight = maxStars + 500
t.weight -= t.ghRepo.Stars
boostRecent := func(age, threshold time.Duration, boost int) {
if age < threshold {
t.weight -= boost
}
}
// Boost themes versioned recently.
if !t.m.Time.IsZero() && t.isVersioned() {
// Add some weight to recently versioned themes.
boostRecent(time.Since(t.m.Time), (3 * d30), 20)
}
// Boost themes created the last month.
// Note that we currently only have that information for themes
// hosted on GitHub.
if !t.ghRepo.IsZero() {
boostRecent(time.Since(t.ghRepo.CreatedAt), (1 * d30), 50)
}
// Boost themes with a Hugo version indicator set that covers.
// the current Hugo version.
// TODO(bep) I removed Hugo as a dependency,
// compared this against HUGO_VERSION somehow.
/*if m.HugoVersion.IsValid() {
weight -= boost
}*/
}
func (t *theme) toFrontMatter() map[string]interface{} {
var title string
if mn, ok := t.m.Meta["name"]; ok {
title = mn.(string)
} else {
title = strings.Title(t.name)
}
var htmlURL string
if !t.ghRepo.IsZero() {
htmlURL = t.ghRepo.HTMLURL
} else {
// Gitlab etc., assume the path is the base of the URL.
htmlURL = fmt.Sprintf("https://%s", t.m.Path)
}
return map[string]interface{}{
"draft": t.draft,
"title": title,
"slug": t.name,
"aliases": []string{"/" + t.name},
"weight": t.weight,
"lastMod": t.m.Time,
"hugoVersion": t.m.HugoVersion,
"modulePath": t.m.Path,
"htmlURL": htmlURL,
"meta": t.m.Meta,
"githubInfo": t.ghRepo,
"themeWarnings": t.themeWarnings,
"tags": normalizeTags(t.m.Meta["tags"]),
}
}
func (t *theme) checkLastMod() (warn warning, found bool) {
lastMod := t.m.Time
if !lastMod.IsZero() {
age := time.Since(lastMod)
ageYears := age.Hours() / 24 / 365
+14 -7
View File
@@ -252,8 +252,9 @@ func (c *Client) GetGitHubRepos(mods ModulesMap) (map[string]GitHubRepo, error)
}
func (c *Client) getGithubReposCacheFilesSorted() []string {
fis, err := os.ReadDir(filepath.Join(c.outDir, cacheDir))
cacheDir := filepath.Join(c.outDir, cacheDir)
CheckErr(os.MkdirAll(cacheDir, 0777))
fis, err := os.ReadDir(cacheDir)
CheckErr(err)
var entries []string
@@ -326,11 +327,17 @@ func (c *Client) runHugo(w io.Writer, arg ...string) error {
}
type GitHubRepo struct {
ID int `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
HTMLURL string `json:"html_url"`
Stars int `json:"stargazers_count"`
ID int `json:"id"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Name string `json:"name"`
Description string `json:"description"`
HTMLURL string `json:"html_url"`
Stars int `json:"stargazers_count"`
}
func (g GitHubRepo) IsZero() bool {
return g.HTMLURL == ""
}
type Module struct {