浏览代码

Fixing indent

logicp 8 年之前
父节点
当前提交
ba5d73954e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -3,7 +3,7 @@
 Integration of Cesium JS 3D mapping software with Drupal 8
 Integration of Cesium JS 3D mapping software with Drupal 8
 
 
 Be sure to stick this in your theme:
 Be sure to stick this in your theme:
-'''
+{
   function myTheme_preprocess_page(&$variables) {
   function myTheme_preprocess_page(&$variables) {
       $langCode = \Drupal::languageManager()->getCurrentLanguage()->getId();
       $langCode = \Drupal::languageManager()->getCurrentLanguage()->getId();
       if (\Drupal::service('path.current')->getPath() === '/map') {
       if (\Drupal::service('path.current')->getPath() === '/map') {
@@ -24,4 +24,4 @@ Be sure to stick this in your theme:
           }
           }
       }
       }
   }
   }
-  '''
+  }