2016-12-03 3 views
0

に動作しない、これは_config.ymlファイルのコンテンツである2つの定義済みの変数は{{site.title}}ジキル

name: amarjit singh 

description: Mobile CEP blog 

を含むことがデフォルトレイアウトが含まれ、一方、index.htmlファイルは

--- 
layout: default 
--- 

を使用下記のdiv

<div class="intro-header"> 
    <div class="wrapper-masthead"> 
    <div class="container"> 
     <header class="masthead clearfix"> 
     <div class="site-info"> 
      <h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.title }}</a></h1> 
      <p class="site-description">{{ site.description }}</p> 
     </div> 
     <nav> 
      <a href="{{ site.baseurl }}/">Blog</a> 
      <a href="{{ site.baseurl }}/about">About me</a> 
      <a href="{{ site.baseurl }}/projects">Projects</a> 
     </nav> 
     </header> 
    </div> 
    </div> 

だから、私の問題は、タイトルブログ、私とプロジェクトについてように示されているところと説明は、表示されません。ローカルホスト上の出力は、あなたの_config.yml変更name: amarjit singhtitle: amarjit singhenter image description here

答えて

1

以下のように示されています。