Skip to content

u2i/retrotool-blog-theme

 
 

Repository files navigation

RetroTool Blog theme

This theme is based on Attila by Peter Amende. Changed to work well for RetroTool blog needs blog.retrotool.io

⭐️ Features

  • Responsive layout
  • Post reading progress
  • Code highlight including line numbers
  • Disqus support
  • Member menu buttons
  • Ghost accent color

🌍 Localization

🟩 Up to date 🟧 Missing strings

Code Flag Language Status Translator
en 🇬🇧 English 🟩
de 🇩🇪 German 🟩
es 🇪🇸 Spanish 🟩 r1p
fr 🇫🇷 French 🟧 robink
it 🇮🇹 Italian 🟧 fmaida
no 🇳🇴 Norwegian 🟧 arthurnoerve, oisann, Givemeurcookies
zh 🇨🇳 Chinese 🟩 hao-lee, izumiko
id 🇮🇩 Indonesian 🟧 simplyeazy
ro 🇷🇴 Romanian 🟧 cdorin93
ru 🇷🇺 Russian 🟧 schamberg97
tr 🇹🇷 Turkish 🟩 cgrgrbz, electricalgorithm
sv 🇸🇪 Swedish 🟧 martenj77
cs 🇨🇿 Czech 🟧 lunakv
pt 🇵🇹 Portuguese 🟧 matheusvanzan
vi 🇻🇳 Vietnamese 🟧 JustHmmmm
el 🇬🇷 Greek 🟧 thiodordelis
dk 🇩🇰 Danish 🟧 jmayntzhusen
ar Arabic 🟧 pop-eax
ca Catalan 🟧 arthurnoerve
lt 🇱🇹 Lithuanian 🟧 arthurnoerve
nl 🇳🇱 Dutch 🟧 gkdp
pl 🇵🇱 Polish 🟩 filipolszewski, MrBoombastic
eo Esperanto 🟧 ebanDev
ga Galego 🟩 r1p
uk 🇺🇦 Ukrainian 🟩 Rakanskiy

💬 Setup Disqus

  1. Go to Code injection.
  2. Add this to Blog Header:
<script>var disqus = 'YOUR_DISQUS_SHORTNAME';</script>

🔍 Setup search

  1. Go to Integrations.
  2. Choose Add custom integration, name it Search and choose Create. Copy the generated Content API Key.
  3. Go to Code injection.
  4. Add this to Site Header:
<script>
  var gh_search_key = 'API_KEY';
  var gh_search_migration = 'v2';
</script>

⚙️ Development

Install dependencies:

npm install

Build Grunt project:

npm run build

The compress Grunt task packages the theme files into dist/<theme-name>.zip, which you can then upload to your site.

npm run compress

⚖️ Copyright & License

Copyright (C) 2015-2021 Peter Amende - Released under the MIT License.

Copyright (C) 2021 u2i LLC - usage outside of RetroTool blog is restricted

Languages

  • SCSS 63.8%
  • Handlebars 20.7%
  • JavaScript 15.5%