Commits

John Mulligan committed 77c9f72

primative tagicon support

  • Participants
  • Parent commits 6e64ad1

Comments (0)

Files changed (2)

File muyhomepage2/app/build.py

         return self._jenv
 
     def besticon(self, tags):
+        for tag, icon in self.icontags().iteritems():
+            if tag in tags:
+                return (tag, icon)
         return None
 
 

File muyhomepage2/app/configuration.py

     def feed_count(self):
         return 20
 
+    def icontags(self):
+        return {'Technology': '/~john/cruft/static/tagicon-tech.png'}
+