Added separate ContentTitle component
diff --git a/erpnext/public/js/education/web-academy/components/ContentTitle.vue b/erpnext/public/js/education/web-academy/components/ContentTitle.vue
index ad6b3bb..bfffec2 100644
--- a/erpnext/public/js/education/web-academy/components/ContentTitle.vue
+++ b/erpnext/public/js/education/web-academy/components/ContentTitle.vue
@@ -4,7 +4,7 @@
             <div class="row">
                 <div class="col-md-8">
                     <h2>{{ title }}</h2>
-                    <span v-if="typeof author !== 'undefined' || variable !== null" class="text-muted">
+                    <span v-if="typeof author !== 'undefined' || author !== null" class="text-muted">
                         Published on {{ publishDate }}, by {{ author }}
                     </span>
                 </div>