Permalink
Commits on Nov 18, 2018
Commits on Nov 17, 2018
  1. feat(search): Add search shortcuts (/ and ESC)

    gcushen committed Nov 17, 2018
    * Press / to toggle search dialog
    * Press ESC to close search dialog
    
    See #784
  2. feat(search): add search icon to navbar to open new search dialog

    gcushen committed Nov 17, 2018
    * Search icon added to navbar if search enabled in config
    * New search dialog added which overlays current page when searching
    * The docs search box now opens the new search dialog instead of
      displaying results within the docs page itself
    
    Close #784
    
    BREAKING CHANGE:
    
    Search widget is deprecated and `content/home/search.md` should be
    removed
Commits on Nov 11, 2018
  1. refactor(js): shorten MathJax filename and minify + fingerprint assets

    gcushen committed Nov 11, 2018
    Remove fingerprinting from MathJax config JS to shorten its generated
    filename. Reduces chance of JS filenames becoming too long for user's OS
    to handle due to long Sha512 asset fingerprinting.
    
    Minifies and fingerprints Academic's own JS for faster loading and to
    prevent old versions getting cached by web browser.
    
    Refactors Algolia search JS into its own file.
    
    Close #768
    See #794
  2. Bump version

    gcushen committed Nov 11, 2018
  3. fix(search): add index page of docs to search index

    gcushen committed Nov 11, 2018
    Allows to search content on the main page of docs/tutorials/courses.
    
    Previously, all docs pages except the main page were indexed.
Commits on Nov 10, 2018
  1. feat(page): support preview_only in combination with header image

    gcushen committed Nov 10, 2018
    Enables use of featured image for thumbnails only with a full-width
    header image `[header]` shown on the page itself.
    
    See #728 (comment)
    See https://sourcethemes.com/academic/docs/managing-content/#featured-image
    See #728
Commits on Nov 5, 2018
Commits on Nov 4, 2018
  1. fix: feat(project): list associated posts

    gcushen committed Nov 4, 2018
    This commit fixes 3d9a127
    
    Fix #793
    See #767
  2. Bump version

    gcushen committed Nov 4, 2018
Commits on Nov 3, 2018
  1. feat: add `preview_only` option for featured image

    gcushen committed Nov 3, 2018
    Add `preview_only = true` under `[image]` in a page's front matter to
    only show featured image in page previews and not on the page itself.
    
    Example: https://raw.githubusercontent.com/gcushen/hugo-academic/master/exampleSite/content/post/getting-started/index.md
    
    Close #789
    See #728
  2. feat(shortcodes): add support for image gallery in page bundle

    gcushen committed Nov 3, 2018
    To use:
    
    1. Create a gallery album folder in page bundle
    2. Add images to album folder
    3. Paste `{{< gallery album="<ALBUM FOLDER>" >}}` in your page content
    
    Close #786
  3. feat(project): list associated posts

    gcushen committed Nov 3, 2018
    Close #767
  4. feat: Add support for icons in `url_custom`

    gcushen committed Nov 3, 2018
    Close #787
    Close #326
  5. feat(project): add showcase mode and revert card view to resized images

    gcushen committed Nov 3, 2018
    * add project showcase layout, set `view = 2` in `projects.md` to use
    * revert card view to use resized images rather than cropped images
    * fix project filters for tags with non-ASCII (i18n) characters
    * add single column wide layout for project widget, to use set
      `widget_layout` in `projects.md`
    * add `flip_alt_rows` widget option to flip alternate rows in showcase
      mode
    * `url_` link buttons can now be added for projects
    * all link buttons now appear in page header rather than under a 'links'
      section within the page
    * Markdown slides can now be linked from any page by using new `slides`
      option
    * Isotope JS is now only activated when required (i.e. when using card
      view or when filters are defined)
    * `links` translation removed from i18n
    * consolidate talk, pub., and new project links files into new single
      `page_links.html` for all pages
    * move project widget layouts to their own files
    
    Close #764
    Close #785
    Close #776
    Close #645
    Close #326
    
    BREAKING CHANGE:
    
    CSS class names of project tags are now prefixed with `js-id-` to
    namespace them and prevent clashes with existing CSS classes.
    
    Migrate any filter `tag`s in `projects.md` that are prefixed `.` to the
    new `.js-id-` prefix.
  6. feat(widgets): do not require email if using Netlify contact form

    gcushen committed Nov 3, 2018
    Netlify routes messages from contact form to its admin panel, so no
    email address is required.
    
    By not requiring email in this case, it is not revealed to any spam bots
    which might try to scrape a website's public Git repository.
    
    Close #775
  7. chore: require Hugo v0.50+

    gcushen committed Nov 3, 2018
    Hugo v0.50 fixes bug with using `hugo new` to create new pages
    
    See #732
Commits on Nov 2, 2018
  1. docs: add Patreon link

    gcushen committed Nov 2, 2018
Commits on Oct 28, 2018
Commits on Oct 27, 2018
  1. docs: update screenshot

    gcushen committed Oct 27, 2018
  2. refactor(js): use relative URL for Mathjax config JS

    gcushen committed Oct 27, 2018
    Works around potential multi-host asset Permalink bug in Hugo.
    
    See #751
    Close #757
Commits on Oct 25, 2018
  1. feat(profile): support [[params.social]] links to homepage sections

    gcushen committed Oct 25, 2018
    Enables using email icon to link to contact form.
    
    Close #754
  2. fix(js): linking to a homepage section from another page

    gcushen committed Oct 25, 2018
    Links to a homepage section from another page could scroll to the wrong
    location if the linked section occurred below a project widget.
    
    Cause: did not take into account dynamically loaded project images.
    
    See #754
Commits on Oct 21, 2018
  1. Bump version

    gcushen committed Oct 21, 2018