commit 36cbf1737e89eabd9f90ab9f3e580e71c0ccee58 Author: tuan Date: Tue Mar 30 14:16:45 2021 +0300 first commit diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ab37a16 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/eureka"] + path = themes/eureka + url = https://github.com/wangchucheng/hugo-eureka.git diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/assets/images/logo.html b/assets/images/logo.html new file mode 100644 index 0000000..a8b5ec8 --- /dev/null +++ b/assets/images/logo.html @@ -0,0 +1,14 @@ + +
                           .o.  
+   'l.         ':         .NM.  
+  .:x' lo      O0         OM0   
+  .,X.,Nk.   ;OMO:,,,k;:kWMMl   
+   ,M;.NK,ONMMMMKMMMMMNXNMWO.   
+   .dOOxKNWMMMMNWNXKOxl;..      
+           cMWx:                
+           :M,'                 
+          .Nk '                 
+          co,..                 
+
+
diff --git a/assets/images/logo.png b/assets/images/logo.png new file mode 100644 index 0000000..084c5aa Binary files /dev/null and b/assets/images/logo.png differ diff --git a/config/_default/config.toml b/config/_default/config.toml new file mode 100644 index 0000000..58cff66 --- /dev/null +++ b/config/_default/config.toml @@ -0,0 +1,35 @@ +baseURL = "https://metufss.org" +# languageCode = "en-us" +title = "fss@metu" +theme = "eureka" +paginate = 3 +copyright = """ +© 2021 C. Wang and R. Ma +""" +enableEmoji = true +enableGitInfo = false +summaryLength = 75 +defaultContentLanguage = "en" +hasCJKLanguage = false +defaultContentLanguageInSubdir = true + +[markup.highlight] +codeFences = false +noClasses = false + +[markup.tableOfContents] +startLevel = 2 +endLevel = 6 +ordered = false + +[markup.goldmark.renderer] +unsafe = true + +[taxonomies] +category = "categories" +tag = "tags" +series = "series" +author = "authors" + +[build] +useResourceCacheWhen = "always" diff --git a/config/_default/language.yaml b/config/_default/language.yaml new file mode 100644 index 0000000..b2b9b7b --- /dev/null +++ b/config/_default/language.yaml @@ -0,0 +1,11 @@ +en: + languageCode: en + languageName: English + contentDir: content/en + title: English + +tr: + languageCode: tr + languageName: Türkçe + contentDir: content/tr + title: Türkçe diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml new file mode 100644 index 0000000..e66ecf6 --- /dev/null +++ b/config/_default/menus.en.toml @@ -0,0 +1,20 @@ +[[main]] +name = "About" +url = "#about" +weight = 1 + +[[main]] +name = "Projects" +url = "#experiences" +weight = 2 + +[[main]] +name = "Posts" +url = "/posts/" +weight = 3 + +[[main]] +name = "Docs" +url = "/docs/" +weight = 4 + diff --git a/config/_default/menus.tr.toml b/config/_default/menus.tr.toml new file mode 100644 index 0000000..79120c8 --- /dev/null +++ b/config/_default/menus.tr.toml @@ -0,0 +1,20 @@ +[[main]] +name = "Hakkında" +url = "#about" +weight = 1 + +[[main]] +name = "Projeler" +url = "#experiences" +weight = 2 + +[[main]] +name = "Yazılar" +url = "/posts/" +weight = 3 + +[[main]] +name = "Dökümanlar" +url = "/docs/" +weight = 4 + diff --git a/config/_default/params.toml b/config/_default/params.toml new file mode 100644 index 0000000..b9c0839 --- /dev/null +++ b/config/_default/params.toml @@ -0,0 +1,21 @@ +mainSections = [ "posts" ] +description = "METUFSS" +siteType = "Society" +icon = "images/logo.png" +publisherName = "Free Software Society" + +[highlight] +handler = "highlightjs" + + [highlight.highlightjs] + languages = [ "dart" ] + style = "solarized-light" + +[math] +handler = "katex" + +[comment] + [comment.disqus] + + [comment.commento] + diff --git a/content/docs/_index.md b/content/docs/_index.md new file mode 100644 index 0000000..245adae --- /dev/null +++ b/content/docs/_index.md @@ -0,0 +1,4 @@ +--- +title: Docs +layout: doc-list #Do not modify +--- diff --git a/content/docs/test/_index.md b/content/docs/test/_index.md new file mode 100644 index 0000000..ab7758e --- /dev/null +++ b/content/docs/test/_index.md @@ -0,0 +1,32 @@ +--- +title: Test +description: Test doc +toc: true +authors: [] +date: 2021-03-05T16:21:30+03:00 +lastmod: 2021-03-05T16:21:30+03:00 +draft: false +weight: 1 +--- + +This is the root of test doc. + +## Duis vel leo nec mi convallis sodales + +Sed efficitur nibh sed euismod dictum. Donec posuere, nisl a egestas dignissim, risus magna placerat tortor, quis tincidunt ipsum erat at nunc. Cras consectetur ex eget tortor fermentum mattis. Nullam sodales sed purus eget ornare. Vestibulum aliquam cursus odio vitae placerat. Etiam vel pharetra diam. Morbi molestie varius tincidunt. Morbi molestie tortor vitae metus venenatis, ut fermentum nisl luctus. Aenean at condimentum lorem, rhoncus dapibus nibh. Donec et dui consequat ipsum ultrices tristique vitae vitae est. + +## Sed efficitur ante a tortor euismod + +In ornare ultricies sapien in tincidunt. Integer malesuada tellus sed nibh dictum facilisis non sit amet nibh. Vestibulum sed tincidunt ante, nec tincidunt lectus. Pellentesque id dolor ipsum. Sed efficitur tristique mauris eu tristique. Aliquam nec volutpat dolor. Praesent vitae feugiat nibh. Curabitur mollis placerat sem, ut eleifend mi. Sed sed nisl elit. Pellentesque eget elit nec arcu imperdiet imperdiet. Aliquam dictum arcu ac pharetra rutrum. + +### Cras ac diam efficitur + +Donec iaculis bibendum suscipit. Ut egestas ligula vel orci posuere scelerisque. Nam vel elementum nibh, congue tempus sapien. Aliquam luctus ante sit amet urna vehicula hendrerit. Morbi at ante nisl. Sed euismod vel dolor in iaculis. Aliquam lacinia lorem sit amet vestibulum finibus. Nulla facilisi. Vivamus lacinia consectetur hendrerit. Integer commodo a nibh nec rhoncus. Nulla non aliquet erat. Cras vel orci a urna malesuada viverra vel quis nisi. Donec pharetra laoreet ante, vulputate volutpat ante consequat eget. Donec efficitur consequat nisi vitae volutpat. Vestibulum volutpat, odio nec sodales cursus, ligula nulla pellentesque erat, ut iaculis magna lorem non purus. Curabitur efficitur tortor et elit sodales, in lobortis risus feugiat. + +### Cras hendrerit nibh non pulvinar consectetur + +Donec justo diam, auctor et rhoncus a, feugiat in felis. Etiam lectus est, tincidunt iaculis mi et, feugiat rutrum tellus. Ut sit amet tellus vitae nisi faucibus pulvinar non a augue. Etiam auctor porttitor mi, vitae posuere lacus pretium ac. Pellentesque sed ante magna. Proin tempor faucibus risus, vitae tincidunt arcu ultrices egestas. Aenean rutrum purus vel vulputate lobortis. Aenean auctor ipsum quam, eu molestie magna ultricies quis. Phasellus vitae diam erat. Nam at facilisis massa. Nam vulputate nec quam vel iaculis. Maecenas mauris felis, semper vel ultricies eu, interdum condimentum lacus. Mauris quis tincidunt erat, quis efficitur dolor. + +## Quisque vehicula tellus eget nunc molestie + +Phasellus ligula tortor, sodales ac ipsum vel, lobortis lacinia eros. Maecenas et viverra enim, sit amet bibendum risus. Duis a est pulvinar, suscipit diam id, sagittis lectus. Sed vulputate est sed ipsum faucibus tempus. Morbi non varius nibh. Vestibulum vel tincidunt neque. Vestibulum pellentesque sed metus eu gravida. Donec rhoncus, quam in dictum bibendum, diam libero pretium lacus, vitae suscipit diam neque eget arcu. Pellentesque id hendrerit lorem. Curabitur fermentum purus orci, nec ullamcorper dolor consequat at. Suspendisse lectus dolor, efficitur non molli diff --git a/content/docs/test/test.md b/content/docs/test/test.md new file mode 100644 index 0000000..4b4065c --- /dev/null +++ b/content/docs/test/test.md @@ -0,0 +1,34 @@ +--- +title: Test Chapter 1 +description: This is an test chapter doc layout of Eureka theme +toc: true +authors: +tags: +categories: +series: +date: '2020-10-16' +lastmod: '2020-10-16' +draft: false +--- + +This is the root of chapter 1 doc. + +## Duis vel leo nec mi convallis sodales + +Sed efficitur nibh sed euismod dictum. Donec posuere, nisl a egestas dignissim, risus magna placerat tortor, quis tincidunt ipsum erat at nunc. Cras consectetur ex eget tortor fermentum mattis. Nullam sodales sed purus eget ornare. Vestibulum aliquam cursus odio vitae placerat. Etiam vel pharetra diam. Morbi molestie varius tincidunt. Morbi molestie tortor vitae metus venenatis, ut fermentum nisl luctus. Aenean at condimentum lorem, rhoncus dapibus nibh. Donec et dui consequat ipsum ultrices tristique vitae vitae est. + +## Sed efficitur ante a tortor euismod + +In ornare ultricies sapien in tincidunt. Integer malesuada tellus sed nibh dictum facilisis non sit amet nibh. Vestibulum sed tincidunt ante, nec tincidunt lectus. Pellentesque id dolor ipsum. Sed efficitur tristique mauris eu tristique. Aliquam nec volutpat dolor. Praesent vitae feugiat nibh. Curabitur mollis placerat sem, ut eleifend mi. Sed sed nisl elit. Pellentesque eget elit nec arcu imperdiet imperdiet. Aliquam dictum arcu ac pharetra rutrum. + +### Cras ac diam efficitur + +Donec iaculis bibendum suscipit. Ut egestas ligula vel orci posuere scelerisque. Nam vel elementum nibh, congue tempus sapien. Aliquam luctus ante sit amet urna vehicula hendrerit. Morbi at ante nisl. Sed euismod vel dolor in iaculis. Aliquam lacinia lorem sit amet vestibulum finibus. Nulla facilisi. Vivamus lacinia consectetur hendrerit. Integer commodo a nibh nec rhoncus. Nulla non aliquet erat. Cras vel orci a urna malesuada viverra vel quis nisi. Donec pharetra laoreet ante, vulputate volutpat ante consequat eget. Donec efficitur consequat nisi vitae volutpat. Vestibulum volutpat, odio nec sodales cursus, ligula nulla pellentesque erat, ut iaculis magna lorem non purus. Curabitur efficitur tortor et elit sodales, in lobortis risus feugiat. + +### Cras hendrerit nibh non pulvinar consectetur + +Donec justo diam, auctor et rhoncus a, feugiat in felis. Etiam lectus est, tincidunt iaculis mi et, feugiat rutrum tellus. Ut sit amet tellus vitae nisi faucibus pulvinar non a augue. Etiam auctor porttitor mi, vitae posuere lacus pretium ac. Pellentesque sed ante magna. Proin tempor faucibus risus, vitae tincidunt arcu ultrices egestas. Aenean rutrum purus vel vulputate lobortis. Aenean auctor ipsum quam, eu molestie magna ultricies quis. Phasellus vitae diam erat. Nam at facilisis massa. Nam vulputate nec quam vel iaculis. Maecenas mauris felis, semper vel ultricies eu, interdum condimentum lacus. Mauris quis tincidunt erat, quis efficitur dolor. + +## Quisque vehicula tellus eget nunc molestie + +Phasellus ligula tortor, sodales ac ipsum vel, lobortis lacinia eros. Maecenas et viverra enim, sit amet bibendum risus. Duis a est pulvinar, suscipit diam id, sagittis lectus. Sed vulputate est sed ipsum faucibus tempus. Morbi non varius nibh. Vestibulum vel tincidunt neque. Vestibulum pellentesque sed metus eu gravida. Donec rhoncus, quam in dictum bibendum, diam libero pretium lacus, vitae suscipit diam neque eget arcu. Pellentesque id hendrerit lorem. Curabitur fermentum purus orci, nec ullamcorper dolor consequat at. Suspendisse lectus dolor, efficitur non mollis eget, suscipit ut nisl. Quisque id ex metus. Sed lobortis venenatis lacinia. Sed at lorem leo. diff --git a/content/en/posts/_index.md b/content/en/posts/_index.md new file mode 100644 index 0000000..76fa783 --- /dev/null +++ b/content/en/posts/_index.md @@ -0,0 +1,3 @@ +--- +title: Posts +--- diff --git a/content/en/posts/test.md b/content/en/posts/test.md new file mode 100644 index 0000000..9aefe87 --- /dev/null +++ b/content/en/posts/test.md @@ -0,0 +1,17 @@ +--- +title: "Test" +toc: true +authors: [] +categories: [] +series: [] +date: 2021-03-05T14:31:06+03:00 +lastmod: "2021-03-05T14:31:06+03:00" +featuredImage: "" +draft: false +--- + +This is a test post + ++ metufss ++ `FSS` + diff --git a/content/en/posts/testingenzi.md b/content/en/posts/testingenzi.md new file mode 100644 index 0000000..935bda8 --- /dev/null +++ b/content/en/posts/testingenzi.md @@ -0,0 +1,6 @@ +--- +title: "Testingenzi" +date: 2021-03-29T19:05:17+03:00 +draft: true +--- + diff --git a/content/homepage/about.md b/content/homepage/about.md new file mode 100644 index 0000000..b17da51 --- /dev/null +++ b/content/homepage/about.md @@ -0,0 +1,80 @@ +--- +title: Free Software Society +draft: false +role: +organization: + name: Middle East Technical University + url: http://www.metu.edu.tr/ +avatar: images/logo.png +bio: Use, study, share, develop! +social: + - icon: envelope + iconPack: fas + url: mailto:example@example.com + - icon: tree + iconPack: fab + url: https://metu.life/@fss + - icon: twitter + iconPack: fab + url: https://twitter.com/metuFSS + - icon: github + iconPack: fab + url: https://git.oyd.org.tr/MetuFSS + +# Section you want to display +section: +# Pages count +count: 3 +# Options: card, plain and masonry. +style: + +weight: 2 +widget: + handler: about + + + # Options: sm, md, lg and xl. Default is md. + width: + + sidebar: + # Options: left and right. Leave blank to hide. + position: + # Options: sm, md, lg and xl. Default is md. + scale: + + background: + # Options: primary, secondary, tertiary or any valid color value. Default is primary. + color: secondary + image: + # Options: auto, cover and contain. Default is auto. + size: + # Options: center, top, right, bottom, left. + position: + # Options: fixed, local, scroll. + attachment: +--- + + +## Introduction + +FSS is a student society that brings together students who are interested in free software and want to improve their level of technological literacy. + +Free Software Society aims: + +To work towards increasing the awareness of free software and the use of these technologies within the culture of METU, to ensure that activities are carried out and continue in accordance with the objectives. + +## Objectives + ++ Conducting trainings and dissemination activities in order to popularize the GNU philosophy and the use of free software. + ++ To encourage the use and contribution of free software so that the benefits of academic studies can be shared publicly. + ++ Works for network neutrality and accessible internet. + ++ It opposes the limitation of our fundamental rights and freedoms, the efforts to create a society of surveillance / control, and struggles for the use of technology to liberate people and society more. + ++ It works for the development of a brand new communication culture against social networks being seen and used as a mere consumption and exhibition tool. + ++ Opposes scientific and technological accumulation to be private or private property. + ++ Advocates sharing production models and licenses against patents and licenses that dominate these collective assets that are not benefitial for the society. diff --git a/content/homepage/about.tr.md b/content/homepage/about.tr.md new file mode 100644 index 0000000..cd88b26 --- /dev/null +++ b/content/homepage/about.tr.md @@ -0,0 +1,78 @@ +--- +title: Özgür Yazılım Topluluğu +draft: false +role: +organization: + name: Ortadoğu Teknik Üniversitesi + url: http://www.metu.edu.tr/ +avatar: images/logo.png +bio: Kullan, Araştır, Paylaş, Geliştir +social: + - icon: envelope + iconPack: fas + url: mailto:example@example.com + - icon: tree + iconPack: fab + url: https://metu.life/@fss + - icon: twitter + iconPack: fab + url: https://twitter.com/metuFSS + - icon: github + iconPack: fab + url: https://git.oyd.org.tr/MetuFSS + +# Section you want to display +section: +# Pages count +count: 3 +# Options: card, plain and masonry. +style: + +weight: 2 +widget: + handler: about + + + # Options: sm, md, lg and xl. Default is md. + width: + + sidebar: + # Options: left and right. Leave blank to hide. + position: + # Options: sm, md, lg and xl. Default is md. + scale: + + background: + # Options: primary, secondary, tertiary or any valid color value. Default is primary. + color: secondary + image: + # Options: auto, cover and contain. Default is auto. + size: + # Options: center, top, right, bottom, left. + position: + # Options: fixed, local, scroll. + attachment: +--- + + +## Introduction + +Topluluk özgür yazılım üzerine meraklı ve teknolojik okuryazarlık seviyesini geliştirmek isteyen öğrencileri bir araya getiren bir öğrenci topluluğudur. Topluluğun amacı: + +ODTÜ kültürü içerisinde özgür yazılım farkındalığını ve bu teknolojilerin kullanımının arttırılması yönünde çalışmalar yapmak, amaçlara uygun faaliyetlerin yapılması ve sürdürülmesini sağlamak, ülke düzeyinde etkinliklerde bulunmak. + +## Objectives + ++ GNU felsefesini ve özgür yazılımların kullanımını yaygınlaştırmak amacı ile eğitimler ve yaygınlaştırma çalışmaları gerçekleştirmek. + ++ Akademik çalışmalarının faydalarının tüm insanlıkça paylaşılabilmesi için özgür yazılımlar kullanmaya ve katkı vermeye teşvik etmek. + ++ Ağ tarafsızlığı ve herkese erişilebilir internet için çalışır. + ++ Hayatımızı hızla saran teknolojilerin temel hak ve özgürlüklerimizi sınırlandırmasına, gözetim / denetim toplumu yaratma çabalarına karşı çıkar, teknolojinin insanı ve toplumu daha fazla özgürleştirmesi amacıyla kullanılması için mücadele eder. + ++ Sosyal ağların salt bir tüketim ve teşhir aracı olarak görülmesine ve kullanılmasına karşı, yepyeni bir iletişim kültürünün gelişmesi için çalışır. + ++ Bilimsel ve teknolojik birikimin, kişisel veya özel mülk olmasına karşı çıkar. + ++ Bu ortak birikimler üzerinde toplum yararına olmayan bir tahakküm kuran patent ve lisanslara karşı, paylaşımcı üretim modellerini ve lisanslarını savunur. diff --git a/content/homepage/experiences.md b/content/homepage/experiences.md new file mode 100644 index 0000000..7416538 --- /dev/null +++ b/content/homepage/experiences.md @@ -0,0 +1,64 @@ +--- +title: Projects +draft: false +experiences: + + - title: Metu Wiki + organization: + name: metu.wiki + url: https://metu.wiki + dates: '2021 - February' + location: + writeup: > + A **free** and **open** informative database for all things about METU. + + - title: Think + organization: + name: think.metu.life + url: https://think.metu.life + dates: '2021 February' + location: + writeup: > + Think with hocams. + + - Discussion board based on Discourse + + - title: Metu Life + organization: + name: metu.life + url: https://metu.life + dates: '2020 - November' + location: + writeup: > + Follow hocams and discover new ones! + + - Distributed Social Media based on Mastodon + + - No tracking and advertisement mechanisms + + +weight: 2 +widget: + handler: experiences + + # Options: sm, md, lg and xl. Default is md. + width: lg + + sidebar: + # Options: left and right. Leave blank to hide. + position: left + # Options: sm, md, lg and xl. Default is md. + scale: + + background: + # Options: primary, secondary, tertiary or any valid color value. Default is primary. + color: + image: + # Options: auto, cover and contain. Default is auto. + size: + # Options: center, top, right, bottom, left. + position: + # Options: fixed, local, scroll. + attachment: +--- + diff --git a/content/homepage/experiences.tr.md b/content/homepage/experiences.tr.md new file mode 100644 index 0000000..80f1a3c --- /dev/null +++ b/content/homepage/experiences.tr.md @@ -0,0 +1,63 @@ +--- +title: Projects +draft: false +experiences: + - title: Metu Life + organization: + name: metu.life + url: https://metu.life + dates: '2020 - Present' + location: + writeup: > + Follow hocams and discover new ones! + + - Distributed Social Media based on Mastodon + + - No tracking and advertisement mechanisms + + - title: Think + organization: + name: think.metu.life + url: https://think.metu.life + dates: '2021 - Present' + location: + writeup: > + Think with hocams. + + - Discussion board based on Discourse + + - title: Metu Wiki + organization: + name: metu.wiki + url: https://metu.wiki + dates: '2021 - Present' + location: + writeup: > + A **free** and **open** informative database for all things about METU. + + +weight: 3 +widget: + handler: experiences + + # Options: sm, md, lg and xl. Default is md. + width: lg + + sidebar: + # Options: left and right. Leave blank to hide. + position: left + # Options: sm, md, lg and xl. Default is md. + scale: + + background: + # Options: primary, secondary, tertiary or any valid color value. Default is primary. + color: + image: + # Options: auto, cover and contain. Default is auto. + size: + # Options: center, top, right, bottom, left. + position: + # Options: fixed, local, scroll. + attachment: +--- + diff --git a/content/homepage/index.md b/content/homepage/index.md new file mode 100644 index 0000000..ca03031 --- /dev/null +++ b/content/homepage/index.md @@ -0,0 +1,3 @@ +--- +headless: true +--- diff --git a/content/homepage/intro.html b/content/homepage/intro.html new file mode 100644 index 0000000..aa9cb6d --- /dev/null +++ b/content/homepage/intro.html @@ -0,0 +1,71 @@ +--- +title: Intro +draft: false + +weight: 1 +widget: + handler: blank + + # Options: sm, md, lg and xl. Default is md. + width: + + sidebar: + # Options: left and right. Leave blank to hide. + position: + # Options: sm, md, lg and xl. Default is md. + scale: + + background: + # Options: primary, secondary, tertiary or any valid color value. Default is primary. + color: + image: + # Options: auto, cover and contain. Default is auto. + size: + # Options: center, top, right, bottom, left. + position: + # Options: fixed, local, scroll. + attachment: +--- + + + + + +

