Skip to content

Commit dfd0cac

Browse files
authored
Update README.md
1 parent 9752474 commit dfd0cac

File tree

1 file changed

+0
-157
lines changed

1 file changed

+0
-157
lines changed

README.md

-157
Original file line numberDiff line numberDiff line change
@@ -174,160 +174,3 @@ rodriguez2018mutode
174174
2. If the bibtex has the keyworks tag and its content its to long its better to remove it because bibtex link in webpage generates a div whose height is based on the number of lines of the bibtex, if the keywords are too long the layout breaks.
175175

176176
The filter over the publications is done in the ```publications.html``` file. In case you want to change something.
177-
178-
---
179-
## **Code**
180-
---
181-
182-
183-
If you want to change the template that
184-
185-
186-
187-
188-
189-
190-
191-
192-
193-
194-
195-
196-
197-
198-
199-
200-
201-
202-
203-
204-
205-
206-
207-
208-
209-
Research Group Web Site Template
210-
================================
211-
212-
This is a [Jekyll][]-based Web site intended for research groups. Your group should be able to get up and running with minimal fuss.
213-
214-
<p align="center">
215-
<img src="screenshot.png" width="387" height="225" alt="screenshot of the template">
216-
</p>
217-
218-
This project originated at the University of Washington. You can see the machinery working live at [our site][sampa].
219-
220-
This work is licensed under a [Creative Commons Attribution-NonCommercial 4.0 International License][license].
221-
222-
[sampa]: http://sampa.cs.washington.edu/
223-
[license]: https://creativecommons.org/licenses/by-nc/4.0/
224-
225-
226-
Features
227-
--------
228-
229-
* Thanks to [Jekyll][], content is just text files. So even faculty should be able to figure it out.
230-
* Publications list generated from BibTeX.
231-
* Personnel list. Organize your professors, students, staff, and alumni.
232-
* Combined news stream and blog posts.
233-
* Easily extensible navigation bar.
234-
* Responsive (mobile-ready) design based on [Bootstrap][].
235-
236-
[Bootstrap]: http://getbootstrap.com/
237-
238-
239-
Setup
240-
-----
241-
242-
1. Install the dependencies. You will need [Python][], [bibble][] (`pip install bibble`), and [Jekyll][] (`gem install jekyll`).
243-
2. [Fork][] this repository on GitHub.
244-
3. Clone the fork to your own machine: `git clone [email protected]:yourgroup/research-group-web.git`.
245-
4. Add an "upstream" remote for the original repository so you can stay abreast of bugfixes: `git remote add upstream git://github.com/uwsampa/research-group-web.git`.
246-
5. Customize. Start with the `_config.yml` file, where you enter the name of the site and its URL.
247-
6. Type `make` to build the site and then run `make serve` to view your site.
248-
7. Keep adding content. See below for instructions for each of the various sections.
249-
8. Periodically pull from the upstream repository: `git pull upstream master`.
250-
251-
[Python]: https://www.python.org/
252-
[Fork]: https://github.com/uwsampa/research-group-web/fork
253-
254-
255-
Publication List
256-
----------------
257-
258-
The list of publications is in `bib/pubs.bib`. Typing `make` will generate `pubs.html`, which contains a pretty, sorted HTML-formatted list of papers. The public page, `publications.html`, also has a link to download the original BibTeX.
259-
260-
261-
News Items and Blog Posts
262-
-------------------------
263-
264-
For both long-form blog posts and short news updates, we use Jekyll's blogging system. To post a new item of either type, you create a file in the `_posts` directory using the naming convention `YYYY-MM-DD-title-for-url.md`. The date part of the filename always matters; the title part is currently only used for full blog posts (but is still required for news updates).
265-
266-
The file must begin with [YAML front matter][yfm]. For news updates, use this:
267-
268-
---
269-
` layout: post
270-
shortnews: true
271-
---
272-
273-
For full blog posts, use this format:
274-
275-
---
276-
layout: post
277-
title: "Some Great Title Here"
278-
---
279-
280-
And concoct a page title for your post. The body of the post goes after the `---` in either case.
281-
282-
You can also customize the icon that is displayed on the news feed. By default it's `newspaper-o`. We use icons from the [FontAwesome][fa] icon set.
283-
284-
[yfm]: http://jekyllrb.com/docs/frontmatter/
285-
[fa]: http://fontawesome.io/icons/
286-
287-
Projects
288-
--------
289-
290-
To create a project, just create a markdown file in the `_projects` folder. Here are the things you can put in the YAML frontmatter:
291-
292-
- `title:` The project title.
293-
- `notitle:` Set this to `true` if you don't want a title displayed on the project card. Optional.
294-
- `description:` The text shown in the project card. It supports markdown.
295-
- `people:` The people working on the project. This is a list of keys from the `_data/people.yml` file.
296-
- `layout: project` This sets the layout of the actual project page. It should be set to `project`.
297-
- `image:` The URL of an image for the project. This is shown on both the project page and the project card. Optional.
298-
- `last-updated:` Date in the format of `YYYY-MM-DD`. The project cards are sorted by this, most recent first.
299-
- `status: inactive` Set this to `inactive` if don't want the project to appear on the front page. Just ignore it otherwise.
300-
- `link:` Set this to an external URL if this project has a page somewhere else on the web. If you don't have a `link:`, then the content of this markdown file (below the YAML frontmatter) will be this project's page.
301-
- `no-link: true` Set this if you just don't want a project page for your project.
302-
303-
Personnel
304-
---------
305-
306-
People are listed in a [YAML][] file in `_data/people.yml`. You can list the name, link, bio, and role of each person. Roles (e.g., "Faculty", "Staff", and "Students") are defined in `_config.yml`.
307-
308-
[YAML]: https://en.wikipedia.org/wiki/YAML
309-
310-
311-
Building
312-
--------
313-
314-
The requirements for building the site are:
315-
316-
* [Jekyll][]: run `gem install jekyll`
317-
* [bibble][]: available on `pip`
318-
* ssh and rsync, only if you want to deploy directly.
319-
320-
`make` compiles the bibliography and the website content to the `_site`
321-
directory. To preview the site, run `jekyll serve`` and head to
322-
http://0.0.0.0:5000.
323-
324-
325-
Deploying to Your Sever
326-
-----------------------
327-
328-
To set up deployments, edit the Makefile and look for the lines where `HOST` and `DIR` are defined. Change these to the host where your HTML files should be copied to.
329-
330-
To upload a new version of the site via rsync over ssh, type `make deploy`. A web hook does this automatically when you push to GitHub. Be aware that the Makefile is configured to have rsync delete stray files from the destination directory.
331-
332-
[Jekyll]: http://jekyllrb.com/
333-
[bibble]: https://github.com/sampsyo/bibble/

0 commit comments

Comments
 (0)