diff --git a/Makefile b/Makefile index 33a9187..fe7f30e 100644 --- a/Makefile +++ b/Makefile @@ -3,9 +3,7 @@ .PHONY: update-dependencies localhost localhost: - @echo "Starting Jekyll, will try to open browser in 10 seconds" - @( sleep 10 && xdg-open http://127.0.0.1:4000 &) - @bundle exec jekyll serve --livereload --host=0.0.0.0 + @bundle exec jekyll serve --livereload --host=0.0.0.0 --open-url update-dependencies: @gem update diff --git a/_config.yml b/_config.yml index 6580846..020ce6d 100644 --- a/_config.yml +++ b/_config.yml @@ -1,7 +1,7 @@ title: Components email: loeschef@janelia.hhmi.org -description: >- # this means to ignore newlines until "baseurl:" - Some 3D printing, laser cutting, PCBs used in the lab. +description: >- + Some 3D printing, laser cutting, PCBs used in the Reiser lab at Janelia. repository: reiserlab/Component-Designs @@ -13,8 +13,12 @@ color_scheme: "components" kramdown: toc_levels: "1,2" -# relative_links: -# enabled: true # change location of data directory from /_data to /assets/data data_dir: assets/data + +gh_edit_link: true +gh_edit_link_text: "🖊" +gh_edit_repository: "https://github.com/reiserlab/Component-Designs" +gh_edit_branch: "main" +gh_edit_view_mode: "edit" diff --git a/_includes/nav_footer_custom.html b/_includes/nav_footer_custom.html new file mode 100644 index 0000000..7e5896b --- /dev/null +++ b/_includes/nav_footer_custom.html @@ -0,0 +1,3 @@ + diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index 8738f26..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,200 +0,0 @@ ---- -layout: table_wrappers ---- - - - - -{% include head.html %} - - - - - - Link - - - - - - Search - - - - - - Menu - - - - - - Expand - - - - - - Document - - - - - - - -
-
- {% if site.search_enabled != false %} - - {% endif %} - {% if site.aux_links %} - - {% endif %} -
-
- {% unless page.url == "/" %} - {% if page.parent %} - - {% endif %} - {% endunless %} -
- {% if site.heading_anchors != false %} - {% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %} - {% else %} - {{ content }} - {% endif %} - - {% if page.has_children == true and page.has_toc != false %} -
-

Table of contents

-
    - {%- assign children_list = pages_list | where: "parent", page.title | where: "grand_parent", page.parent -%} - {% for child in children_list %} -
  • - {{ child.title }}{% if child.summary %} - {{ child.summary }}{% endif %} -
  • - {% endfor %} -
- {% endif %} - - {% if site.footer_content != nil or site.last_edit_timestamp or site.gh_edit_link %} -
-
- {% if site.back_to_top %} -

{{ site.back_to_top_text }}

- {% endif %} - {% if site.footer_content != nil %} -

{{ site.footer_content }}

- {% endif %} - - {% if site.last_edit_timestamp or site.gh_edit_link %} -
- {% if site.last_edit_timestamp and site.last_edit_time_format and page.last_modified_date %} -

- Page last modified: {{ page.last_modified_date | date: site.last_edit_time_format }}. -

- {% endif %} - {% if - site.gh_edit_link and - site.gh_edit_link_text and - site.gh_edit_repository and - site.gh_edit_branch and - site.gh_edit_view_mode - %} -

- {{ site.gh_edit_link_text }} -

- {% endif %} -
- {% endif %} -
- {% endif %} - -
-
- - {% if site.search_enabled != false %} - {% if site.search.button %} - - - - {% endif %} - -
- {% endif %} -
- -