diff --git a/README.md b/README.md index c99b2cf8ff98545f8039159612adeb1aba55f442..ad555bf5b3c01f1ddef875f60fdfa6ba572d61ec 100644 --- a/README.md +++ b/README.md @@ -73,14 +73,15 @@ In the `scholar` section of the configuration file, configuration options we've * `repository`: Location of files associated with publications (`publications`) (the same directory is used for both input and output: it is handled as usual by jekyll) -The template used to generate individual publication pages is [here](layout). The part of interest is the Source -Materials section. We iterate through a [predefined list of file types](file-types) and output a link (using icon and -text from the file type list) to the file in the repository if it exists. - -Finally, in order to generate the complete biography page, we use a [page](index) in the site's root just outputting a -`{% bibliography %}` as normal (which renders each entry using the layout defined by the scholar `bibliography_template` -option). By using a `permalink` jekyll option we place the rendered bibliography into the `/publications/` output -directory as `index.html`. +The template used to generate individual publication pages is [here](_layouts/publication.html). The part of interest is +the Source Materials section. We iterate through a +[predefined list of file types](publications/_publication_file_types.yml) and output a link (using icon and text from +the file type list) to the file in the repository if it exists. + +Finally, in order to generate the complete biography page, we use a [page](publications.html) in the site's root just +outputting a `{% bibliography %}` as normal (which renders each entry using the layout defined by the scholar +`bibliography_template` option). By using a `permalink` jekyll option we place the rendered bibliography into the +`/publications/` output directory as `index.html`. Testing and Deployment diff --git a/Rakefile b/Rakefile index 7fd1a1bc9edf25ee34f7ac95a688b68f71964672..69bbedcba9c0361b6aa45bf5ae22c8b75bdc4193 100644 --- a/Rakefile +++ b/Rakefile @@ -15,7 +15,8 @@ end htmlproofer_config = { :disable_external => true, :check_html => true, - :parallel => { :in_processes => 1 } + :parallel => { :in_processes => 1 }, + :file_ignore => [/README.html/] } desc "Build the site and test output for dead links, invalid html etc."