:)

+ + + + + + diff --git a/content/homepage/intro.tr.html b/content/homepage/intro.tr.html new file mode 100644 index 0000000..45e7706 --- /dev/null +++ b/content/homepage/intro.tr.html @@ -0,0 +1,71 @@ +--- +title: Intro +draft: false + +weight: 1 +widget: + handler: blank + + # Options: sm, md, lg and xl. Default is md. + width: + + sidebar: + # Options: left and right. Leave blank to hide. + position: + # Options: sm, md, lg and xl. Default is md. + scale: + + background: + # Options: primary, secondary, tertiary or any valid color value. Default is primary. + color: + image: + # Options: auto, cover and contain. Default is auto. + size: + # Options: center, top, right, bottom, left. + position: + # Options: fixed, local, scroll. + attachment: +--- + + + + + +

Kullan, Araştır, Paylaş, Geliştir!

+ + + + + + diff --git a/content/homepage/pages.md b/content/homepage/pages.md new file mode 100644 index 0000000..5aebd71 --- /dev/null +++ b/content/homepage/pages.md @@ -0,0 +1,35 @@ +--- +title: Pages +draft: false +# Section you want to display +section: posts +# Pages count +count: 5 +# Options: card, plain and masonry. +style: plain + +weight: 3 +widget: + handler: pages + + # Options: sm, md, lg and xl. Default is md. + width: + + sidebar: + # Options: left and right. Leave blank to hide. + position: + # Options: sm, md, lg and xl. Default is md. + scale: + + background: + # Options: primary, secondary, tertiary or any valid color value. Default is primary. + color: + image: + # Options: auto, cover and contain. Default is auto. + size: + # Options: center, top, right, bottom, left. + position: + # Options: fixed, local, scroll. + attachment: +--- + diff --git a/resources/_gen/images/images/logo_hu57cd6ec9b68db850b11b772b793d6cab_23820_180x180_fill_box_center_2.png b/resources/_gen/images/images/logo_hu57cd6ec9b68db850b11b772b793d6cab_23820_180x180_fill_box_center_2.png new file mode 100644 index 0000000..8a3cde4 Binary files /dev/null and b/resources/_gen/images/images/logo_hu57cd6ec9b68db850b11b772b793d6cab_23820_180x180_fill_box_center_2.png differ diff --git a/resources/_gen/images/images/logo_hu57cd6ec9b68db850b11b772b793d6cab_23820_32x32_fill_box_center_2.png b/resources/_gen/images/images/logo_hu57cd6ec9b68db850b11b772b793d6cab_23820_32x32_fill_box_center_2.png new file mode 100644 index 0000000..3700d18 Binary files /dev/null and b/resources/_gen/images/images/logo_hu57cd6ec9b68db850b11b772b793d6cab_23820_32x32_fill_box_center_2.png differ diff --git a/static/en/jquery.teletype.js b/static/en/jquery.teletype.js new file mode 100644 index 0000000..b2aa9eb --- /dev/null +++ b/static/en/jquery.teletype.js @@ -0,0 +1,137 @@ +/* +* Teletype jQuery Plugin +* @version 0.1 +* +* @author Steve Whiteley +* @see http://teletype.rocks +* @see https://github.com/stvwhtly/jquery-teletype-plugin +* +* Copyright (c) 2014 Steve Whiteley +* Dual licensed under the MIT or GPL Version 2 licenses. +* +*/ +( function ( $ ) { + $.fn.teletype = function( options ) { + var settings = $.extend( {}, $.fn.teletype.defaults, options ); + var self = $( this ), + output = null, + current = { + string: '', + index: 0, + position: 0, + loop: 0 + }; + var next = function() { + current.index++; + if ( current.index >= settings.text.length ) { + current.index = 0; + current.loop++; + if ( settings.loop != false && ( settings.loop == current.loop ) ) { + return false; + } + } + current.position = 0; + current.string = settings.text[current.index]; + return true; + }; + var type = function() { + if ( settings.prefix && current.position == 0 ) { + if ( current.loop == 0 && current.index == 0 ) { + $( '' ).addClass( 'teletype-prefix' ).html( settings.prefix ).prependTo( self ); + } + } + var letters = current.string.split( '' ), + letter = letters[current.position]; + if ( letter == '^' || letter == '~' ) { + var end = current.string.substr( current.position + 1 ).indexOf( ' ' ); + var value = current.string.substr( current.position + 1, end ); + if ( $.isNumeric( value ) ) { + current.string = current.string.replace( letter + value + ' ', '' ); + if ( letter == '^' ) { + window.setTimeout( function() { + window.setTimeout( type, delay( settings.typeDelay ) ); + }, value ); + } else { + var index = current.position - value; + current.string = current.string.substr( 0, index - 1 ) + current.string.substr( current.position - 1 ); + window.setTimeout( function() { + backspace( Math.max( index, 0 ) ); + }, delay( settings.backDelay ) ); + } + return; + } + } else if ( letter == '\\' ) { + var nextChar = current.string.substr( current.position + 1, 1 ); + if ( nextChar == 'n' ) { + current.position++; + letter = '
'; + } + } + output.html( output.html() + letter ); + current.position++; + if ( current.position < current.string.length ) { + window.setTimeout( type, delay( settings.typeDelay ) ); + } else if ( settings.preserve == false ) { + window.setTimeout( function() { + window.setTimeout( backspace, delay( settings.backDelay ) ); + }, settings.delay ); + } else { + output.html( output.html() + '
' + '' + settings.prefix + '' ); + if ( next() ) { + window.setTimeout( function() { + window.setTimeout( type, delay( settings.typeDelay ) ); + }, settings.delay ); + } + } + }; + var backspace = function( stop ) { + if ( !stop ) { + stop = 0; + } + if ( current.position > stop ) { + output.html( output.html().slice( 0, -1 ) ); + window.setTimeout( function() { + backspace( stop ); + }, delay( settings.backDelay ) ); + current.position--; + } else { + if ( stop == 0 ) { + if ( next() == false ) { + return; + } + } + window.setTimeout( type, delay( settings.typeDelay ) ); + } + }; + var delay = function( speed ) { + return Math.floor( Math.random() * 200 ) + speed; + }; + return this.each( function() { + current.string = settings.text[current.index]; + self.addClass( 'teletype' ).empty(); + output = $( '' ).addClass( 'teletype-text' ).appendTo( self ); + + if ( settings.cursor ) { + var cursor = $( '' ) + .text( settings.cursor ) + .addClass( 'teletype-cursor' ) + .appendTo( self ); + setInterval ( function() { + cursor.animate( { opacity: 0 } ).animate( { opacity: 1 } ); + }, settings.blinkSpeed ); + } + type(); + } ); + }; + $.fn.teletype.defaults = { + text: [ 'one', 'two', 'three' ], + typeDelay: 100, + backDelay: 50, + blinkSpeed: 1000, + delay: 2000, + cursor: '|', + preserve: false, + prefix: '', + loop: 0 + }; +}( jQuery ) ); diff --git a/static/jquery.teletype.js b/static/jquery.teletype.js new file mode 100644 index 0000000..b2aa9eb --- /dev/null +++ b/static/jquery.teletype.js @@ -0,0 +1,137 @@ +/* +* Teletype jQuery Plugin +* @version 0.1 +* +* @author Steve Whiteley +* @see http://teletype.rocks +* @see https://github.com/stvwhtly/jquery-teletype-plugin +* +* Copyright (c) 2014 Steve Whiteley +* Dual licensed under the MIT or GPL Version 2 licenses. +* +*/ +( function ( $ ) { + $.fn.teletype = function( options ) { + var settings = $.extend( {}, $.fn.teletype.defaults, options ); + var self = $( this ), + output = null, + current = { + string: '', + index: 0, + position: 0, + loop: 0 + }; + var next = function() { + current.index++; + if ( current.index >= settings.text.length ) { + current.index = 0; + current.loop++; + if ( settings.loop != false && ( settings.loop == current.loop ) ) { + return false; + } + } + current.position = 0; + current.string = settings.text[current.index]; + return true; + }; + var type = function() { + if ( settings.prefix && current.position == 0 ) { + if ( current.loop == 0 && current.index == 0 ) { + $( '' ).addClass( 'teletype-prefix' ).html( settings.prefix ).prependTo( self ); + } + } + var letters = current.string.split( '' ), + letter = letters[current.position]; + if ( letter == '^' || letter == '~' ) { + var end = current.string.substr( current.position + 1 ).indexOf( ' ' ); + var value = current.string.substr( current.position + 1, end ); + if ( $.isNumeric( value ) ) { + current.string = current.string.replace( letter + value + ' ', '' ); + if ( letter == '^' ) { + window.setTimeout( function() { + window.setTimeout( type, delay( settings.typeDelay ) ); + }, value ); + } else { + var index = current.position - value; + current.string = current.string.substr( 0, index - 1 ) + current.string.substr( current.position - 1 ); + window.setTimeout( function() { + backspace( Math.max( index, 0 ) ); + }, delay( settings.backDelay ) ); + } + return; + } + } else if ( letter == '\\' ) { + var nextChar = current.string.substr( current.position + 1, 1 ); + if ( nextChar == 'n' ) { + current.position++; + letter = '
'; + } + } + output.html( output.html() + letter ); + current.position++; + if ( current.position < current.string.length ) { + window.setTimeout( type, delay( settings.typeDelay ) ); + } else if ( settings.preserve == false ) { + window.setTimeout( function() { + window.setTimeout( backspace, delay( settings.backDelay ) ); + }, settings.delay ); + } else { + output.html( output.html() + '
' + '' + settings.prefix + '' ); + if ( next() ) { + window.setTimeout( function() { + window.setTimeout( type, delay( settings.typeDelay ) ); + }, settings.delay ); + } + } + }; + var backspace = function( stop ) { + if ( !stop ) { + stop = 0; + } + if ( current.position > stop ) { + output.html( output.html().slice( 0, -1 ) ); + window.setTimeout( function() { + backspace( stop ); + }, delay( settings.backDelay ) ); + current.position--; + } else { + if ( stop == 0 ) { + if ( next() == false ) { + return; + } + } + window.setTimeout( type, delay( settings.typeDelay ) ); + } + }; + var delay = function( speed ) { + return Math.floor( Math.random() * 200 ) + speed; + }; + return this.each( function() { + current.string = settings.text[current.index]; + self.addClass( 'teletype' ).empty(); + output = $( '' ).addClass( 'teletype-text' ).appendTo( self ); + + if ( settings.cursor ) { + var cursor = $( '' ) + .text( settings.cursor ) + .addClass( 'teletype-cursor' ) + .appendTo( self ); + setInterval ( function() { + cursor.animate( { opacity: 0 } ).animate( { opacity: 1 } ); + }, settings.blinkSpeed ); + } + type(); + } ); + }; + $.fn.teletype.defaults = { + text: [ 'one', 'two', 'three' ], + typeDelay: 100, + backDelay: 50, + blinkSpeed: 1000, + delay: 2000, + cursor: '|', + preserve: false, + prefix: '', + loop: 0 + }; +}( jQuery ) ); diff --git a/static/tr/jquery.teletype.js b/static/tr/jquery.teletype.js new file mode 100644 index 0000000..b2aa9eb --- /dev/null +++ b/static/tr/jquery.teletype.js @@ -0,0 +1,137 @@ +/* +* Teletype jQuery Plugin +* @version 0.1 +* +* @author Steve Whiteley +* @see http://teletype.rocks +* @see https://github.com/stvwhtly/jquery-teletype-plugin +* +* Copyright (c) 2014 Steve Whiteley +* Dual licensed under the MIT or GPL Version 2 licenses. +* +*/ +( function ( $ ) { + $.fn.teletype = function( options ) { + var settings = $.extend( {}, $.fn.teletype.defaults, options ); + var self = $( this ), + output = null, + current = { + string: '', + index: 0, + position: 0, + loop: 0 + }; + var next = function() { + current.index++; + if ( current.index >= settings.text.length ) { + current.index = 0; + current.loop++; + if ( settings.loop != false && ( settings.loop == current.loop ) ) { + return false; + } + } + current.position = 0; + current.string = settings.text[current.index]; + return true; + }; + var type = function() { + if ( settings.prefix && current.position == 0 ) { + if ( current.loop == 0 && current.index == 0 ) { + $( '' ).addClass( 'teletype-prefix' ).html( settings.prefix ).prependTo( self ); + } + } + var letters = current.string.split( '' ), + letter = letters[current.position]; + if ( letter == '^' || letter == '~' ) { + var end = current.string.substr( current.position + 1 ).indexOf( ' ' ); + var value = current.string.substr( current.position + 1, end ); + if ( $.isNumeric( value ) ) { + current.string = current.string.replace( letter + value + ' ', '' ); + if ( letter == '^' ) { + window.setTimeout( function() { + window.setTimeout( type, delay( settings.typeDelay ) ); + }, value ); + } else { + var index = current.position - value; + current.string = current.string.substr( 0, index - 1 ) + current.string.substr( current.position - 1 ); + window.setTimeout( function() { + backspace( Math.max( index, 0 ) ); + }, delay( settings.backDelay ) ); + } + return; + } + } else if ( letter == '\\' ) { + var nextChar = current.string.substr( current.position + 1, 1 ); + if ( nextChar == 'n' ) { + current.position++; + letter = '
'; + } + } + output.html( output.html() + letter ); + current.position++; + if ( current.position < current.string.length ) { + window.setTimeout( type, delay( settings.typeDelay ) ); + } else if ( settings.preserve == false ) { + window.setTimeout( function() { + window.setTimeout( backspace, delay( settings.backDelay ) ); + }, settings.delay ); + } else { + output.html( output.html() + '
' + '' + settings.prefix + '' ); + if ( next() ) { + window.setTimeout( function() { + window.setTimeout( type, delay( settings.typeDelay ) ); + }, settings.delay ); + } + } + }; + var backspace = function( stop ) { + if ( !stop ) { + stop = 0; + } + if ( current.position > stop ) { + output.html( output.html().slice( 0, -1 ) ); + window.setTimeout( function() { + backspace( stop ); + }, delay( settings.backDelay ) ); + current.position--; + } else { + if ( stop == 0 ) { + if ( next() == false ) { + return; + } + } + window.setTimeout( type, delay( settings.typeDelay ) ); + } + }; + var delay = function( speed ) { + return Math.floor( Math.random() * 200 ) + speed; + }; + return this.each( function() { + current.string = settings.text[current.index]; + self.addClass( 'teletype' ).empty(); + output = $( '' ).addClass( 'teletype-text' ).appendTo( self ); + + if ( settings.cursor ) { + var cursor = $( '' ) + .text( settings.cursor ) + .addClass( 'teletype-cursor' ) + .appendTo( self ); + setInterval ( function() { + cursor.animate( { opacity: 0 } ).animate( { opacity: 1 } ); + }, settings.blinkSpeed ); + } + type(); + } ); + }; + $.fn.teletype.defaults = { + text: [ 'one', 'two', 'three' ], + typeDelay: 100, + backDelay: 50, + blinkSpeed: 1000, + delay: 2000, + cursor: '|', + preserve: false, + prefix: '', + loop: 0 + }; +}( jQuery ) ); diff --git a/themes/eureka b/themes/eureka new file mode 160000 index 0000000..4d319a1 --- /dev/null +++ b/themes/eureka @@ -0,0 +1 @@ +Subproject commit 4d319a1c3594e8efe16b47b2c0ced5716c0237e5